Sale invoice Policy
sale_invoice_policy · OCA/sale-workflow
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 9 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_order_view_form_inherit_abi_product |
sale.order.form (abi_sale_invoice_policy) | sale.order | form | Inherits sale.view_order_form |
view_sales_config |
sale settings | res.config.settings | form | Inherits sale.res_config_settings_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
-
sale_default_invoice_policySelectiondefault='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_policySelectionreadonly=Falserelated='company_id.sale_default_invoice_policy'
No public methods.
-
invoice_policySelectioncompute='_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=Truereadonly=Falserequired=Truestore=True args: [('product', 'Products Invoice Policy'), ('order', 'Ordered quantities'), ('delivery', 'Delivered quantities')]
No public methods.
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…