Sale Cutoff Time Delivery

sale_cutoff_time_delivery
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/13.0/sale_cutoff_time_delivery
VERSION
VERSION 1.4.1
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSOCA Transbot, Sébastien Alix, Thierry Ducrest, oca-travis, Weblate, OCA-git-bot, Simone Orsi, Matthieu Méquignon
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_tz
odoo/odoo:
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - 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
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 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
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)