Commit Graph

499 Commits

Author SHA1 Message Date
Carlos Dauden
ab739554fd [IMP] contract: Add past receipt type. Fix yearly. Add month last day 2024-01-05 11:07:38 -03:00
Pedro M. Baeza
93ce330900 [IMP] contract_variable_quantity: Spanish translation 2024-01-05 11:07:38 -03:00
Pedro M. Baeza
4ee23da46d [IMP] contract_variable_quantity: Screenshot 2024-01-05 10:33:53 -03:00
Pedro M. Baeza
7c282e0157 [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-01-05 10:33:53 -03:00
Weblate
11c08aacc3 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/
2024-01-05 10:31:25 +00:00
OCA-git-bot
80fdfc7393 [BOT] post-merge updates 2024-01-05 10:31:13 +00:00
oca-ci
f2d4f8c031 [UPD] Update contract.pot 2024-01-05 10:28:01 +00:00
OCA-git-bot
234b4b172b Merge PR #1019 into 16.0
Signed-off-by pedrobaeza
2024-01-05 10:25:04 +00:00
fkantelberg
f7c4b5c71f [MIG] contract: Remove analytic_account_id and add migration 2024-01-05 11:03:00 +01:00
fkantelberg
4924db528f [FIX] Show analytic distribution and hide analytic account 2024-01-04 11:07:12 +01:00
OCA-git-bot
cb81c7d021 [BOT] post-merge updates 2024-01-04 09:49:55 +00:00
OCA-git-bot
f415e20aaf Merge PR #1026 into 16.0
Signed-off-by pedrobaeza
2024-01-04 09:46:52 +00:00
Adriano Prado
fbbc0e38f9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1 of 1 strings)

Translation: contract-16.0/contract-16.0-contract_invoice_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract_invoice_start_end_dates/pt_BR/
2023-12-27 15:33:40 +00:00
Adriano Prado
c8ed3954a7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (12 of 12 strings)

Translation: contract-16.0/contract-16.0-contract_sale_generation
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract_sale_generation/pt_BR/
2023-12-27 15:33:39 +00:00
mymage
5598619b70 Translated using Weblate (Italian)
Currently translated at 85.7% (270 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-12-24 19:40:34 +00:00
Rémi
4ed8875e89 Translated using Weblate (French)
Currently translated at 100.0% (315 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/fr/
2023-12-21 12:34:33 +00:00
Rémi
0b408b9d5f Translated using Weblate (French)
Currently translated at 97.4% (307 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/fr/
2023-12-20 18:36:48 +00:00
Francesco Foresti
a5300ea6c3 Translated using Weblate (Italian)
Currently translated at 84.7% (267 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-12-15 17:36:58 +00:00
mymage
1e79cb088c Translated using Weblate (Italian)
Currently translated at 84.7% (267 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-12-13 12:34:21 +00:00
mymage
a657a08ead Translated using Weblate (Italian)
Currently translated at 84.7% (267 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-11-30 22:34:04 +00:00
mymage
d5f7585d2e Translated using Weblate (Italian)
Currently translated at 84.7% (267 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-11-27 14:35:38 +00:00
mymage
f34b842680 Translated using Weblate (Italian)
Currently translated at 84.7% (267 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-11-24 17:36:30 +00:00
mymage
3404095be1 Translated using Weblate (Italian)
Currently translated at 84.7% (267 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-11-23 13:37:36 +00:00
mymage
0dfbd7b3db Translated using Weblate (Italian)
Currently translated at 84.7% (267 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-11-17 17:35:05 +00:00
mymage
98ca420b4c Translated using Weblate (Italian)
Currently translated at 84.7% (267 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-11-14 18:36:37 +00:00
Thijs van Oers
070e35a849 Translated using Weblate (Dutch)
Currently translated at 90.4% (285 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/nl/
2023-11-14 13:36:28 +00:00
Alessandro Fiorino
f27aefee28 Translated using Weblate (Italian)
Currently translated at 84.7% (267 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-11-08 21:38:41 +00:00
OCA-git-bot
0fda3e471b [BOT] post-merge updates 2023-11-08 21:21:47 +00:00
OCA-git-bot
e78a02e4e2 Merge PR #1021 into 16.0
Signed-off-by pedrobaeza
2023-11-08 21:17:34 +00:00
Jose Suniaga [Vauxoo]
6c0f22efe2 [FIX] contract: removed dateutil from dependencies
Since Odoo 16.0 has included dateutil on its dependencies,
loading dateutil from here is generating Warning in Odoo.sh
deployments
2023-11-08 13:41:44 -06:00
Alessandro Fiorino
4a15dbb7ca Translated using Weblate (Italian)
Currently translated at 63.1% (199 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-11-08 18:39:11 +00:00
mymage
504585214f Translated using Weblate (Italian)
Currently translated at 60.0% (189 of 315 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-10-31 09:38:35 +00:00
Weblate
8539264fdc Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/
2023-10-29 07:10:12 +00:00
Adriano Prado
a515184f0b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (316 of 316 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/pt_BR/
2023-10-29 07:10:09 +00:00
mymage
4994fa32b7 Translated using Weblate (Italian)
Currently translated at 59.8% (189 of 316 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-10-29 07:10:09 +00:00
Adriano Prado
89589804e4 Added translation using Weblate (Portuguese (Brazil)) 2023-10-29 07:10:09 +00:00
oca-ci
7204d0719a [UPD] Update contract.pot 2023-10-27 22:21:08 +00:00
oca-git-bot
3112fd4b70 [IMP] update dotfiles 2023-10-27 22:45:54 +02:00
fkantelberg
0c4992dff8 [FIX] No contract line and invoices when contract is archived 2023-10-25 11:46:12 +02:00
Adriano Prado
38b355709f Translated using Weblate (Portuguese (Brazil))
Currently translated at 78.4% (248 of 316 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/pt_BR/
2023-10-13 12:42:50 +00:00
mymage
f9257475b5 Translated using Weblate (Italian)
Currently translated at 59.8% (189 of 316 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2023-10-12 09:40:48 +00:00
Ivorra78
2c2183400f Translated using Weblate (Spanish)
Currently translated at 100.0% (2 of 2 strings)

Translation: contract-16.0/contract-16.0-contract_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract_payment_mode/es/
2023-10-10 22:58:16 +00:00
Weblate
360c25f394 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-16.0/contract-16.0-contract_payment_mode
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract_payment_mode/
2023-10-10 04:02:05 +00:00
Weblate
800d7e3007 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-16.0/contract-16.0-contract_sale
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract_sale/
2023-10-09 20:16:59 +00:00
Weblate
6858db1611 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-16.0/contract-16.0-contract_sale_generation
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract_sale_generation/
2023-10-09 18:59:54 +00:00
OCA-git-bot
a628dcccfa [BOT] post-merge updates 2023-10-09 15:34:25 +00:00
oca-ci
0903e657d6 [UPD] Update agreement_rebate_partner_company_group.pot 2023-10-09 15:30:25 +00:00
OCA-git-bot
5b10cb686f Merge PR #980 into 16.0
Signed-off-by pedrobaeza
2023-10-09 15:26:50 +00:00
OCA-git-bot
774d4b8898 [BOT] post-merge updates 2023-10-09 15:25:14 +00:00
OCA-git-bot
fd5d46ac62 Merge PR #1001 into 16.0
Signed-off-by pedrobaeza
2023-10-09 15:21:50 +00:00