Variable quantity in contract recurrent invoicing

Variable quantity in contract recurrent invoicing

by Contaura LLC · original work by Tecnativa, OCA
contract_variable_quantity
$ 29.00

1.0
Needs 1 more store app, added with it: Total $ 178.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

  1. Go to Invoicing > Configuration > Contracts > Formulas (quantity).

  2. 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:

  1. Go to Invoicing > Sales > Contracts and select or create a new contract.
  2. Check Generate recurring invoices automatically.
  3. Add a new recurring invoicing line.
  4. Select “Variable quantity” in column “Qty. type”.
  5. Select one of the possible formulas to use (previously created).
Technical namecontract_variable_quantity
Module version12.0.3.1.1
Tulio versions1.0
CategorySales
PublisherContaura LLC
Ported to Tulio, tested and supported by Contaura LLC.
Original authorsTecnativa, OCA
LicenseAGPL-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 code441
Downloads0
Released12/06/2026
12.0.3.1.1 Tulio 1.0 · 12/06/2026