Sale Partner Order Policy

sale_partner_order_policy
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_partner_order_policy
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)
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_tip
    - web_planner
    - procurement
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a new field on the partner form in the *Accouting* tab:
*Customer Create Invoice*. The value of this field will be used when you
create a new Sale Order with this partner as customer.

Beware that this module depends not only on *sale*, but also on *stock*.
As there is only one create invoice method when the *stock* module is not
installed, you should not install this module if the *stock* module is not
installed.

This module has been written by Alexis de Lattre
<alexis.delattre@akretion.com>
    

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_property_form sale_partner_order_policy.partner_form res.partner field Inherits account.view_partner_property_form
Models touched (2)

New fields (1)
  • customer_order_policy Selection
    company_dependent=True help='Select the default create invoice method for the sale orders of this customer' string='Customer Create Invoice' args: [('manual', 'On Demand'), ('picking', 'On Delivery Order'), ('prepaid', 'Before Delivery')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • onchange_partner_id(self, partner_id)
    @api.multi
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_partner_order_policy
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
COMMITTERSStéphane Bidoul, Alexis de Lattre, Yannick Vaucher, Alexandre Fayolle, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - web_kanban_sparkline
    - account_voucher
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - board
    - edi
    - email_template
    - procurement
    - stock_account
    - stock
    - web_kanban_gauge
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a new field on the partner form in the *Accouting* tab:
*Customer Create Invoice*. The value of this field will be used when you
create a new Sale Order with this partner as customer.

Beware that this module depends not only on *sale*, but also on *stock*.
As there is only one create invoice method when the *stock* module is not
installed, you should not install this module if the *stock* module is not
installed.

This module has been written by Alexis de Lattre
<alexis.delattre@akretion.com>
    

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_property_form sale_partner_order_policy.partner_form res.partner field Inherits account.view_partner_property_form
Models touched (2)

New fields (1)
  • customer_order_policy Selection
    company_dependent=True help='Select the default create invoice method for the sale orders of this customer' string='Customer Create Invoice' args: [('manual', 'On Demand'), ('picking', 'On Delivery Order'), ('prepaid', 'Before Delivery')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • onchange_partner_id(self, partner_id)
    @api.multi