Commit graph

543 commits

Author SHA1 Message Date
xtremxpert
9503f1febd bemade_purchase_warn_supplier_overdue 2024-10-04 12:02:28 -04:00
Marc Durepos
48aae5aa69 use Markup instead of body_is_html=True 2024-10-03 10:45:20 +02:00
Marc Durepos
bead0deecd fsm_equipment: store is_service_site field 2024-10-03 10:30:09 +02:00
Marc Durepos
8f3c836a32 hide equipment tab for site contacts 2024-10-02 12:08:40 +02:00
Marc Durepos
188f7afbd1 bemade_fsm: improve visibility of pages on partners based on is_service_site logic 2024-10-02 09:57:50 +02:00
Marc Durepos
306ffae80b make sure html comments are posted with body_is_html=True 2024-09-30 16:24:15 -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
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
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
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
Marc Durepos
55ba8ca58b fix bemade_fsm is_site_contact 2024-06-19 09:47:49 -04:00
Marc Durepos
8aec1c4c04 fix bemade_fsm is_site_contact 2024-06-19 09:42:17 -04:00
Marc Durepos
18469a0c26 fix bemade_fsm is_site_contact 2024-06-19 09:36:57 -04:00
Marc Durepos
a8eb44a83e new module stock_valuation_location 2024-06-17 20:10:55 -04:00
Marc Durepos
317b3f5bc4 new module improved_mo_origin 2024-06-17 17:42:37 -04:00