| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/sale-workflow |
| GIT | |
| GIT | https://github.com/OCA/sale-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/sale-workflow/tree/14.0/sale_delivery_date |
| VERSION | |
| VERSION | 1.1.0 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | Yes |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp SA |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp SA |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, OCA Transbot, Sébastien Alix, oca-travis, Weblate, OCA-git-bot, Matthieu Méquignon |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/sale-workflow |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:40:57 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/partner-contact: - partner_tz OCA/server-tools: - base_time_window OCA/stock-logistics-warehouse: - stock_warehouse_calendar OCA/stock-logistics-workflow: - stock_partner_delivery_window odoo/odoo: - delivery - sale_stock - sale - sales_team - base - base_setup - web - bus - web_tour - payment - account - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - utm - stock_account - stock - barcodes - sale_management |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
openupgradelib |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
report_delivery_document |
report_delivery_document | ir.ui.view | qweb | Inherits stock.report_delivery_document |
report_saleorder_document |
report_saleorder_document | ir.ui.view | qweb | Inherits sale.report_saleorder_document |
view_partner_form_inherit |
res.partner.form.inherit | res.partner | xpath | Inherits base.view_partner_form |
view_picking_cutoff_search |
stock.picking.cutoff.search | stock.picking | filter | Inherits stock.view_picking_internal_search |
view_warehouse_inherit |
stock.warehouse.inherit | stock.warehouse | field | Inherits stock.view_warehouse |
order_delivery_cutoff_preference
Selection
default='warehouse_cutoff'
help="Define the cutoff time for delivery orders:\n\n* Use global (warehouse) cutoff time: Delivery order for sale orders will be postponed to the next warehouse cutoff time\n* Use partner's cutoff time: Delivery order for sale orders will be postponed to the next partner's cutoff time\n\nExample: If cutoff is set to 09:00, any sale order confirmed before 09:00 will have its delivery order postponed to 09:00, and any sale order confirmed after 09:00 will have its delivery order postponed to 09:00 on the following day."
string='Delivery orders cutoff preference'
args: [('warehouse_cutoff', 'Use global (warehouse) cutoff time'), ('partner_cutoff', "Use partner's cutoff time")]
get_next_windows_start_datetime(self, from_datetime, to_datetime)
get_next_workdays_datetime(self, from_datetime, to_datetime)
next_delivery_window_start_datetime(self, from_date=None, timedelta_days=None)
display_expected_date_ok
Boolean
compute='_compute_display_expected_date_ok'
string='Display Expected Date Ok'
get_cutoff_time(self)
No new fields.
Public methods (0)No public methods.
cutoff_time_diff
Integer
compute='_compute_cutoff_time_diff'
search='_search_cutoff_time_diff'
store=False
cutoff_time_hms
Char
compute='_compute_cutoff_time_hms'
default='00:00'
store=True
expected_delivery_date
Datetime
compute='_compute_expected_delivery_date'
No public methods.
apply_cutoff
Boolean
No public methods.
cutoff_time
Float
tz
Selection
string='Timezone'
args: _tz_get
float_to_time(self, value)
float_to_time_repr(self, value)
get_cutoff_time(self)