Commit Graph

417 Commits

Author SHA1 Message Date
OCA-git-bot
8f569b2128 product_contract 12.0.3.1.0 2024-05-06 17:49:07 +02:00
Nelson Ramírez Sánchez
9ae809e0c3 Translated using Weblate (Spanish)
Currently translated at 100.0% (41 of 41 strings)

Translation: contract-12.0/contract-12.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-product_contract/es/
2024-05-06 17:49:07 +02:00
OCA Transbot
ce860d79ff Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-product_contract/
2024-05-06 17:49:07 +02:00
OCA-git-bot
536ec32753 product_contract 12.0.3.0.1 2024-05-06 17:49:07 +02:00
oca-travis
32665596f2 [UPD] Update product_contract.pot 2024-05-06 17:49:07 +02:00
sbejaoui
5323d35354 [12.0][FIX] - Set contract line analytic account at contract creation from SO 2024-05-06 17:49:07 +02:00
OCA-git-bot
eaa0b9dd68 product_contract 12.0.3.0.0 2024-05-06 17:49:07 +02:00
sbejaoui
e38b3725fa [IMP] - Set recurring_invoicing_type for existing products set to monthlylastday 2024-05-06 17:49:07 +02:00
Stéphane Bidoul (ACSONE)
7a774daccd [IMP] contract: support pre-paid for monthlylastday
monthlylastday is (almost) not a special case anymore \o/.
montlylastday is simply a montly period where the
periods are aligned on month boundaries.
The last bit of special casing is that postpaid generates
invoice the day after the last dasy of the period, except
for monthlylastday where the invoice is generated on the
last day of the period. This last exception will disappear
when we put the offset under user control.

This is a breaking change because the post-paid/pre-paid
mode becomes relevant for monthlylastday invoicing.
The field becomes visible in the UI. Code that generate
monthlylastday contract lines must now correctly set
the pre-paid/post-paid mode too. Some tests have had
to be adapted to reflect that.
2024-05-06 17:49:07 +02:00
Martronic SA
93057aacad Translated using Weblate (French)
Currently translated at 92.7% (38 of 41 strings)

Translation: contract-12.0/contract-12.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-product_contract/fr/
2024-05-06 17:49:07 +02:00
Bole
fa797e5837 Translated using Weblate (Croatian)
Currently translated at 100.0% (41 of 41 strings)

Translation: contract-12.0/contract-12.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-product_contract/hr/
2024-05-06 17:49:07 +02:00
sbejaoui
47922ad403 [12.0][FIX] - Run onchange contract_type when changing the contract template
Fix this use-case:

If the contract journal is not set on the contract template the contract is created
without a journal when confirming the sale order
2024-05-06 17:49:07 +02:00
OCA-git-bot
334b1fa853 product_contract 12.0.2.0.2 2024-05-06 17:49:07 +02:00
sbejaoui
39d796b446 [12.0][FIX] - contract company must be the same as the sale order
When creating a contract from a sale order the company must be the sale order
company and not the user company
2024-05-06 17:49:07 +02:00
Rudolf Schnapka
540c119307 Translated using Weblate (German)
Currently translated at 100.0% (41 of 41 strings)

Translation: contract-12.0/contract-12.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-product_contract/de/
2024-05-06 17:49:07 +02:00
Eder Brito
d8ec9dddd0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (41 of 41 strings)

Translation: contract-12.0/contract-12.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-product_contract/pt_BR/
2024-05-06 17:49:07 +02:00
Maria Sparenberg
3274f32e5d Translated using Weblate (German)
Currently translated at 61.0% (25 of 41 strings)

