Sale Start End Dates

sale_start_end_dates
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/18.0/sale_start_end_dates
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Sodexis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Sodexis
COMMITTERS
COMMITTERSAlexis de Lattre, Florian da Costa, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds the fields *Start Date* and *End Date* on sale order
lines (requied fields when the product has the *Must Have Start and End
Dates* property). You can also define a *Default Start Date* and
*Default End Date* on the sale order; when set, these dates will be used
by default on new sale order lines. Upon invoice creation, the values of
the start/end dates of the sale order line are copied to the start/end
dates of invoice lines.

This module is a technical module: it is designed to be used with other
modules such as the *sale_rental* module.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
sale_order_line_view_form_readonly sale.order.line field Inherits sale.sale_order_line_view_form_readonly
sale_report_view_tree sale.report field Inherits sale.sale_report_view_tree
view_order_form start.end.dates.view_order_form sale.order xpath Inherits sale.view_order_form
view_order_line_tree sale.order.line field Inherits sale.view_order_line_tree
Models touched (3)

New fields (2)
  • default_end_date Date
    compute='_compute_default_end_date' readonly=False store=True
  • default_start_date Date
    compute='_compute_default_start_date' readonly=False store=True
Public methods (0)

No public methods.

New fields (4)
  • end_date Date
    compute='_compute_end_date' readonly=False store=True
  • must_have_dates Boolean
    related='product_id.must_have_dates'
  • number_of_days Integer
    compute='_compute_number_of_days' inverse='_inverse_number_of_days' readonly=False store=True string='Number of Days'
  • start_date Date
    compute='_compute_start_date' readonly=False store=True
Public methods (0)

No public methods.

New fields (3)
  • end_date Date
    readonly=True
  • number_of_days Integer
    readonly=True
  • start_date Date
    readonly=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/17.0/sale_start_end_dates
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Sodexis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Sodexis
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds the fields *Start Date* and *End Date* on sale order
lines (requied fields when the product has the *Must Have Start and End
Dates* property). You can also define a *Default Start Date* and
*Default End Date* on the sale order; when set, these dates will be used
by default on new sale order lines. Upon invoice creation, the values of
the start/end dates of the sale order line are copied to the start/end
dates of invoice lines.

This module is a technical module: it is designed to be used with other
modules such as the *sale_rental* module.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form start.end.dates.view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • default_end_date Date
    compute='_compute_default_end_date' readonly=False store=True
  • default_start_date Date
    compute='_compute_default_start_date' readonly=False store=True
Public methods (0)

No public methods.

New fields (4)
  • end_date Date
    compute='_compute_end_date' readonly=False store=True
  • must_have_dates Boolean
    related='product_id.must_have_dates'
  • number_of_days Integer
    compute='_compute_number_of_days' inverse='_inverse_number_of_days' readonly=False store=True string='Number of Days'
  • start_date Date
    compute='_compute_start_date' readonly=False store=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/16.0/sale_start_end_dates
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Sodexis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Sodexis
COMMITTERS
COMMITTERSAlexis de Lattre, GitHub, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:45
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form start.end.dates.view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • default_end_date Date
    compute='_compute_default_end_date' readonly=False store=True
  • default_start_date Date
    compute='_compute_default_start_date' readonly=False store=True
Public methods (0)

No public methods.

New fields (4)
  • end_date Date
    compute='_compute_end_date' states={'draft': [('readonly', False)], 'sent': [('readonly', False)]} store=True
  • must_have_dates Boolean
    related='product_id.must_have_dates'
  • number_of_days Integer
    compute='_compute_number_of_days' inverse='_inverse_number_of_days' readonly=False store=True string='Number of Days'
  • start_date Date
    compute='_compute_start_date' states={'draft': [('readonly', False)], 'sent': [('readonly', False)]} store=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/15.0/sale_start_end_dates
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Sodexis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Sodexis
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci, CarlosRoca13
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:33
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale
    - sales_team
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form start.end.dates.view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • default_end_date Date
  • default_start_date Date
