Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 9 Odoo series since 10.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 0 migration notes 4 models 2 views 0 HTTP endpoints

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

Odoo dependencies
Python dependencies
openupgradelib
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
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

New fields (1)
  • 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')]
Public methods (0)

No public methods.

New fields (1)
  • sale_default_invoice_policy Selection
    readonly=False related='company_id.sale_default_invoice_policy'
Public methods (0)

No public methods.

New fields (1)
  • 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')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…