Commit Graph

502 Commits

Author SHA1 Message Date
Mario Riva
ced533e8cc Translated using Weblate (Italian)
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/it/
2023-11-09 15:05:40 +01:00
OCA-git-bot
f671acd60a product_contract 12.0.3.1.1 2023-11-09 15:05:40 +01:00
Pedro M. Baeza
25982d0cf7 [IMP] contract: remove redundant method
I have detected a method that was created as redundant and with the same
technique used when preparing the line values, so better to have
everything together in the same method instead of having it spread.
2023-11-09 15:05:40 +01:00
OCA-git-bot
b6452b3b2b product_contract 12.0.3.1.0 2023-11-09 15:05:40 +01:00
Nelson Ramírez Sánchez
4133b220d8 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/
2023-11-09 15:05:40 +01:00
OCA Transbot
32b02927df 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/
2023-11-09 15:05:40 +01:00
OCA-git-bot
4080435fec product_contract 12.0.3.0.1 2023-11-09 15:05:40 +01:00
oca-travis
d6a91f13f8 [UPD] Update product_contract.pot 2023-11-09 15:05:40 +01:00
sbejaoui
cb57e3c995 [12.0][FIX] - Set contract line analytic account at contract creation from SO 2023-11-09 15:05:40 +01:00
OCA-git-bot
07ad88e875 product_contract 12.0.3.0.0 2023-11-09 15:05:40 +01:00
sbejaoui
48642c6769 [IMP] - Set recurring_invoicing_type for existing products set to monthlylastday 2023-11-09 15:05:40 +01:00
Stéphane Bidoul (ACSONE)
c3deba13bd [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.
2023-11-09 15:05:40 +01:00
Martronic SA
ae9b8a0366 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/
2023-11-09 15:05:40 +01:00
Bole
fcc9731284 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/
2023-11-09 15:05:40 +01:00
sbejaoui
69d97b8a74 [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
2023-11-09 15:05:40 +01:00
OCA-git-bot
444c914490 product_contract 12.0.2.0.2 2023-11-09 15:05:40 +01:00
sbejaoui
1ce387b1c9 [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
2023-11-09 15:05:40 +01:00
Rudolf Schnapka
9ae93d71a1 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/
2023-11-09 15:05:40 +01:00
Eder Brito
ae4db4b177 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/
2023-11-09 15:05:40 +01:00
Maria Sparenberg
a241c661a4 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/
2023-11-09 15:05:40 +01:00
OCA-git-bot
ef3431fc03 product_contract 12.0.2.0.1 2023-11-09 15:05:40 +01:00
OCA Transbot
81fa7ce416 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/
2023-11-09 15:05:40 +01:00
oca-travis
827c6553e1 [UPD] Update product_contract.pot 2023-11-09 15:05:40 +01:00
sbejaoui
f5448f707c [FIX] - Remove deprecated field 2023-11-09 15:05:40 +01:00
OCA-git-bot
a9585bc8a2 [ADD] icon.png 2023-11-09 15:05:40 +01:00
OCA-git-bot
fc8271d4dd [UPD] README.rst 2023-11-09 15:05:40 +01:00
sbejaoui
1b20b6e5c0 [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2023-11-09 15:05:40 +01:00
sbejaoui
5659a97553 [IMP] - improve is contract visibility in product view 2023-11-09 15:05:40 +01:00
sbejaoui
1ea463dfa9 [12.0][IMP] - Improve unit tests 2023-11-09 15:05:40 +01:00
sbejaoui
b8fa244fc7 [12.0][REF] - Split analytic accouts and contracts 2023-11-09 15:05:40 +01:00
sbejaoui
a2ac920982 [12.0][FIX] - create contract only on sale and done states 2023-11-09 15:05:40 +01:00
sbejaoui
b0920c370c [FIX] - fix display name compute dependecy 2023-11-09 15:05:40 +01:00
sbejaoui
1795723b62 [12.0][IMP] - option to decide if we automaticallt create contract a sale confirm 2023-11-09 15:05:40 +01:00
Quentin Groulard
f9218d37b3 [ADD] Add start_date to contract_line display_name
In order to help distinguishing lines with the same name
2023-11-09 15:05:40 +01:00
sbejaoui
e6f15805bd [IMP] - permit contract selection without contract_template_id 2023-11-09 15:05:40 +01:00
Thomas Binsfeld
74591f8df6 [REF] Contract: set order count to 0 if no access to orders 2023-11-09 15:05:40 +01:00
sbejaoui
d1f59215fd [FIX] - date_end computed only for contract products 2023-11-09 15:05:40 +01:00
sbejaoui
e6b020caad [IMP] - cancel contract line if the downsell/upsell comes before 2023-11-09 15:05:40 +01:00
sbejaoui
b38a406158 [FIX] - Get auto_renew_rule_type based on recurring_rule_type 2023-11-09 15:05:40 +01:00
sbejaoui
b5d0f541ff [FIX] - date_end required only for contract product 2023-11-09 15:05:40 +01:00
sbejaoui
95cfc9dbe9 [FIX] - Fix recurring_next_date 2023-11-09 15:05:40 +01:00
Thomas Binsfeld
e7a7beefaa [FIX] Product Contract: copy invoicing partner to created contract 2023-11-09 15:05:40 +01:00
sbejaoui
23ddc315fd [IMP] - auto_renew_rule deducted from recurring_rule_type and product_uom_qty 2023-11-09 15:05:40 +01:00
Thomas Binsfeld
57409beb0f [ADD] Contract Sale: fiscal position 2023-11-09 15:05:40 +01:00
sbejaoui
8ac0791418 [IMP] - Simplify sale order line creation for contract product 2023-11-09 15:05:40 +01:00
sbejaoui
2e06da22b3 [REF] - predecessor_contract_line set in create process 2023-11-09 15:05:40 +01:00
sbejaoui
a42a1fbbca [IMP] - Add unit test 2023-11-09 15:05:40 +01:00
sbejaoui
8bb36ab188 [FIX] - fix unit tests 2023-11-09 15:05:40 +01:00
sbejaoui
02f338ac5b [IMP] - update invoice_line vals only if it is not null 2023-11-09 15:05:40 +01:00
Thomas Binsfeld
cae46a4cc1 [ADD] Product Contract: payment term 2023-11-09 15:05:40 +01:00