Commit graph

58 commits

Author SHA1 Message Date
Marc Durepos
4b2b53caa7 Revert "Clean up repository for apps.odoo.com sharing: Remove non-18.0 addons and document them in README.md"
Addons were butchered by this commit.

This reverts commit b33f25c688.
2025-05-29 21:35:47 -04:00
Marc Durepos
b33f25c688 Clean up repository for apps.odoo.com sharing: Remove non-18.0 addons and document them in README.md 2025-05-06 09:04:12 -04:00
Marc Durepos
a9199882cb [FIX] bemade_fsm: update partner when SO shipping location changes 2024-09-25 10:19:37 -04:00
Marc Durepos
64034e280c bemade_fsm: fix equipment name_search 2024-09-23 17:22:08 -04:00
Marc Durepos
382b573a86 separated equipment out of bemade_fsm into fsm_equipment module 2024-08-20 15:58:17 -04:00
Marc Durepos
3d8d648fb7 bemade_fsm: code style cleanup 2024-06-11 21:31:02 -04:00
Marc Durepos
ddce2423b8 bemade_fsm: fix incorrect settings wizard 2024-06-03 14:16:01 -04:00
Marc Durepos
dc04ab952b bemade_fsm: Changes to site and work order contact behaviour
1. Site contacts and work order contacts now get set on create and write
   of all FSM project tasks. If the task has no parent_id, it will try
   to set them from the sale order if it has one. Otherwise, they are
   simply inherited from the parent.
2. Changing the site or work order contact on a task no longer feeds
   back to the sale order.
3. Changing the site or work order contacts on a parent task propagates
   the change to its subtasks.
2024-05-02 10:01:44 -04:00
Marc Durepos
4faeb0523f Fixes to bemade_fsm to get all tests passing. 2024-04-01 14:10:56 -04:00
Marc Durepos
149a30f6f3 bemade_fsm: manually merge in 15.0 differences and fix 2 failing tests 2024-04-01 08:45:29 -04:00
Marc Durepos
bf98462a09 multiple fixes for bemade_fsm to help pass tests. 2024-03-28 15:36:17 -04:00
Marc Durepos
fc9e7e0728 Merge remote-tracking branch 'origin/15.0' into 16.0 2024-02-27 11:59:29 -05:00
Marc Durepos
8b1d9c0aa9 bemade_fsm: fixed tests on propagate assignment due to new default. 2024-02-05 12:36:19 -05:00
Marc Durepos
12f19c5fbc Merge remote-tracking branch 'origin/15.0' into 16.0 2024-02-05 12:34:36 -05:00
Marc Durepos
96712b257f bemade_fsm: bug fix for equipment complete_name 2024-01-17 14:59:03 -05:00
Marc Durepos
3c15d6a5e2 [FIX] bemade_fsm: propagate assignment checkbox on tasks
Fixes a problem where the propagate assignment checkbox on project
tasks was not effectively propagating task assignment to descendants.

Also added some intelligence around checking / unchecking the box such
that the setting change propagates to children. This allows for
interesting configurations for assignment propagation, such as limiting
propagation only to one level or only starting it at a given level of
subtasks.
2024-01-10 09:51:06 -05:00
Marc Durepos
92c6c81807 bemade_fsm: fixed tests on propagate assignment due to new default. 2023-12-19 19:09:47 -05:00
Marc Durepos
6d167a4cc1 forward port 15.0 into 16.0 2023-12-19 16:13:45 -05:00
Marc Durepos
74ec46382a bemade_fsm: Propagation of task assignee to subtasks (optional). 2023-12-05 15:01:27 -05:00
Marc Durepos
8af9704b67 bemade_fsm: work for creating tasks directly from templates. 2023-12-05 06:59:51 -05:00
Marc Durepos
81624ea26c bemade_fsm: all tests passing for 16.0
- Got rid of planned_date_begin and planned_date_end fields. Commented
   out all related code for now. These were fields pending actual
   feature development anyway.
 - Added a product cateogory with income account and expense account to
   the _generate_product common test method. This fixes an error where
   Odoo complained about needing a due date for lines with account type
   = 'asset_receivable'.
 - Rewrote and refactored Task.action_fsm_validate to have it match with
   code from industry_fsm in 16.0.

NOTE: This change depends on code pushed in:
 - sale_workflow [16.0 ba7402471]
 - odoo_addons [16.0 766cd78]
 - PurchasedAddons [16.0 e5e9b7b]
2023-11-29 20:45:09 -05:00
Marc Durepos
23d7d34e71 Forward-port '15.0' into 16.0 2023-11-29 11:29:35 -05:00
Marc Durepos
87f9d59dc0 bemade_fsm 15.0.1.0.2 - add visits to FSM orders when missing
All sale orders containing a line that will produce an FSM task,
i.e. lines that are linked to a product of type service and with
service_tracking set to task_global_project, will be processed
to make sure that all such lines fall under a service visit. If
a visit already exists on the SO but lines are not covered by it,
the visit will be promoted to be the top item on the order before
confirmation. Otherwise, a default visit will be added to the top
of the order prior to proceeding with confirmation.
2023-11-23 16:18:42 -05:00
Marc Durepos
32def36af0 bemade_fsm: copying sale order now copies visits properly. 2023-11-21 12:24:52 -05:00
Marc Durepos
8b8250ffbb bemade_fsm: completing an FSM tasks completes all its descendants as well. 2023-11-21 12:24:52 -05:00
Marc Durepos
0ddb7c8160 bemade_fsm: fix visit naming on tasks 2023-11-21 12:24:52 -05:00
Marc Durepos
7e3d5663aa Added a test to bemade_fsm. 2023-11-21 12:23:39 -05:00
Benoît Vézina
fb301db2b3 for migration 2023-11-16 09:01:22 -05:00
Marc Durepos
cf89585fae bemade_fsm: added a test for task template descriptions. Added description to subtask tree on task form view for easier editing by technicians. 2023-10-02 16:27:56 -04:00
Marc Durepos
02f380dc91 bemade_fsm: Release 15.0.1 (beta)
* Added translations for French
 * Removed broken test tours (low value tests, high maintenance cost)
 * Updated version in manifest
2023-09-18 14:14:16 -04:00
Marc Durepos
853862cde1 bemade_fsm: Improved task naming. Fixes Dur-Pro/bemade-addons#89. 2023-09-18 14:14:16 -04:00
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
0462256add bemade_fsm: many upgrades including better calendar view 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
d2bb29692f Refactored tests. 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