Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 9 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 7 Odoo series since 13.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
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

Description

This module allows to invoice a percentage of the sales order, modifying invoiced quantities according such percentage.

Example: You have a service line to invoice 10 hours. You choose to invoice a 50% of the quantity, so the generated invoice line has 5 hours.

Dependencies

Odoo dependencies
Python dependencies
None
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 1

XML IDNameModelTypeStatus
view_sale_invoice_grouping_criteria_form Invoice Orders - Add quantity percentage sale.advance.payment.inv form Inherits sale.view_sale_advance_payment_inv

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (2)
  • advance_payment_method Selection
    ondelete={'qty_percentage': 'set default'} selection_add=[('qty_percentage', 'Percentage of the quantity'), ('percentage')]
  • qty_percentage Float
    string='Quantity percentage'
Public methods (1)
  • create_invoices(self)
    Inject context key for later use that information to modify quantities and switch the invoiced method back to regular one for using the normal flow.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…