Commit graph

131 commits

Author SHA1 Message Date
Marc Durepos
e74f09ef89 bemade_fsm: remove square brackets from equipment complete name if no tag. 2023-08-28 15:26:09 -04:00
Marc Durepos
3b7128f6f7 bemade_fsm: added work order number, significant mods to work order PDF. 2023-08-22 21:32:58 -04:00
Marc Durepos
729a373a10 bemade_fsm: further progress on work order PDF. 2023-08-22 16:04:22 -04:00
Marc Durepos
0db455a27c bemade_fsm: refactor work order report templates to break them into sub-templates for easier modification. 2023-08-21 15:24:54 -04:00
Marc Durepos
452d0ad610 bemade_fsm: cleaning up template files. 2023-08-04 15:38:44 -04:00
Marc Durepos
cbeb80029a bemade_fsm: Got the "Sign Report" functionality working.
Found which template to extend to inject our new work order template
into the front-end signature page. Now need to add the timesheets info
with task tree into our template and we should be good to go.

Fixes Dur-Pro/bemade-addons#94
2023-08-04 15:31:10 -04:00
Marc Durepos
960fb405a0 bemade_fsm: Work order report printing relevant SO lines summary. Re Dur-Pro/bemade-addons#94 2023-08-03 15:15:22 -04:00
Marc Durepos
84e9ef9a41 bemade_fsm: Task naming modified to shorten child task names.
Fixes Dur-Pro/bemade-addons#92
2023-08-03 11:13:28 -04:00
Marc Durepos
f4c281f900 bemade_fsm: Marking visit task done doesn't create SO line.
Added a test to confirm that marking the task associated to a visit
does not create an additional sale order line like it did before.

Fixes Dur-Pro/bemade-addons#93
2023-08-03 10:17:05 -04:00
Marc Durepos
47e4429aa2 bemade_fsm: Marking visit task done completes its descendants.
Re: Dur-Pro/bemade-addons#93
2023-08-03 10:13:43 -04:00
Marc Durepos
9e5296a90d bemade_fsm: Explicitly set user_ids=False on visit task creation. Fixes Dur-Pro/bemade-addons#90 2023-08-03 09:51:02 -04:00
Marc Durepos
134e3ee38d bemade_fsm: Due date and initially planned hours on SO confirmation.
Fixes Dur-Pro/bemade-addons#86 and Dur-Pro/bemade-addons87
2023-08-02 20:28:37 -04:00
Marc Durepos
6bc1f60b8d bemade_fsm: updates to qweb for pdf of work orders. 2023-08-02 12:24:26 -04:00
Marc Durepos
f24bf62c5d bemade_fsm: updates to PDF for work orders. 2023-08-02 09:26:52 -04:00
Marc Durepos
8771530abd bemade_fsm: added is_complete to tasks for easier PDF generation. 2023-07-31 15:51:13 -04:00
Marc Durepos
4f75473db3 Merge branch '15.0' into bemade_fsm-15.0.0.5 2023-07-31 07:08:04 -04:00
Marc Durepos
4fc12e13ac bemade_fsm: Add the beginning of the PDF report for service tasks. 2023-07-31 07:04:46 -04:00
Marc Durepos
08114ad4f7 bemade_fsm: remove view override while Odoo get my JS fix onto servers. 2023-07-28 19:05:59 -04:00
Marc Durepos
e5394babc3 bemade_fsm: many upgrades including better calendar view 2023-07-28 19:05:59 -04:00
Marc Durepos
c5fb6b608e bemade_fsm: updated data to make new stages appear in the FSM project 2023-07-28 19:05:59 -04:00
Marc Durepos
0e0be67d62 bemade_planning_travel: new module begun for planning travel 2023-07-28 19:05:59 -04:00
Marc Durepos
a6f192d81e bemade_fsm: fix in res_partner.py for pad field in domain. 2023-07-28 19:05:59 -04:00
Marc Durepos
aa9b8bf21c bemade_fsm: data added for stages and equipment tags. 2023-07-28 19:05:59 -04:00
Marc Durepos
9248af2aaa bemade_fsm: make project.task.allow_billable store=True to un-break Odoo tests. 2023-07-28 19:05:59 -04:00
Marc Durepos
ca54e5739c bemade_fsm: Update to ir.model.access.csv to fix duplicate insert. 2023-07-28 19:05:59 -04:00
Marc Durepos
b211679a09 bemade_fsm: tie in with sale_planning to plan SO lines based on task templates. 2023-07-28 19:05:59 -04:00
Marc Durepos
3054f0d3d9 bemade_geo_distance moved to bemade_geo_routing. Spawned new module bemade_planning_travel. 2023-07-28 19:05:59 -04:00
Marc Durepos
4e74d7a557 bemade_geo_distance: fix to public method signature in base.geo_router 2023-07-28 19:05:59 -04:00
Marc Durepos
fd314d2429 bemade_geo_distance: new module for getting driving distance and time from one partner to another. 2023-07-28 19:05:59 -04:00
Marc Durepos
6bd52ae118 bemade_fsm: Added logic to use the planned hours from task templates on sale order lines (for planning purposes). Re #11. 2023-07-28 19:05:59 -04:00
Marc Durepos
59fc723026 bemade_fsm: Visits on sales orders now group created tasks under a common parent. Fixes #72. 2023-07-28 19:05:59 -04:00
Marc Durepos
bcdf2bf860 bemade_fsm: Equipment to sale order line connection made. Fixes #71. 2023-07-28 19:05:59 -04:00
Marc Durepos
5bb1023847 bemade_fsm: added many2many relationship to equipment from sale order lines. Set up summary and default equipment_ids from sale order. Ref #71. 2023-07-28 19:05:59 -04:00
Marc Durepos
8233f678cf Refactored tests. 2023-07-28 19:05:59 -04:00
Marc Durepos
933092771e [REL] bemade_fsm 15.0.0.3
\# New Features

     - #67 - Add the ability to specify visit information on service SOs
     - #55 - Technician marking a task done no longer moves it to a
       "delivered" state.
     - #51 - Configure FSM project stages via the module data
     - #54 - Add SO number, customer name and SO line name to the calendar
       view
     - #50 - Add equipment field to task templates

    \# Bug Fixes

     - #5 - Marking subtasks done tried to create a new SO and confirm it.
       This no longer tries to create a new SO.
     - #53 - Site contacts not being auto-filled on sales order after
       selecting the right delivery address. Now made automatic as intended.