Public methods (2)
  • default_end_date_change(self)
    @api.onchange('default_end_date')
  • default_start_date_change(self)
    @api.onchange('default_start_date')

New fields (4)
  • end_date Date
    readonly=True states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}
  • must_have_dates Boolean
    related='product_id.must_have_dates'
  • number_of_days Integer
    compute='_compute_number_of_days' inverse='_inverse_number_of_days' readonly=False store=True
  • start_date Date
    readonly=True states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}
Public methods (3)
  • end_date_change(self)
    @api.onchange('end_date')
  • start_date_change(self)
    @api.onchange('start_date')
  • start_end_dates_product_id_change(self)
    @api.onchange('product_id')
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/14.0/sale_start_end_dates
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Sodexis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Sodexis
COMMITTERS
COMMITTERSAlexis de Lattre, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Alessandro Uffreduzzi
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale
    - sales_team
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form start.end.dates.view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • default_end_date Date
    string='Default End Date'
  • default_start_date Date
    string='Default Start Date'
Public methods (2)
  • default_end_date_change(self)
    @api.onchange('default_end_date')
  • default_start_date_change(self)
    @api.onchange('default_start_date')

New fields (4)
  • end_date Date
    readonly=True states={'draft': [('readonly', False)]} string='End Date'
  • must_have_dates Boolean
    related='product_id.must_have_dates'
  • number_of_days Integer
    compute='_compute_number_of_days' inverse='_inverse_number_of_days' readonly=False store=True string='Number of Days'
  • start_date Date
    readonly=True states={'draft': [('readonly', False)]} string='Start Date'
Public methods (3)
  • end_date_change(self)
    @api.onchange('end_date')
  • start_date_change(self)
    @api.onchange('start_date')
  • start_end_dates_product_id_change(self)
    @api.onchange('product_id')
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/12.0/sale_start_end_dates
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Sodexis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Sodexis
COMMITTERS
COMMITTERSAlexandre Fayolle, eLBati, OCA Transbot, oca-travis, Weblate, OCA-git-bot, sergiocorato
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - sale
    - sales_team
    - payment
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form start.end.dates.view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • default_end_date Date
    string='Default End Date'
  • default_start_date Date
    string='Default Start Date'
Public methods (2)
  • default_end_date_change(self)
    @api.onchange('default_end_date')
  • default_start_date_change(self)
    @api.onchange('default_start_date')

New fields (4)
  • end_date Date
    readonly=True states={'draft': [('readonly', False)]} string='End Date'
  • must_have_dates Boolean
    related='product_id.must_have_dates'
  • number_of_days Integer
    compute='_compute_number_of_days' inverse='_inverse_number_of_days' readonly=False store=True string='Number of Days'
  • start_date Date
    readonly=True states={'draft': [('readonly', False)]} string='Start Date'
Public methods (3)
  • end_date_change(self)
    @api.onchange('end_date')
  • start_date_change(self)
    @api.onchange('start_date')
  • start_end_dates_product_id_change(self)
    @api.onchange('product_id')
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/11.0/sale_start_end_dates
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Sodexis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Sodexis
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
    - sale_management
    - sale
    - sales_team
    - account_invoicing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form start.end.dates.view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • default_end_date Date
    string='Default End Date'
  • default_start_date Date
    string='Default Start Date'
Public methods (2)
  • default_end_date_change(self)
    @api.onchange('default_end_date')
  • default_start_date_change(self)
    @api.onchange('default_start_date')

New fields (4)
  • end_date Date
    readonly=True states={'draft': [('readonly', False)]} string='End Date'
  • must_have_dates Boolean
    readonly=True related='product_id.must_have_dates'
  • number_of_days Integer
    string='Number of Days'
  • start_date Date
    readonly=True states={'draft': [('readonly', False)]} string='Start Date'
