| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/sale-workflow |
| GIT | |
| GIT | https://github.com/OCA/sale-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/sale-workflow/tree/18.0/sale_invoice_policy |
| VERSION | |
| VERSION | 1.1.0 |
| CATEGORY | |
| CATEGORY | Sales Management |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Jacques-Etienne Baudoux, Weblate, OCA-git-bot, oca-ci, Marie Lejeune |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/sale-workflow |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:11 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-tools: - base_partition odoo/odoo: - sale_stock - sale - sales_team - base - base_setup - web - bus - web_tour - html_editor - account_payment - account - onboarding - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - payment - utm - stock_account - stock - barcodes_gs1_nomenclature - barcodes |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
openupgradelib |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module adds an invoicing policy on sale order level in order to apply that invoicing policy on the whole sale order. That invoicing policy can take three values: - Products Invoicing Policy: The sale order will follow the standard behavior and apply the policy depending on products configurations. - Ordered Quantities: The sale order will invoice the ordered quantities. - Delivered Quantities: The sale order will invoice the delivered quantities. Following the chosen policy, the quantity to invoice and the amount to invoice on each line will be computed accordingly. You will be able also to define a default invoicing policy (globally per company) that can be different than the default invoicing policy for new products. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_order_view_form_inherit_abi_product |
sale.order.form (abi_sale_invoice_policy) | sale.order | field | Inherits sale.view_order_form |
view_sales_config |
sale settings | res.config.settings | xpath | Inherits sale.res_config_settings_view_form |
sale_default_invoice_policy
Selection
default='product'
help='This will be the default invoice policy for sale orders.'
required=True
args: [('product', 'Products Invoice Policy'), ('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
No public methods.
sale_default_invoice_policy
Selection
readonly=False
related='company_id.sale_default_invoice_policy'
No public methods.
invoice_policy
Selection
compute='_compute_invoice_policy'
help='Ordered Quantity: Invoice based on the quantity the customer ordered.\nDelivered Quantity: Invoiced based on the quantity the vendor delivered (time or deliveries).'
precompute=True
readonly=False
required=True
store=True
args: [('product', 'Products Invoice Policy'), ('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
No public methods.
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/sale-workflow |
| GIT | |
| GIT | https://github.com/OCA/sale-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/sale-workflow/tree/17.0/sale_invoice_policy |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Sales Management |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, chien |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/sale-workflow |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:05 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - sale_stock - sale - sales_team - base - base_setup - web - bus - web_tour - account_payment - account - onboarding - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - payment - utm - stock_account - stock - barcodes_gs1_nomenclature - barcodes |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This modules helps to get Invoicing Policy on Sale Order Level without breaking behaviour (as it is defined from \>= v10 on product level). |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_order_view_form_inherit_abi_product |
sale.order.form (abi_sale_invoice_policy) | sale.order | field | Inherits sale.view_order_form |
view_sales_config |
sale settings | res.config.settings | setting | Inherits sale.res_config_settings_view_form |
sale_invoice_policy_required
Boolean
help='This makes Invoice Policy required on Sale Orders'
get_values(self)
set_values(self)
invoice_policy
Selection
help='Ordered Quantity: Invoice based on the quantity the customer ordered.\nDelivered Quantity: Invoiced based on the quantity the vendor delivered (time or deliveries).'
readonly=True
args: [('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
invoice_policy_required
Boolean
compute='_compute_invoice_policy_required'
default=<expr>
default_get(self, fields_list)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/sale-workflow |
| GIT | |
| GIT | https://github.com/OCA/sale-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/sale-workflow/tree/16.0/sale_invoice_policy |
| VERSION | |
| VERSION | 3.0.0 |
| CATEGORY | |
| CATEGORY | Sales Management |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Denis Roussel, sergio-teruel, Weblate, OCA-git-bot, Luis J. Salvatierra, oca-ci, Ioan Galan (Studio73) |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/sale-workflow |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:45 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/server-tools: - base_partition odoo/odoo: - sale_stock - sale - sales_team - base - base_setup - web - bus - web_tour - account_payment - account - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - payment - utm - stock_account - stock - barcodes_gs1_nomenclature - barcodes |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
openupgradelib |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_order_view_form_inherit_abi_product |
sale.order.form (abi_sale_invoice_policy) | sale.order | field | Inherits sale.view_order_form |
view_sales_config |
sale settings | res.config.settings | xpath | Inherits sale.res_config_settings_view_form |
sale_default_invoice_policy
Selection
default='product'
help='This will be the default invoice policy for sale orders.'
required=True
args: [('product', 'Products Invoice Policy'), ('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
No public methods.
sale_default_invoice_policy
Selection
readonly=False
related='company_id.sale_default_invoice_policy'
No public methods.
invoice_policy
Selection
compute='_compute_invoice_policy'
help='Ordered Quantity: Invoice based on the quantity the customer ordered.\nDelivered Quantity: Invoiced based on the quantity the vendor delivered (time or deliveries). This applies for storable products only.'
precompute=True
readonly=False
required=True
states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}
store=True
args: [('product', 'Products Invoice Policy'), ('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
No public methods.
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/sale-workflow |
| GIT | |
| GIT | https://github.com/OCA/sale-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/sale-workflow/tree/15.0/sale_invoice_policy |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Sales Management |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, Weblate, OCA-git-bot, oca-ci, Maksym Yankin |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/sale-workflow |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:46:34 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - sale_stock - sale - sales_team - base - 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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_form_view_invoice_policy |
product.template.invoice.policy | product.template | field | Inherits sale.product_template_form_view_invoice_policy |
sale_order_view_form_inherit_abi_product |
sale.order.form (abi_sale_invoice_policy) | sale.order | field | Inherits sale.view_order_form |
view_sales_config |
sale settings | res.config.settings | xpath | Inherits sale.res_config_settings_view_form |
default_invoice_policy
Selection
default=<expr>
help='Ordered Quantity: Invoice based on the quantity the customer ordered.\nDelivered Quantity: Invoiced based on the quantity the vendor delivered (time or deliveries).'
string='Default Invoicing Policy'
args: [('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
invoice_policy
Selection
compute='_compute_invoice_policy'
inverse='_inverse_invoice_policy'
readonly=True
search='_search_invoice_policy'
store=False
No public methods.
sale_default_invoice_policy
Selection
readonly=True
related='default_invoice_policy'
string='Default Sale Invoice Policy'
sale_invoice_policy_required
Boolean
help='This makes Invoice Policy required on Sale Orders'
get_values(self)
set_values(self)
invoice_policy
Selection
help='Ordered Quantity: Invoice based on the quantity the customer ordered.\nDelivered Quantity: Invoiced based on the quantity the vendor delivered (time or deliveries).'
readonly=True
states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}
args: [('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
invoice_policy_required
Boolean
compute='_compute_invoice_policy_required'
default=<expr>
default_get(self, fields_list)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/sale-workflow |
| GIT | |
| GIT | https://github.com/OCA/sale-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/sale-workflow/tree/14.0/sale_invoice_policy |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Sales Management |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, Enrique Martín |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/sale-workflow |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:40:58 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - sale - sales_team - base - base_setup - web - bus - web_tour - payment - account - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - utm - sale_stock - stock_account - stock - barcodes |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_form_view_invoice_policy |
product.template.invoice.policy | product.template | field | Inherits sale.product_template_form_view_invoice_policy |
sale_order_view_form_inherit_sale_invoice_policy |
sale.order.form (sale_invoice_policy) | sale.order | field | Inherits sale.view_order_form |
default_invoice_policy
Selection
default=_default_default_invoice_policy
help='Ordered Quantity: Invoice quantities ordered by the customer.\nDelivered Quantity: Invoice quantities delivered to the customer.'
string='Default Invoicing Policy'
args: [('order', 'Invoice what is ordered'), ('delivery', 'Invoice what is delivered')]
invoice_policy
Selection
compute='_compute_invoice_policy'
inverse='_inverse_invoice_policy'
readonly=True
search='_search_invoice_policy'
store=False
No public methods.
invoice_policy
Selection
help='Ordered Quantity: Invoice quantities ordered by the customer.\nDelivered Quantity: Invoice quantities delivered to the customer.'
readonly=True
states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}
string='Invoicing Policy'
args: [('order', 'Invoice what is ordered'), ('delivery', 'Invoice what is delivered')]
No public methods.
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/sale-workflow |
| GIT | |
| GIT | https://github.com/OCA/sale-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/sale-workflow/tree/13.0/sale_invoice_policy |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Sales Management |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | OCA Transbot, oca-travis, Weblate, OCA-git-bot, Alexei Rivera |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/sale-workflow |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:34:13 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - sale - sales_team - base - base_setup - web - bus - web_tour - payment - account - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - utm - sale_stock - stock_account - stock - barcodes |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_form_view_invoice_policy |
product.template.invoice.policy | product.template | field | Inherits sale.product_template_form_view_invoice_policy |
sale_order_view_form_inherit_abi_product |
sale.order.form (abi_sale_invoice_policy) | sale.order | field | Inherits sale.view_order_form |
view_sales_config |
sale settings | res.config.settings | xpath | Inherits sale.res_config_settings_view_form |
default_invoice_policy
Selection
default=<expr>
help='Ordered Quantity: Invoice based on the quantity the customer ordered.\nDelivered Quantity: Invoiced based on the quantity the vendor delivered (time or deliveries).'
string='Default Invoicing Policy'
args: [('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
invoice_policy
Selection
compute='_compute_invoice_policy'
inverse='_inverse_invoice_policy'
readonly=True
search='_search_invoice_policy'
store=False
No public methods.
sale_default_invoice_policy
Selection
readonly=True
related='default_invoice_policy'
selection=[('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
string='Default Sale Invoice Policy'
sale_invoice_policy_required
Boolean
help='This makes Invoice Policy required on Sale Orders'
get_values(self)
set_values(self)
invoice_policy
Selection
help='Ordered Quantity: Invoice based on the quantity the customer ordered.\nDelivered Quantity: Invoiced based on the quantity the vendor delivered (time or deliveries).'
readonly=True
states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}
args: [('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
invoice_policy_required
Boolean
compute='_compute_invoice_policy_required'
default=<expr>
default_get(self, fields_list)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/sale-workflow |
| GIT | |
| GIT | https://github.com/OCA/sale-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/sale-workflow/tree/12.0/sale_invoice_policy |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Sales Management |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | Renato Lima, Denis Roussel, OCA Transbot, ahenriquez, oca-travis, Weblate, OCA-git-bot |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/sale-workflow |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:29:17 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - sale - sales_team - base - base_setup - web - bus - web_tour - payment - account - product - decimal_precision - uom - analytic - portal - http_routing - digest - sale_stock - stock_account - stock - barcodes |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_form_view_invoice_policy |
product.template.invoice.policy | product.template | field | Inherits sale.product_template_form_view_invoice_policy |
sale_order_view_form_inherit_abi_product |
sale.order.form (abi_sale_invoice_policy) | sale.order | field | Inherits sale.view_order_form |
view_sales_config |
sale settings | res.config.settings | xpath | Inherits sale.res_config_settings_view_form |
default_invoice_policy
Selection
default='order'
help='Ordered Quantity: Invoice based on the quantity the customer ordered.\nDelivered Quantity: Invoiced based on the quantity the vendor delivered (time or deliveries).'
string='Default Invoicing Policy'
args: [('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
invoice_policy
Selection
compute='_compute_invoice_policy'
inverse='_inverse_invoice_policy'
readonly=True
search='_search_invoice_policy'
store=False
No public methods.
sale_default_invoice_policy
Selection
readonly=True
related='default_invoice_policy'
selection=[('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
string='Default Sale Invoice Policy'
sale_invoice_policy_required
Boolean
help='This makes Invoice Policy required on Sale Orders'
get_values(self)
set_values(self)
invoice_policy
Selection
help='Ordered Quantity: Invoice based on the quantity the customer ordered.\nDelivered Quantity: Invoiced based on the quantity the vendor delivered (time or deliveries).'
readonly=True
states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}
args: [('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
invoice_policy_required
Boolean
compute='_compute_invoice_policy_required'
default=<expr>
default_get(self, fields_list)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/sale-workflow |
| GIT | |
| GIT | https://github.com/OCA/sale-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/sale-workflow/tree/10.0/sale_invoice_policy |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Sales Management |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), ACSONE SA/NV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), ACSONE SA/NV |
| COMMITTERS | |
| COMMITTERS | OCA Transbot, Miquel Raïch, oca-travis, OCA-git-bot, François Honoré |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/sale-workflow |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:19:56 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - sale - sales_team - base - base_setup - web_kanban - web - bus - web_tour - account - product - decimal_precision - report - analytic - web_planner - procurement - sale_stock - stock_account - stock - barcodes |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_form_view_invoice_policy |
product.template.invoice.policy | product.template | field | Inherits sale.product_template_form_view_invoice_policy |
sale_order_view_form_inherit_abi_product |
sale.order.form (abi_sale_invoice_policy) | sale.order | field | Inherits sale.view_order_form |
view_sales_config |
sale settings | sale.config.settings | group | Inherits sale.view_sales_config |
default_invoice_policy
Selection
default='order'
help='Ordered Quantity: Invoice based on the quantity the customer ordered.\nDelivered Quantity: Invoiced based on the quantity the vendor delivered (time or deliveries).'
string='Invoicing Policy'
args: [('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
invoice_policy
Selection
compute='_compute_invoice_policy'
inverse='_inverse_invoice_policy'
readonly=True
search='_search_invoice_policy'
store=False
No public methods.
sale_default_invoice_policy
Selection
readonly=True
related='default_invoice_policy'
selection=[('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
sale_invoice_policy_required
Boolean
help='This makes Invoice Policy required on Sale Orders'
get_default_sale_invoice_policy_required(self, fields_list)
set_default_sale_default_invoice_policy(self)
set_default_sale_invoice_policy_required(self)
invoice_policy
Selection
help='Ordered Quantity: Invoice based on the quantity the customer ordered.\nDelivered Quantity: Invoiced based on the quantity the vendor delivered (time or deliveries).'
readonly=True
states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}
args: [('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
invoice_policy_required
Boolean
compute='_compute_invoice_policy_required'
default=<expr>
default_get(self, fields_list)
No new fields.
Public methods (0)No public methods.
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/sale-workflow |
| PULL REQUEST | |
| PULL REQUEST | [19.0][MIG] sale_invoice_policy: Migration to 19.0 (#4071) |