Marc Durepos
bb9ad5afbe
fsm_equipment: consolidate components into a parent-child relationship in equipment
2024-10-24 15:05:17 -04:00
Marc Durepos
0a6f048708
warnings cleanup and bug fixes for equipment & applications
2024-10-17 15:57:35 -04:00
Marc Durepos
87a1cb8860
Major changes for applications and equipment.
...
Add the notion of application specification keys to allow administrators
to specify the names of specification items that can be used on an
application. This aims to homogenize specifications and to later provide
a sort of checklist when creating a new application for a customer.
Added groups for partner applications (user and admin). Administrators
have the right to create specification keys while users can only read
them (and use them to create specifications on an application).
Various view improvements across the affected modules.
2024-10-17 15:28:07 -04:00
Marc Durepos
c304035edd
customer_applications: basic views are up
2024-10-17 12:07:34 -04:00
Marc Durepos
cf7a59ad98
[ADD] Introduce client applications
...
- Created models for client applications, application specifications and
application types.
- Created a small technical module for adding a self-incrementing
sequence field to other models. See incrementing_sequence_mixin.
2024-10-16 07:10:16 -04:00
Marc Durepos
947b03e125
caldav_sync: fix error when multiple organizer partner matches found
2024-10-09 08:53:49 -04:00
Marc Durepos
0a4a991b32
fixes for caldav_sync
2024-10-09 08:45:31 -04:00
Marc Durepos
c2e3a34d4f
caldav_sync: major rework.
...
- Refactoring
- New test cases (lots of them)
- A bunch of bug fixes based on test case executions
2024-10-07 17:14:18 -04:00
Marc Durepos
786b501c58
bemade_purchase_warn_supplier_overdue: refactoring and tests passing
2024-10-07 09:53:58 -04:00
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