Public methods (4)
  • end_date_change(self)
    @api.onchange('end_date')
  • number_of_days_change(self)
    @api.onchange('number_of_days')
  • start_date_change(self)
    @api.onchange('start_date')
  • start_end_dates_product_id_change(self)
    @api.onchange('product_id')
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/10.0/sale_start_end_dates
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Sodexis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Sodexis
COMMITTERS
COMMITTERSPedro M. Baeza, Denis Roussel, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot, Dhinesh, Sodexis, Dhinesh
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - sale
    - sales_team
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form start.end.dates.view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • default_end_date Date
    string='Default End Date'
  • default_start_date Date
    string='Default Start Date'
Public methods (2)
  • default_end_date_change(self)
    @api.onchange('default_end_date')
  • default_start_date_change(self)
    @api.onchange('default_start_date')

New fields (4)
  • end_date Date
    readonly=True states={'draft': [('readonly', False)]} string='End Date'
  • must_have_dates Boolean
    readonly=True related='product_id.must_have_dates'
  • number_of_days Integer
    string='Number of Days'
  • start_date Date
    readonly=True states={'draft': [('readonly', False)]} string='Start Date'
Public methods (4)
  • end_date_change(self)
    @api.onchange('end_date')
  • number_of_days_change(self)
    @api.onchange('number_of_days')
  • start_date_change(self)
    @api.onchange('start_date')
  • start_end_dates_product_id_change(self)
    @api.onchange('product_id')
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/9.0/sale_start_end_dates
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_invoice_start_end_dates
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
    - sale
    - sales_team
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form start.end.dates.view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • default_end_date Date
    string='Default End Date'
  • default_start_date Date
    string='Default Start Date'
Public methods (2)
  • default_end_date_change(self)
    @api.onchange('default_end_date')
  • default_start_date_change(self)
    @api.onchange('default_start_date')

New fields (4)
  • end_date Date
    readonly=True states={'draft': [('readonly', False)]} string='End Date'
  • must_have_dates Boolean
    readonly=True related='product_id.must_have_dates'
  • number_of_days Integer
    string='Number of Days'
  • start_date Date
    readonly=True states={'draft': [('readonly', False)]} string='Start Date'
Public methods (4)
  • end_date_change(self)
    @api.onchange('end_date')
  • number_of_days_change(self)
    @api.onchange('number_of_days')
  • start_date_change(self)
    @api.onchange('start_date')
  • start_end_dates_product_id_change(self)
    @api.onchange('product_id')
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/8.0/sale_start_end_dates
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Yannick Vaucher, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, Matjaž Mozetič
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-closing:
    - account_cutoff_prepaid
    - account_cutoff_base
OCA/account-financial-tools:
    - account_reversal
OCA/server-tools:
    - web_context_tunnel
odoo/odoo:
    - account_accountant
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - sale
    - sales_team
    - web_kanban_sparkline
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_order_form start.end.dates.view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (2)

New fields (2)
  • default_end_date Date
    string='Default End Date'
  • default_start_date Date
    string='Default Start Date'
Public methods (2)
  • default_end_date_change(self)
    @api.onchange('default_end_date')
  • default_start_date_change(self)
    @api.onchange('default_start_date')

New fields (4)
  • end_date Date
    readonly=True states={'draft': [('readonly', False)]} string='End Date'
  • must_have_dates Boolean
    readonly=True states={'draft': [('readonly', False)]} string='Must Have Start and End Dates'
  • number_of_days Integer
    string='Number of Days'
  • start_date Date
    readonly=True states={'draft': [('readonly', False)]} string='Start Date'
Public methods (4)
  • end_date_change(self)
    @api.onchange('end_date')
  • number_of_days_change(self)
    @api.onchange('number_of_days')
  • product_id_change(self, pricelist, product, qty=0, uom=False, qty_uos=0, uos=False, name='', partner_id=False, lang=False, update_tax=True, date_order=False, packaging=False, fiscal_position=False, flag=False)
    @api.multi
  • start_date_change(self)
    @api.onchange('start_date')