Variable quantity in contract recurrent invoicing
by Contaura LLC
· original work by Tecnativa, OCA
contract_variable_quantity
$ 29.00
Needs 1 more store app, added with it:
- Recurring - Contracts Management · $ 149.00
One purchase covers every version. Already bought it? Sign in.
Variable quantity in contract recurrent invoicing
With this module, you will be able to define in recurring contracts some lines with variable quantity according to a provided formula.
Table of contents
Configuration
Go to Invoicing > Configuration > Contracts > Formulas (quantity).
Define any formula based on Python code that stores at some moment a float/integer value of the quantity to invoice in the variable ‘result’.
You can use these variables to compute your formula:
- env: Environment variable for getting other models.
- context: Current context dictionary.
- user: Current user.
- line: Contract recurring invoice line that triggers this formula.
- contract: Contract whose line belongs to.
- invoice: Invoice (header) being created.
Usage
To use this module, you need to:
- Go to Invoicing > Sales > Contracts and select or create a new contract.
- Check Generate recurring invoices automatically.
- Add a new recurring invoicing line.
- Select “Variable quantity” in column “Qty. type”.
- Select one of the possible formulas to use (previously created).
| Technical name | contract_variable_quantity |
|---|---|
| Module version | 12.0.3.1.1 |
| Tulio versions | 1.0 |
| Category | Sales |
| Publisher | Contaura LLC
Ported to Tulio, tested and supported by Contaura LLC. |
| Original authors | Tecnativa, OCA |
| License | AGPL-3
Open source: you may use, change and share
this module under its license. The price covers the Tulio port, its testing on Tulio
1.0 and the download. |
| Requires (store) | Recurring - Contracts Management |
| Lines of code | 441 |
| Downloads | 0 |
| Released | 12/06/2026 |