2023-07-28 19:05:59 -04:00
Marc Durepos
238cde41e6 bemade_fsm: Convert task_template.equipment_id to a Many2many field. Fixes #58. 2023-07-28 19:05:59 -04:00
Marc Durepos
7ea3458ba4 bemade_fsm: test refactoring complete (all passing). 2023-07-28 19:05:59 -04:00
Marc Durepos
48abe06a51 bemade_fsm: major refactoring of unit tests completed. Integration tests need rework. 2023-07-28 19:05:59 -04:00
Marc Durepos
4010fd57a2 bemade_fsm: major refactoring of tests in progress (broken). 2023-07-28 19:05:59 -04:00
Marc Durepos
9b9e3a51db bemade_fsm: add visits to sale orders. Fixes #66. 2023-07-28 19:05:59 -04:00
Marc Durepos
146426e10b bemade_fsm: added a test for contact setting on SO shipping address change. Fixes #53. 2023-07-28 19:05:59 -04:00
Marc Durepos
8e9bc22b8e bemade_fsm: add equipment to Task Templates & flow down to tasks on SO. Fixes #50 2023-07-28 19:05:59 -04:00
Marc Durepos
22939a9fb5 bemade_fsm: added test for setting proper contacts on SO based on shipping address. 2023-07-28 19:05:59 -04:00
Marc Durepos
90153da600 bemade_fsm: Updating SO delivery address correctly changes site contacts, work order recipients and equipment. Fixes #53. 2023-07-28 19:05:59 -04:00
Marc Durepos
fc74046d32 Updated the naming of tasks for FSM. Fixes #54. 2023-07-28 19:05:59 -04:00
Marc Durepos
39467f96e2 bemade_fsm: Added default project stage data re #51. 2023-07-28 19:05:59 -04:00
Marc Durepos
73f53dead9 bemade_fsm: Renamed button Mark Done on FSM tasks to Mark as Delivered. Wrote tests to address manager vs user cases for the button. Re #55. 2023-07-28 19:05:59 -04:00
Marc Durepos
c51d2f313c bemade_fsm: Added logic to prevent child FSM tasks from trying to create sales orders. Fixes #5. 2023-07-28 19:05:59 -04:00
Benoît Vézina
8201461c61 fix mailcow 2023-07-27 14:41:01 -04:00
Marc Durepos
12ed7b8ce5 Fix to bemade_time_off_follower. 2023-07-24 10:52:08 -04:00