Stock Warehouse Calendar (reordering rules)

stock_warehouse_calendar_orderpoint
REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_warehouse_calendar_orderpoint
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSFlorent Xicluna, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-warehouse:
    - stock_warehouse_calendar
odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.stock_warehouse_calendar_orderpoint res.config.settings div Inherits stock.res_config_settings_view_form
view_warehouse stock.warehouse.form.inherit stock.warehouse group Inherits stock_warehouse_calendar.view_warehouse
view_warehouse_orderpoint_tree_editable stock.warehouse.orderpoint.tree.editable.inherit stock.warehouse.orderpoint field Inherits stock.view_warehouse_orderpoint_tree_editable
view_warehouse_orderpoint_tree_editable_config stock.warehouse.orderpoint.tree.editable.config.inherit stock.warehouse.orderpoint field Inherits stock.view_warehouse_orderpoint_tree_editable_config
Models touched (5)

New fields (2)
  • orderpoint_calendar_id Many2one → resource.calendar
    comodel_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_policy Selection
    default='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')]
Public methods (0)

No public methods.

New fields (2)
  • orderpoint_calendar_id Many2one
    readonly=False related='company_id.orderpoint_calendar_id'
  • orderpoint_on_workday_policy Selection
    readonly=False related='company_id.orderpoint_on_workday_policy'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • orderpoint_calendar_id Many2one → resource.calendar
    comodel_name='resource.calendar' default=<expr> help='Calendar used to compute the lead date of reordering rules' string='Reordering Calendar'
  • orderpoint_on_workday_policy Selection
    default=<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')]
Public methods (2)
  • create(self, vals)
    @api.model
  • get_company_from_ctx(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.