Commit Graph

871 Commits

Author SHA1 Message Date
Nelson Ramírez Sánchez
aecbfa7edb 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/
2022-06-18 14:50:18 +02:00
OCA Transbot
f8e9751160 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/
2022-06-18 14:50:18 +02:00
OCA-git-bot
8f4fd1ce9a product_contract 12.0.3.0.1 2022-06-18 14:50:18 +02:00
oca-travis
06c1bce9c7 [UPD] Update product_contract.pot 2022-06-18 14:50:18 +02:00
sbejaoui
a8f8d12767 [12.0][FIX] - Set contract line analytic account at contract creation from SO 2022-06-18 14:50:18 +02:00
OCA-git-bot
a7dfdbdd28 product_contract 12.0.3.0.0 2022-06-18 14:50:18 +02:00
sbejaoui
ba3a672da4 [IMP] - Set recurring_invoicing_type for existing products set to monthlylastday 2022-06-18 14:50:18 +02:00
Stéphane Bidoul (ACSONE)
d9067a6e78 [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.
2022-06-18 14:50:18 +02:00
Martronic SA
f5dcadb206 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/
2022-06-18 14:50:18 +02:00
Bole
28d35eba2f 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/
2022-06-18 14:50:18 +02:00
sbejaoui
d01e62fe35 [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
2022-06-18 14:50:18 +02:00
OCA-git-bot
3cf7d371f3 product_contract 12.0.2.0.2 2022-06-18 14:50:18 +02:00
sbejaoui
859799fabd [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
2022-06-18 14:50:18 +02:00
Rudolf Schnapka
a1989e22a3 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/
2022-06-18 14:50:18 +02:00
Eder Brito
729de7c7ef 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/
2022-06-18 14:50:18 +02:00
Maria Sparenberg
688eea3e95 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/
2022-06-18 14:50:18 +02:00
OCA-git-bot
70fdf6e9f4 product_contract 12.0.2.0.1 2022-06-18 14:50:18 +02:00
OCA Transbot
a0c89147d7 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/
2022-06-18 14:50:18 +02:00
oca-travis
07129face8 [UPD] Update product_contract.pot 2022-06-18 14:50:18 +02:00
sbejaoui
4e913ad3ee [FIX] - Remove deprecated field 2022-06-18 14:50:18 +02:00
OCA-git-bot
efb66c7385 [ADD] icon.png 2022-06-18 14:50:18 +02:00
OCA-git-bot
e02dccc15a [UPD] README.rst 2022-06-18 14:50:18 +02:00
sbejaoui
0e0d8ecd6c [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2022-06-18 14:50:18 +02:00
sbejaoui
46f9bb6234 [IMP] - improve is contract visibility in product view 2022-06-18 14:50:18 +02:00
sbejaoui
677b955b49 [12.0][IMP] - Improve unit tests 2022-06-18 14:50:18 +02:00
sbejaoui
df1880e81a [12.0][REF] - Split analytic accouts and contracts 2022-06-18 14:50:18 +02:00
sbejaoui
dc45925e0c [12.0][FIX] - create contract only on sale and done states 2022-06-18 14:50:18 +02:00
sbejaoui
e94c022c13 [FIX] - fix display name compute dependecy 2022-06-18 14:50:18 +02:00
sbejaoui
e875e1be6b [12.0][IMP] - option to decide if we automaticallt create contract a sale confirm 2022-06-18 14:50:18 +02:00
Quentin Groulard
74f487d665 [ADD] Add start_date to contract_line display_name
In order to help distinguishing lines with the same name
2022-06-18 14:50:18 +02:00
sbejaoui
412ec28dfc [IMP] - permit contract selection without contract_template_id 2022-06-18 14:50:18 +02:00
Thomas Binsfeld
3b147f532f [REF] Contract: set order count to 0 if no access to orders 2022-06-18 14:50:18 +02:00
sbejaoui
5c09b78c07 [FIX] - date_end computed only for contract products 2022-06-18 14:50:18 +02:00
sbejaoui
4db07b7665 [IMP] - cancel contract line if the downsell/upsell comes before 2022-06-18 14:50:18 +02:00
sbejaoui
0d178775ca [FIX] - Get auto_renew_rule_type based on recurring_rule_type 2022-06-18 14:50:18 +02:00
sbejaoui
487a75cb02 [FIX] - date_end required only for contract product 2022-06-18 14:50:18 +02:00
sbejaoui
f2b5fa6318 [FIX] - Fix recurring_next_date 2022-06-18 14:50:18 +02:00
Thomas Binsfeld
88df66f0ea [FIX] Product Contract: copy invoicing partner to created contract 2022-06-18 14:50:18 +02:00
sbejaoui
a3a17fec79 [IMP] - auto_renew_rule deducted from recurring_rule_type and product_uom_qty 2022-06-18 14:50:18 +02:00
Thomas Binsfeld
0a4f030249 [ADD] Contract Sale: fiscal position 2022-06-18 14:50:18 +02:00
sbejaoui
48b9fa255c [IMP] - Simplify sale order line creation for contract product 2022-06-18 14:50:18 +02:00
sbejaoui
8c618c9cd4 [REF] - predecessor_contract_line set in create process 2022-06-18 14:50:18 +02:00
sbejaoui
0d4c9a9445 [IMP] - Add unit test 2022-06-18 14:50:18 +02:00
sbejaoui
950975dd1a [FIX] - fix unit tests 2022-06-18 14:50:18 +02:00
sbejaoui
a60ca341c4 [IMP] - update invoice_line vals only if it is not null 2022-06-18 14:50:18 +02:00
Thomas Binsfeld
64e92d3773 [ADD] Product Contract: payment term 2022-06-18 14:50:18 +02:00
sbejaoui
aa6124a61f [FIX] - fix flake8 2022-06-18 14:50:18 +02:00
Thomas Binsfeld
4f2af0e866 [REF] Contract Product: invoice in prepare_invoice_line is optional 2022-06-18 14:50:18 +02:00
sbejaoui
1b9e84c373 [IMP] - show related sale orders in contract form 2022-06-18 14:50:18 +02:00
sbejaoui
f9e12edc86 [IMP] - get contract user from sale order user 2022-06-18 14:50:18 +02:00