Commit graph

129 commits

Author SHA1 Message Date
Marc Durepos
f157ba3d9b bemade_fsm: Task naming modified to shorten child task names.
Fixes Dur-Pro/bemade-addons#92
2023-09-18 14:14:16 -04:00
Marc Durepos
bf45e250a2 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-09-18 14:14:16 -04:00
Marc Durepos
0980f6fbb3 bemade_fsm: Marking visit task done completes its descendants.
Re: Dur-Pro/bemade-addons#93
2023-09-18 14:14:16 -04:00
Marc Durepos
c966af3343 bemade_fsm: Explicitly set user_ids=False on visit task creation. Fixes Dur-Pro/bemade-addons#90 2023-09-18 14:14:16 -04:00
Marc Durepos
9850b9115c bemade_fsm: Due date and initially planned hours on SO confirmation.
Fixes Dur-Pro/bemade-addons#86 and Dur-Pro/bemade-addons87
2023-09-18 14:14:16 -04:00
Marc Durepos
83b002e41c bemade_fsm: updates to qweb for pdf of work orders. 2023-09-18 14:14:16 -04:00
Marc Durepos
b367169579 bemade_fsm: updates to PDF for work orders. 2023-09-18 14:14:16 -04:00
Marc Durepos
70d8893178 bemade_fsm: added is_complete to tasks for easier PDF generation. 2023-09-18 14:14:16 -04:00
Marc Durepos
b787f81325 bemade_fsm: Add the beginning of the PDF report for service tasks. 2023-09-18 14:14:16 -04:00
Marc Durepos
29862ccc63 bemade_fsm: remove view override while Odoo get my JS fix onto servers. 2023-09-18 14:14:16 -04:00
Marc Durepos
0462256add bemade_fsm: many upgrades including better calendar view 2023-09-18 14:14:16 -04:00
Marc Durepos
9924f89508 bemade_fsm: updated data to make new stages appear in the FSM project 2023-09-18 14:14:16 -04:00
Marc Durepos
846df53468 bemade_planning_travel: new module begun for planning travel 2023-09-18 14:14:16 -04:00
Marc Durepos
fde8cea071 bemade_fsm: fix in res_partner.py for pad field in domain. 2023-09-18 14:14:16 -04:00
Marc Durepos
dea9d8f54e bemade_fsm: data added for stages and equipment tags. 2023-09-18 14:14:16 -04:00
Marc Durepos
0a7736e55a bemade_fsm: make project.task.allow_billable store=True to un-break Odoo tests. 2023-09-18 14:14:16 -04:00
Marc Durepos
d9595f028c bemade_fsm: Update to ir.model.access.csv to fix duplicate insert. 2023-09-18 14:14:16 -04:00
Marc Durepos
7cadd52fc6 bemade_fsm: tie in with sale_planning to plan SO lines based on task templates. 2023-09-18 14:14:16 -04:00
Marc Durepos
f6ff61eb39 bemade_geo_distance moved to bemade_geo_routing. Spawned new module bemade_planning_travel. 2023-09-18 14:14:16 -04:00
Marc Durepos
cb5a3acace bemade_geo_distance: fix to public method signature in base.geo_router 2023-09-18 14:14:16 -04:00
Marc Durepos
8fa832ccac bemade_geo_distance: new module for getting driving distance and time from one partner to another. 2023-09-18 14:14:16 -04:00
Marc Durepos
a2d9f37ef2 bemade_fsm: Added logic to use the planned hours from task templates on sale order lines (for planning purposes). Re #11. 2023-09-18 14:14:16 -04:00
Marc Durepos
37aea5c181 bemade_fsm: Visits on sales orders now group created tasks under a common parent. Fixes #72. 2023-09-18 14:14:16 -04:00
Marc Durepos
454656159c bemade_fsm: Equipment to sale order line connection made. Fixes #71. 2023-09-18 14:14:16 -04:00
Marc Durepos
f997215aca bemade_fsm: added many2many relationship to equipment from sale order lines. Set up summary and default equipment_ids from sale order. Ref #71. 2023-09-18 14:14:16 -04:00
Marc Durepos
d2bb29692f Refactored tests. 2023-09-18 14:14:16 -04:00
Marc Durepos
6ae87797b7 [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-09-18 14:14:16 -04:00
Marc Durepos
843cc938d1 bemade_fsm: Convert task_template.equipment_id to a Many2many field. Fixes #58. 2023-09-18 14:14:16 -04:00
Marc Durepos
2b85408e8d bemade_fsm: test refactoring complete (all passing). 2023-09-18 14:14:16 -04:00
Marc Durepos
3771c36899 bemade_fsm: major refactoring of unit tests completed. Integration tests need rework. 2023-09-18 14:14:16 -04:00
Marc Durepos
1e050584a5 bemade_fsm: major refactoring of tests in progress (broken). 2023-09-18 14:14:16 -04:00
Marc Durepos
2404c7afb2 bemade_fsm: add visits to sale orders. Fixes #66. 2023-09-18 14:14:16 -04:00
Marc Durepos
eea5b54a4f bemade_fsm: added a test for contact setting on SO shipping address change. Fixes #53. 2023-09-18 14:14:16 -04:00
Marc Durepos
6f37902f42 bemade_fsm: add equipment to Task Templates & flow down to tasks on SO. Fixes #50 2023-09-18 14:14:16 -04:00
Marc Durepos
5307ca8580 bemade_fsm: added test for setting proper contacts on SO based on shipping address. 2023-09-18 14:14:16 -04:00
Marc Durepos
281cf6a379 bemade_fsm: Updating SO delivery address correctly changes site contacts, work order recipients and equipment. Fixes #53. 2023-09-18 14:14:16 -04:00
Marc Durepos
8fc8c6ae26 Updated the naming of tasks for FSM. Fixes #54. 2023-09-18 14:14:16 -04:00
Marc Durepos
04c6801c42 bemade_fsm: Added default project stage data re #51. 2023-09-18 14:14:16 -04:00
Marc Durepos
a847f7e9ef 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-09-18 14:14:16 -04:00
Marc Durepos
74e95be281 bemade_fsm: Added logic to prevent child FSM tasks from trying to create sales orders. Fixes #5. 2023-09-18 14:14:16 -04:00
Marc Durepos
f6bd867ddb bemade_multiple_billing_contacts: incorporating views 2023-09-13 11:40:15 -04:00
Marc Durepos
8974d412de bemade_multiple_billing_contacts: incorporating views 2023-09-13 11:39:43 -04:00
Benoît Vézina
866f650ffe start for quote alternative 2023-08-03 10:49:14 -04:00
Benoît Vézina
9dda5851a3 add validation so not adding allready recipients 2023-08-03 10:48:21 -04:00
Marc Durepos
c21f565b3c bemade_mailcow_integration: Further fixing for alias name breaking discuss. 2023-08-02 14:56:02 -04:00
Marc Durepos
d2913c410d bemade_mailcow_integration: Fixes a bug where users can't create new 1-to-1 discussion channels. Fixes Dur-Pro/durpro#226. 2023-08-02 14:50:28 -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
Benoît Vézina
0cf3ded6fe move logic to _notify_compute_recipients not adding replacement as followers 2023-07-21 15:12:18 -04:00
Benoît Vézina
281eb2f13d fix most mailcow issue 2023-07-21 13:26:07 -04:00