Commit graph

604 commits

Author SHA1 Message Date
Marc Durepos
82c214b644 fix error in res.users._inverse_accessible_team_ids 2024-09-27 13:32:04 -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
4e091d3f63 fix for compute_accessible_team_ids on users 2024-09-24 09:47:26 -04:00
Marc Durepos
64034e280c bemade_fsm: fix equipment name_search 2024-09-23 17:22:08 -04:00
Marc Durepos
017bde45dd [FIX] bemade_time_off_follower: validation error
Fixes a validation error that occurred when the alternate follower was
already in the list of recipients for the mail.thread.
2024-09-20 10:14:57 -04:00
Marc Durepos
626d4c5dc2 add more tests for bemade_vendor_pricelist to get coverage up 2024-09-19 10:58:14 -04:00
Marc Durepos
5f6fb6002a bemade_margin_vendor_pricelist: Fix division by zero
Added tests and fixed an edge case where computing the gross profit
resulted in a division by zero. This happened in production with a zero
ordered quantity on a sales order line and a negative product
availability value.

Also added some test cases to ensure that the calculations for GP and GP
% are correct across logically different cases.
2024-09-19 09:52:57 -04:00
Marc Durepos
75ed4642c6 fix tests, security and post-migration 2024-09-18 15:40:45 -04:00
Marc Durepos
1ab1d00cab fix sudo issues around patient follower updating 2024-09-18 14:38:34 -04:00
Marc Durepos
64db9a1176 fix patient injury rights 2024-09-18 14:35:51 -04:00
Marc Durepos
9ed035a938 attempted fix for access rights issues. 2024-09-18 14:18:31 -04:00
Marc Durepos
af3fa7cda2 Merge commit '1a042a72' into 17.0 2024-09-06 08:28:44 -04:00
Marc Durepos
1a042a720f bemade_fsm, fsm_equipment: fixes #109
Updated report template to use display_name and converted the
_compute_complete_name function to _compute_display_name in
fsm.equipment model.
2024-09-06 08:27:31 -04:00
Marc Durepos
aacc6b27b4 caldav_sync: fixes #108, warning on invalid operator.
Add a type check to the values being compared when iterating over
current and changed values in a calendar event. Also, rewrite to use
dictionary comprehension for readability.
2024-09-05 20:37:50 -04:00
Marc Durepos
00eb20496c caldav_sync: implement model_create_multi in calendar event 2024-09-05 20:23:39 -04:00
Marc Durepos
933c56f8fd another fix to unhashable type list re #107 2024-09-05 19:55:18 -04:00
Marc Durepos
27250e1fe5 Should be a fix re #107 2024-09-05 17:20:36 -04:00
Marc Durepos
70e857c4bb another fix to unhashable type list re PYTHON-ODOO-BEMADE-J 2024-09-05 17:17:16 -04:00
Marc Durepos
4b297cd54b caldav_sync: fix unhashable list error, warning on password field attribute 2024-09-05 17:01:32 -04:00
Marc Durepos
75e986a4a2 bemade_sport_clinic: improve facility for deactivating team staff 2024-09-05 18:41:51 +00:00
Marc Durepos
c9690d46b1 updates for followers 2024-09-05 18:41:51 +00:00
Marc Durepos
eda7f32c7a added tests and fixed code for patient and injury follower logic 2024-09-05 18:41:42 +00:00
Marc Durepos
03227bb5f4 add logic for computing followers when team staff changes 2024-09-05 18:39:35 +00:00
Marc Durepos
e3198168c1 bemade_sports_clinic: add tracking for injury deletion and creation. Update translations. 2024-09-05 14:24:49 -04:00
Marc Durepos
0165e5e0c5 Fix bemade_fsm reports referring to partner_location_id and pid_tag 2024-09-04 09:24:35 -04:00
Marc Durepos
8007912746 fix to migration script for bemade_fsm moving equipment tags 2024-08-26 11:09:20 -04:00
Marc Durepos
eb6e46b5b6 fsm_equipment/bemade_fsm: fix migration script and move a relation to fsm_equipment 2024-08-22 20:38:07 -04:00
Marc Durepos
629eb83d57 Add the notion of components to fsm_equipment. 2024-08-22 15:10:47 -04:00
Marc Durepos
7ad197e639 complete migration script from bemade_fsm.equipment* to fsm_equipment 2024-08-21 13:52:35 -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
d94fabf8ba new module to hide draft SO details on the portal 2024-08-15 10:46:54 -04:00
Marc Durepos
78029a6944 confirm_many2one_create: fix simple JS bug 2024-08-02 14:55:11 -04:00
Marc Durepos
8e5185a80f [ADD] new module confirm_many2one_create
Pure JS module to override the behaviour of Many2One fields, causing
them to open a confirmation dialog when the user selects the "Create"
option from the autocomplete list of a Many2One field with quick create
enabled.
2024-08-02 14:41:56 -04:00
Marc Durepos
5a53548693 time_off_follower: fix a bug due to badly named method override + add test 2024-07-31 15:28:40 -04:00
Marc Durepos
ead9bc6520 account_credit_hold: fix a bug where the hold isn't lifted upon payment registration 2024-07-30 15:53:15 -04:00
XtremXpert
a3c74ef77a fix warning 2024-07-23 08:30:05 -04:00
Marc Durepos
e9d577b9a5 add pre-commit configs 2024-07-05 10:10:03 -04:00
Marc Durepos
4e4068446c caldav_sync: fix a bug where deleting an event fails to remove it from iCloud calendars. 2024-07-05 09:04:51 -04:00
Marc Durepos
8d9fc7db46 impersonate_user: add unimpersonate systray button 2024-07-04 17:20:42 -04:00
Marc Durepos
aed5ad9aed impersonate_user: new module 2024-07-03 16:56:00 -04:00
Marc Durepos
3fd59f5ba1 bemade_fsm: fix bug when partner_id is not set 2024-07-03 15:15:16 -04:00
Marc Durepos
ec2c328f2c improved_mo_origin: add source SO to shop floor view 2024-07-03 11:01:30 -04:00
Marc Durepos
acf26d7c36 add customer name and upstream production to work orders. Add customer name to shop floor view on MOs. 2024-07-03 08:54:16 -04:00
Marc Durepos
ddaee59a59 add customer name and upstream production to work orders. Add customer name to shop floor view on MOs. 2024-07-03 08:45:05 -04:00
Marc Durepos
afb4d84e8f [FIX] bemade_so_followers_to_picking: re-indent method to fix module. 2024-06-28 13:25:19 -04:00
Marc Durepos
838a4e12ef caldav_sync: fix a dictionary update error during sync.
Exception handling was also changed to only log the errors rather
than to raise them to the user, since the sync is run as a cron
and that we want other calendars to be polled if one fails.
2024-06-23 07:16:21 -04:00
Marc Durepos
92056ac236 caldav_sync: Added a note to the index.html page about app-specific passwords. 2024-06-22 09:46:08 -04:00
Marc Durepos
cd03903ea4 caldav_sync: Added some error handling for almost-correct calendar URLs. 2024-06-22 09:43:47 -04:00
Marc Durepos
8410bb64d7 bemade_fsm: fix new task from template wizard 2024-06-20 12:54:05 -04:00
Marc Durepos
6a1cfa2ec9 bemade_fsm: make client follow from task template, default to parent's client if not set 2024-06-19 10:08:50 -04:00