Repository
OCA/account-invoicing · module folder · Try on Runboat
Module version
1.0.0
Category
Sales Management
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-invoicing
Last tracking update
2026-08-07 09:06:23
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Pedro M. Baeza, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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.

Code Analysis

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…