Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.4.1
Category
Warehouse Management
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 07:38:21
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Simone Orsi, Sébastien Alix, Thierry Ducrest, Weblate, OCA Transbot, OCA-git-bot, oca-travis, Matthieu Méquignon
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_stock_available_to_promise_release_cutoff
Description

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
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 form Inherits base.view_partner_form
view_picking_cutoff_search stock.picking.cutoff.search stock.picking search Inherits stock.view_picking_internal_search
view_warehouse_inherit stock.warehouse.inherit stock.warehouse Inherits stock.view_warehouse
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (6)

New fields (1)
  • 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." required=True string='Delivery orders cutoff preference' args: [('warehouse_cutoff', 'Use global (warehouse) cutoff time'), ('partner_cutoff', "Use partner's cutoff time")]
Public methods (1)
  • get_cutoff_time(self)

New fields (1)
  • display_expected_date_ok Boolean
    compute='_compute_display_expected_date_ok' string='Display Expected Date Ok'
Public methods (1)
  • get_cutoff_time(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • 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
Public methods (0)

No public methods.

New fields (2)
  • apply_cutoff Boolean
  • tz Selection
    string='Timezone' args: _tz_get
Public methods (1)
  • get_cutoff_time(self)

New fields (1)
  • cutoff_time Float
Public methods (3)
  • float_to_time(self, value)
    @api.model
  • float_to_time_repr(self, value)
    @api.model
  • get_cutoff_time(self)