Commit Graph

477 Commits

Author SHA1 Message Date
Pedro M. Baeza
a10cbb0f43 [MIG] Make modules uninstallable 2024-07-22 11:49:58 +02:00
Carlos Dauden
4724f401ab [IMP] contract: Add past receipt type. Fix yearly. Add month last day 2024-07-22 11:49:58 +02:00
Pedro M. Baeza
4500201153 [IMP] contract_variable_quantity: Spanish translation 2024-07-22 11:49:58 +02:00
Pedro M. Baeza
f15bc98aee [IMP] contract_variable_quantity: Screenshot 2024-07-22 11:49:58 +02:00
Pedro M. Baeza
32143d8ef7 [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).
2024-07-22 11:49:58 +02:00
Weblate
c2fd513321 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-17.0/contract-17.0-subscription_oca
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-subscription_oca/
2024-07-12 14:41:49 +00:00
Weblate
d160ec3e91 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-17.0/contract-17.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract/
2024-07-12 11:30:58 +00:00
OCA-git-bot
1cd818b7fa [BOT] post-merge updates 2024-07-12 11:30:49 +00:00
oca-ci
a49e5d1b49 [UPD] Update contract.pot 2024-07-12 11:28:00 +00:00
oca-ci
7470b8a6fe [UPD] Update subscription_oca.pot 2024-07-12 11:27:58 +00:00
OCA-git-bot
8eedf72797 Merge PR #1099 into 17.0
Signed-off-by rousseldenis
2024-07-12 11:25:16 +00:00
sygel
f4e1dc66ab [MIG] subscription_oca: Migration to 17.0 2024-07-12 10:44:53 +02:00
sygel
0498fedd67 [IMP] subscription_oca: pre-commit auto fixes 2024-07-08 13:31:29 +02:00
mymage
327486c8e0 Added translation using Weblate (Italian) 2024-07-08 13:31:29 +02:00
Thijs van Oers
fe2f147af8 Translated using Weblate (Dutch)
Currently translated at 95.7% (159 of 166 strings)

Translation: contract-16.0/contract-16.0-subscription_oca
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-subscription_oca/nl/
2024-07-08 13:31:29 +02:00
Thijs van Oers
e91efbc164 Added translation using Weblate (Dutch) 2024-07-08 13:31:29 +02:00
Grégory Moka Tourisme
0915af0219 Added translation using Weblate (French) 2024-07-08 13:31:29 +02:00
OCA-git-bot
d1d41340f6 [BOT] post-merge updates 2024-07-08 13:31:29 +02:00
oca-ci
1ba29157a3 [UPD] Update subscription_oca.pot 2024-07-08 13:31:29 +02:00
Carol
5593a3fede [IMP] subscription_oca: tests adjustments 2024-07-08 13:31:29 +02:00
Ilyas
86fe0850fe [IMP] subscription_oca: tests 2024-07-08 13:31:29 +02:00
Carol
7516309e42 [MIG] subscription_oca: Migration to 16.0 2024-07-08 13:31:29 +02:00
Ivorra78
70b832e37c Added translation using Weblate (Spanish) 2024-07-08 13:31:29 +02:00
Ilyas
f96402cd9d [IMP] subscription_oca: refactoring 2024-07-08 13:31:29 +02:00
Ilyas
2cfb099eef [IMP] subscription_oca: tests 2024-07-08 13:31:29 +02:00
Carlos
1fefdd98aa [15.0][ADD] subscription_oca 2024-07-08 13:31:29 +02:00
oca-git-bot
79809451f4 [IMP] update dotfiles 2024-07-06 17:23:49 +00:00
jakobkrabbe
9be0a1fa91 Translated using Weblate (Swedish)
Currently translated at 100.0% (314 of 314 strings)

Translation: contract-17.0/contract-17.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract/sv/
2024-06-05 14:38:22 +00:00
mymage
61c808e860 Translated using Weblate (Italian)
Currently translated at 100.0% (48 of 48 strings)

Translation: contract-17.0/contract-17.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-product_contract/it/
2024-06-05 10:36:51 +00:00
Weblate
89b11025a0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-17.0/contract-17.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-product_contract/
2024-06-04 15:10:46 +00:00
OCA-git-bot
98659097ad [BOT] post-merge updates 2024-06-04 14:59:23 +00:00
oca-ci
a893745c6e [UPD] Update product_contract.pot 2024-06-04 14:56:25 +00:00
OCA-git-bot
f55f6303e4 Merge PR #1083 into 17.0
Signed-off-by pedrobaeza
2024-06-04 14:53:29 +00:00
mymage
586362d8f3 Translated using Weblate (Italian)
Currently translated at 100.0% (314 of 314 strings)

Translation: contract-17.0/contract-17.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract/it/
2024-05-30 13:38:51 +00:00
David Jaen
d1602ac12d [IMP] product_contract: contract quantity same quantity of order 2024-05-08 16:17:59 +02:00
David Jaen
317012aac1 [MIG] product_contract: Migration to 17.0 2024-05-08 16:17:59 +02:00
David Jaen
df1331c8aa [IMP] product_contract: pre-commit auto fixes 2024-05-07 13:46:18 +02:00
Rad0van
6c4c858cd1 analytic_account_id 2024-05-06 17:49:07 +02:00
Rad0van
5c090b164f analytic_distribution 2024-05-06 17:49:07 +02:00
Rad0van
1b930d402e [MIG] product_contract: Migration to 16.0 2024-05-06 17:49:07 +02:00
Rad0van
fe8ed89bc6 [IMP] product_contract: pre-commit stuff 2024-05-06 17:49:07 +02:00
Francesco Foresti
86dc831566 Translated using Weblate (Italian)
Currently translated at 100.0% (49 of 49 strings)

Translation: contract-14.0/contract-14.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-product_contract/it/
2024-05-06 17:49:07 +02:00
mymage
be7700469e Translated using Weblate (Italian)
Currently translated at 100.0% (49 of 49 strings)

Translation: contract-14.0/contract-14.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-product_contract/it/
2024-05-06 17:49:07 +02:00
Francesco Foresti
3c764e19ba Translated using Weblate (Italian)
Currently translated at 100.0% (49 of 49 strings)

Translation: contract-14.0/contract-14.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-product_contract/it/
2024-05-06 17:49:07 +02:00
OCA-git-bot
7509cc6ddf product_contract 14.0.1.0.1 2024-05-06 17:49:07 +02:00
OCA-git-bot
92c740e5ce [UPD] README.rst 2024-05-06 17:49:07 +02:00
oca-ci
7b4e7d48ec [UPD] Update product_contract.pot 2024-05-06 17:49:07 +02:00
Ilyas
f8909cfc06 [IMP] product_contract: code improvements 2024-05-06 17:49:07 +02:00
Ilyas
e4244d4ad8 [IMP] product_contract: use _compute_display_name. Moved it to contract module. 2024-05-06 17:49:07 +02:00
Mourad
d6e4d4b391 [MIG] product_contract: Migration to 14.0 2024-05-06 17:49:07 +02:00