Stock Warehouse Calendar (reordering rules)
stock_warehouse_calendar_orderpoint · OCA/stock-logistics-warehouse
Health
47/100
poor
-
Security25/25No findings
-
Activity12/25Last human commit 19 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
2 migration notes
5 models
4 views
0 HTTP endpoints
Migration considerations
res_config_settings_view_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_warehouse— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings.view.form.inherit.stock_warehouse_calendar_orderpoint | res.config.settings | calendar | Inherits stock.res_config_settings_view_form |
view_warehouse |
stock.warehouse.form.inherit | stock.warehouse | form | Inherits stock_warehouse_calendar.view_warehouse |
view_warehouse_orderpoint_tree_editable |
stock.warehouse.orderpoint.tree.editable.inherit | stock.warehouse.orderpoint | tree | Inherits stock.view_warehouse_orderpoint_tree_editable |
view_warehouse_orderpoint_tree_editable_config |
stock.warehouse.orderpoint.tree.editable.config.inherit | stock.warehouse.orderpoint | tree | Inherits stock.view_warehouse_orderpoint_tree_editable_config |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (2)
-
orderpoint_calendar_idMany2one → resource.calendarcomodel_name='resource.calendar'help='Calendar used to compute the lead date of reordering rules\nThis value will be used as default value for new warehouses linked to this company'string='Reordering Calendar' -
orderpoint_on_workday_policySelectiondefault='skip_to_first_workday'help='Policy to postpone the lead date to the first available workday:\n* skip to first workday: compute the date using lead delay days as solar days, then skip to the next workday if the result is not a workday (eg: run action on Friday with 2 days lead delay -> the result is Sunday -> skip to the first following workday, Monday)\n* skip non-workdays: compute the order date consuming lead delay days only on (eg: run action on Friday with 2 days lead delay -> skip Saturday and Sunday -> start consuming lead days on Monday as first lead day -> the result is Tuesday)\nThis value will be used as default value for new warehouses linked to this company'string='Reordering on Workday Policy' args: [('skip_to_first_workday', 'Skip to first workday'), ('skip_all_non_workdays', 'Skip non-workdays')]
No public methods.
New fields (2)
-
orderpoint_calendar_idMany2onereadonly=Falserelated='company_id.orderpoint_calendar_id' -
orderpoint_on_workday_policySelectionreadonly=Falserelated='company_id.orderpoint_on_workday_policy'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
orderpoint_calendar_idMany2one → resource.calendarcomodel_name='resource.calendar'default=<expr>help='Calendar used to compute the lead date of reordering rules'string='Reordering Calendar' -
orderpoint_on_workday_policySelectiondefault=<expr>help='Policy to postpone the lead date to the first available workday:\n* skip to first workday: compute the date using lead delay days as solar days, then skip to the next workday if the result is not a workday (eg: run action on Friday with 2 days lead delay -> the result is Sunday -> skip to the first following workday, Monday)\n* skip non-workdays: compute the order date consuming lead delay days only on (eg: run action on Friday with 2 days lead delay -> skip Saturday and Sunday -> start consuming lead days on Monday as first lead day -> the result is Tuesday)'string='Reordering on Workday Policy' args: [('skip_to_first_workday', 'Skip to first workday'), ('skip_all_non_workdays', 'Skip non-workdays')]
-
create(self, vals)@api.model -
get_company_from_ctx(self)
New fields (0)
No new fields.
Public methods (0)No public methods.