Commit Graph

1513 Commits

Author SHA1 Message Date
OCA-git-bot
4fbc09d838 product_contract 12.0.3.1.0 2023-03-30 13:59:09 +02:00
Nelson Ramírez Sánchez
6ac454148b 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-03-30 13:59:09 +02:00
OCA Transbot
8389f39aad 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-03-30 13:59:09 +02:00
OCA-git-bot
7d426f653f product_contract 12.0.3.0.1 2023-03-30 13:59:09 +02:00
oca-travis
60e3b54cbc [UPD] Update product_contract.pot 2023-03-30 13:59:09 +02:00
sbejaoui
0c175a18fb [12.0][FIX] - Set contract line analytic account at contract creation from SO 2023-03-30 13:59:09 +02:00
OCA-git-bot
482bba9746 product_contract 12.0.3.0.0 2023-03-30 13:59:09 +02:00
sbejaoui
ef7dea36da [IMP] - Set recurring_invoicing_type for existing products set to monthlylastday 2023-03-30 13:59:09 +02:00
Stéphane Bidoul (ACSONE)
6977906e13 [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-03-30 13:59:09 +02:00
Martronic SA
5d7f879a98 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-03-30 13:59:09 +02:00
Bole
83c9f57049 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-03-30 13:59:09 +02:00
sbejaoui
88497979e0 [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-03-30 13:59:09 +02:00
OCA-git-bot
de223ca0b3 product_contract 12.0.2.0.2 2023-03-30 13:59:09 +02:00
sbejaoui
18c897e67c [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-03-30 13:59:09 +02:00
Rudolf Schnapka
95350f309a 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-03-30 13:59:09 +02:00
Eder Brito
af591a1230 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-03-30 13:59:09 +02:00
Maria Sparenberg
f58a264e72 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-03-30 13:59:09 +02:00
OCA-git-bot
213dd6030a product_contract 12.0.2.0.1 2023-03-30 13:59:09 +02:00
OCA Transbot
5bd7c3bf91 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-03-30 13:59:09 +02:00
oca-travis
df36a02ff2 [UPD] Update product_contract.pot 2023-03-30 13:59:09 +02:00
sbejaoui
5adcb3d4c0 [FIX] - Remove deprecated field 2023-03-30 13:59:09 +02:00
OCA-git-bot
2384e9392a [ADD] icon.png 2023-03-30 13:59:09 +02:00
OCA-git-bot
ceb55cd032 [UPD] README.rst 2023-03-30 13:59:09 +02:00
sbejaoui
6cb39e62ec [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2023-03-30 13:59:09 +02:00
sbejaoui
5481afbeb6 [IMP] - improve is contract visibility in product view 2023-03-30 13:59:09 +02:00
sbejaoui
423dc4531b [12.0][IMP] - Improve unit tests 2023-03-30 13:59:09 +02:00
sbejaoui
c16bf2fe2e [12.0][REF] - Split analytic accouts and contracts 2023-03-30 13:59:09 +02:00
sbejaoui
4e29077acf [12.0][FIX] - create contract only on sale and done states 2023-03-30 13:59:09 +02:00
sbejaoui
e2d499bfd6 [FIX] - fix display name compute dependecy 2023-03-30 13:59:09 +02:00
sbejaoui
3a6544d1e3 [12.0][IMP] - option to decide if we automaticallt create contract a sale confirm 2023-03-30 13:59:09 +02:00
Quentin Groulard
eef7614269 [ADD] Add start_date to contract_line display_name
In order to help distinguishing lines with the same name
2023-03-30 13:59:09 +02:00
sbejaoui
8cefdeb800 [IMP] - permit contract selection without contract_template_id 2023-03-30 13:59:09 +02:00
Thomas Binsfeld
e8c4be156d [REF] Contract: set order count to 0 if no access to orders 2023-03-30 13:59:09 +02:00
sbejaoui
0127791e29 [FIX] - date_end computed only for contract products 2023-03-30 13:59:09 +02:00
sbejaoui
874e88f68b [IMP] - cancel contract line if the downsell/upsell comes before 2023-03-30 13:59:09 +02:00
sbejaoui
1859c3d5d5 [FIX] - Get auto_renew_rule_type based on recurring_rule_type 2023-03-30 13:59:09 +02:00
sbejaoui
2a424a5214 [FIX] - date_end required only for contract product 2023-03-30 13:59:09 +02:00
sbejaoui
b2a05cd09f [FIX] - Fix recurring_next_date 2023-03-30 13:59:09 +02:00
Thomas Binsfeld
f40bc23712 [FIX] Product Contract: copy invoicing partner to created contract 2023-03-30 13:59:09 +02:00
sbejaoui
8a863009ab [IMP] - auto_renew_rule deducted from recurring_rule_type and product_uom_qty 2023-03-30 13:59:09 +02:00
Thomas Binsfeld
9748620020 [ADD] Contract Sale: fiscal position 2023-03-30 13:59:09 +02:00
sbejaoui
0080d1a419 [IMP] - Simplify sale order line creation for contract product 2023-03-30 13:59:09 +02:00
sbejaoui
9585076924 [REF] - predecessor_contract_line set in create process 2023-03-30 13:59:09 +02:00
sbejaoui
0f76c80372 [IMP] - Add unit test 2023-03-30 13:59:09 +02:00
sbejaoui
c38ce55f2c [FIX] - fix unit tests 2023-03-30 13:59:09 +02:00
sbejaoui
4f01dcb7d1 [IMP] - update invoice_line vals only if it is not null 2023-03-30 13:59:09 +02:00
Thomas Binsfeld
a6ac4fef8a [ADD] Product Contract: payment term 2023-03-30 13:59:09 +02:00
sbejaoui
b2d61e2c33 [FIX] - fix flake8 2023-03-30 13:59:09 +02:00
Thomas Binsfeld
3e6f50b8e9 [REF] Contract Product: invoice in prepare_invoice_line is optional 2023-03-30 13:59:09 +02:00
sbejaoui
2fd7d8c0ec [IMP] - show related sale orders in contract form 2023-03-30 13:59:09 +02:00