Repository
odoo/odoo · module folder
Module version
1.1
Category
Sales
Folder size
0.24 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://www.odoo.com/page/crm
Last tracking update
2026-08-07 05:03:20
Authors
Maintainers
None
Committers
Christophe Simonis, Martin Trigaux, Odoo Translation Bot, qdp-odoo, GitHub, Yannick Tivisse, Odoo Online, fwi-odoo, len-odoo, amoyaux
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
mrp_sale_info, sale_order_line_date
Description
Add additional date information to the sales order.
===================================================

You can add the following additional dates to a sales order:
------------------------------------------------------------
    * Requested Date (will be used as the expected date on pickings)
    * Commitment Date
    * Effective Date

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_order_form_inherit_sale_stock_inherit_sale_order_dates sale.order.form.inherit sale.order form Inherits sale_stock.view_order_form_inherit_sale_stock
view_order_tree_date sale.order tree Inherits sale.view_order_tree
view_quotation_tree_date sale.order tree Inherits sale.view_quotation_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (3)
  • commitment_date Datetime
    compute='_compute_commitment_date' help='Date by which the products are sure to be delivered. This is a date that you can promise to the customer, based on the Product Lead Times.' store=True string='Commitment Date'
  • effective_date Date
    compute='_compute_picking_ids' help='Date on which the first Delivery Order was created.' store=True string='Effective Date'
  • requested_date Datetime
    copy=False help="Date by which the customer has requested the items to be delivered.\nWhen this Order gets confirmed, the Delivery Order's expected date will be computed based on this date and the Company's Security Delay.\nLeave this field empty if you want the Delivery Order to be processed as soon as possible. In that case the expected date will be computed using the default method: based on the Product Lead Times and the Company's Security Delay." readonly=True states={'draft': [('readonly', False)], 'sent': [('readonly', False)]} args: 'Requested Date'
Public methods (1)
  • onchange_requested_date(self)
    @api.onchange('requested_date')
    Warn if the requested dates is sooner than the commitment date

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…