Commit Graph

721 Commits

Author SHA1 Message Date
Pedro M. Baeza
67b7449546 [IMP] contract_variable_quantity: Make name translatable 2022-11-03 12:29:58 +01:00
Carlos Dauden
0a40701461 [IMP] contract_variable_quantity: Add option to don't create zero qty invoice lines 2022-11-03 12:29:58 +01:00
Pedro M. Baeza
ba19f264fa [FIX] contract_variable_quantity: Correct README menus references 2022-11-03 12:29:58 +01:00
Carlos Dauden
be082b26b5 [MIG] contract_variable_quantity: Migration to 11.0 2022-11-03 12:29:58 +01:00
Moisés López
662e1a01ad [FIX] contract_payment_auto: Fix freze wkhtmltopdf freezed 2022-11-03 12:29:58 +01:00
Dave Lasley
310ded1086 [10.0][IMP] Add variable qty to contract template view (#66)
* [IMP] Add variable qty to contract template view

* Bump minor version
2022-11-03 12:29:58 +01:00
Dave Lasley
d65a46fc3f [IMP][10.0] contract: Add templating (#42)
Add template functionality for contracts
2022-11-03 12:29:58 +01:00
Dave Lasley
345be4a3ca [MIG] contract_variable_quantity: Migrate to v10
* Bump version
* Change openerp references to odoo
* Installable to True
* Change permissions & views to accounting dependency
2022-11-03 12:29:58 +01:00
Pedro M. Baeza
7462d2679a [MIG] Rename manifest files 2022-11-03 12:29:58 +01:00
Pedro M. Baeza
cc773fb07a [MIG] Make modules uninstallable 2022-11-03 12:29:58 +01:00
Carlos Dauden
f344384315 [IMP] contract: Add past receipt type. Fix yearly. Add month last day 2022-11-03 12:29:58 +01:00
Pedro M. Baeza
a7254e4eff Update README.rst 2022-11-03 12:29:58 +01:00
Pedro M. Baeza
981703f1ec [IMP] contract_variable_quantity: Spanish translation 2022-11-03 12:29:58 +01:00
Pedro M. Baeza
583727eaa7 [IMP] contract_variable_quantity: Screenshot 2022-11-03 12:29:58 +01:00
Pedro M. Baeza
cacb80cc08 [ADD] contract_variable_quantity:
=================================================
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).
2022-11-03 12:29:58 +01:00
Víctor Martínez
7cdec7efe3 [FIX] contract_sale_generation: Change SavepointCase to TransactionCase 2022-11-03 12:29:04 +01:00
OCA-git-bot
9231cce0e9 [UPD] addons table in README.md 2022-11-03 11:28:36 +00:00
OCA-git-bot
5c6de36f02 contract 15.0.1.5.3 2022-11-03 11:28:30 +00:00
OCA-git-bot
eead34d9ec Merge PR #890 into 15.0
Signed-off-by pedrobaeza
2022-11-03 11:23:38 +00:00
Víctor Martínez
dc6aeaea66 [FIX] contract: Change pylint disable 2022-11-03 12:08:16 +01:00
Víctor Martínez
787c549cf9 [DCK] Updated from template 2022-11-03 11:55:09 +01:00
OCA-git-bot
d34d6939ce [UPD] addons table in README.md 2022-10-20 19:06:18 +00:00
OCA-git-bot
6c697d0ba2 contract 15.0.1.5.2 2022-10-20 19:06:13 +00:00
OCA-git-bot
57c1e1b1ff Merge PR #885 into 15.0
Signed-off-by pedrobaeza
2022-10-20 19:01:51 +00:00
Christopher Rogos
1b2eee84e9 [IMP] Add link to contract in invoice chatter 2022-10-20 17:44:03 +02:00
OCA-git-bot
72bee9df5e [UPD] addons table in README.md 2022-10-18 15:27:35 +00:00
OCA-git-bot
f204815b9d contract 15.0.1.5.1 2022-10-18 15:26:57 +00:00
OCA-git-bot
6f92b6d6c6 Merge PR #884 into 15.0
Signed-off-by pedrobaeza
2022-10-18 15:21:42 +00:00
Víctor Martínez
4d55c73699 [IMP] contract: Set invoice_user_id field with Form() to apply the correct values of other fields (team_id for example).
TT39934
2022-10-18 15:54:49 +02:00
pere-aquarian
b0984ca7ab Translated using Weblate (Spanish)
Currently translated at 91.7% (291 of 317 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/es/
2022-10-10 17:35:01 +00:00
Douglas Custódio
9ca5bae36a Translated using Weblate (Portuguese (Brazil))
Currently translated at 79.8% (253 of 317 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/pt_BR/
2022-09-26 16:07:23 +00:00
Ignacio Buioli
ade4e429ee Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (2 of 2 strings)

Translation: contract-15.0/contract-15.0-contract_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract_payment_mode/es_AR/
2022-09-05 07:07:12 +00:00
OCA-git-bot
452bf88c05 [UPD] addons table in README.md 2022-09-05 06:54:35 +00:00
OCA-git-bot
0e29717895 contract 15.0.1.5.0 2022-09-05 06:54:30 +00:00
OCA-git-bot
ce238600fd Merge PR #874 into 15.0
Signed-off-by rousseldenis
2022-09-05 06:50:35 +00:00
Víctor Martínez
27e0f42b25 [IMP] contract: Use _prepare_home_portal_values() function. 2022-09-05 08:16:44 +02:00
Ignacio Buioli
97b4492034 Added translation using Weblate (Spanish (Argentina)) 2022-09-05 04:33:10 +00:00
Wolfgang Pichler
bc85bdb593 Translated using Weblate (German)
Currently translated at 68.7% (218 of 317 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/de/
2022-08-22 16:07:04 +00:00
OCA-git-bot
707f5e2de5 [UPD] addons table in README.md 2022-08-18 14:04:30 +00:00
OCA-git-bot
040b031962 contract_payment_mode 15.0.1.0.1 2022-08-18 14:04:26 +00:00
OCA-git-bot
aa92b2ab29 [ADD] setup.py 2022-08-18 14:04:26 +00:00
OCA-git-bot
51f75c27bc [UPD] README.rst 2022-08-18 14:04:25 +00:00
OCA-git-bot
f9e66894c4 [UPD] addons table in README.md 2022-08-18 14:04:24 +00:00
oca-ci
68f3b30773 [UPD] Update contract_payment_mode.pot 2022-08-18 14:00:46 +00:00
OCA-git-bot
ec0f712184 Merge PR #811 into 15.0
Signed-off-by rousseldenis
2022-08-18 13:57:17 +00:00
Grégory Moka Tourisme
0c27031561 Translated using Weblate (French)
Currently translated at 93.0% (295 of 317 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/fr/
2022-08-17 16:07:06 +00:00
Ignacio Buioli
7718a366c5 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (317 of 317 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/es_AR/
2022-08-02 21:06:57 +00:00
OCA Transbot
301640674d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/
2022-08-01 14:09:24 +00:00
OCA-git-bot
25c2823339 [UPD] addons table in README.md 2022-08-01 14:09:10 +00:00
OCA-git-bot
2d9ce2a020 contract 15.0.1.4.0 2022-08-01 14:09:05 +00:00