mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
cacb80cc0888d1a3a6dfb9b63f5b3106fe97b018
================================================= Variable quantity in contract recurrent invoicing ================================================= With this module, you will be able to define in recurring contracts some lines with variable quantity according a provided formula. Configuration ============= * Go to Sales > 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 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).
contract
TODO: add repo description.
Available addons
| addon | version | maintainers | summary |
|---|---|---|---|
| contract | 15.0.1.5.3 | Recurring - Contracts Management | |
| contract_payment_mode | 15.0.1.0.1 | Payment mode in contracts and their invoices | |
| contract_sale | 15.0.1.1.0 | Contract from Sale | |
| contract_sale_generation | 15.0.1.0.2 | Contracts Management - Recurring Sales |
Licenses
This repository is licensed under AGPL-3.0.
However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA)
policy. Consult each module's __manifest__.py file, which contains a license key
that explains its license.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Description
Languages
Python
60.4%
HTML
39%
JavaScript
0.4%
SCSS
0.2%