Translation: contract-12.0/contract-12.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-product_contract/de/
2024-05-06 17:49:07 +02:00
OCA-git-bot
bbc5a1db81 product_contract 12.0.2.0.1 2024-05-06 17:49:07 +02:00
OCA Transbot
94a3e25579 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-product_contract/
2024-05-06 17:49:07 +02:00
oca-travis
7f2cf2762d [UPD] Update product_contract.pot 2024-05-06 17:49:07 +02:00
sbejaoui
f20481191f [FIX] - Remove deprecated field 2024-05-06 17:49:07 +02:00
OCA-git-bot
45b09daec3 [ADD] icon.png 2024-05-06 17:49:07 +02:00
OCA-git-bot
b60f334642 [UPD] README.rst 2024-05-06 17:49:07 +02:00
sbejaoui
f6106181af [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2024-05-06 17:49:07 +02:00
sbejaoui
e90ff02011 [IMP] - improve is contract visibility in product view 2024-05-06 17:49:07 +02:00
sbejaoui
59d254ee4a [12.0][IMP] - Improve unit tests 2024-05-06 17:49:07 +02:00
sbejaoui
14642e0bff [12.0][REF] - Split analytic accouts and contracts 2024-05-06 17:49:07 +02:00
sbejaoui
5b4b09ab5f [12.0][FIX] - create contract only on sale and done states 2024-05-06 17:49:07 +02:00
sbejaoui
7ea0bf3c1c [FIX] - fix display name compute dependecy 2024-05-06 17:49:07 +02:00
sbejaoui
bc0f33760e [12.0][IMP] - option to decide if we automaticallt create contract a sale confirm 2024-05-06 17:49:07 +02:00
Quentin Groulard
a1cdd4169d [ADD] Add start_date to contract_line display_name
In order to help distinguishing lines with the same name
2024-05-06 17:49:07 +02:00
sbejaoui
0e5259b2fa [IMP] - permit contract selection without contract_template_id 2024-05-06 17:49:07 +02:00
Thomas Binsfeld
b14f2e38e9 [REF] Contract: set order count to 0 if no access to orders 2024-05-06 17:49:07 +02:00
sbejaoui
7e3bf5b09b [FIX] - date_end computed only for contract products 2024-05-06 17:49:07 +02:00
sbejaoui
c99cc123bb [IMP] - cancel contract line if the downsell/upsell comes before 2024-05-06 17:49:07 +02:00
sbejaoui
06841a2dc9 [FIX] - Get auto_renew_rule_type based on recurring_rule_type 2024-05-06 17:49:07 +02:00
sbejaoui
23b7725b0c [FIX] - date_end required only for contract product 2024-05-06 17:49:07 +02:00
sbejaoui
a92e287ae8 [FIX] - Fix recurring_next_date 2024-05-06 17:49:07 +02:00
Thomas Binsfeld
fc0dd2fc5a [FIX] Product Contract: copy invoicing partner to created contract 2024-05-06 17:49:07 +02:00
sbejaoui
583fff35f9 [IMP] - auto_renew_rule deducted from recurring_rule_type and product_uom_qty 2024-05-06 17:49:07 +02:00
Thomas Binsfeld
0c22dcab31 [ADD] Contract Sale: fiscal position 2024-05-06 17:49:07 +02:00
sbejaoui
998d8ab9bd [IMP] - Simplify sale order line creation for contract product 2024-05-06 17:49:07 +02:00
sbejaoui
4c5343c87f [REF] - predecessor_contract_line set in create process 2024-05-06 17:49:07 +02:00
sbejaoui
4332d4dd9a [IMP] - Add unit test 2024-05-06 17:49:07 +02:00
sbejaoui
de6033fb85 [FIX] - fix unit tests 2024-05-06 17:49:07 +02:00
sbejaoui
3bdb7e99f0 [IMP] - update invoice_line vals only if it is not null 2024-05-06 17:49:07 +02:00
Thomas Binsfeld
b4ec8b9dcd [ADD] Product Contract: payment term 2024-05-06 17:49:07 +02:00
sbejaoui
1f00ebb7cd [FIX] - fix flake8 2024-05-06 17:49:07 +02:00
Thomas Binsfeld
596da0957f [REF] Contract Product: invoice in prepare_invoice_line is optional 2024-05-06 17:49:07 +02:00
sbejaoui
8baae365a5 [IMP] - show related sale orders in contract form 2024-05-06 17:49:07 +02:00