Commit Graph

88 Commits

Author SHA1 Message Date
OCA-git-bot
7a0c2ee100 product_contract 12.0.3.0.0 2019-12-12 09:46:04 +00:00
OCA-git-bot
755a03562b Merge PR #434 into 12.0
Signed-off-by pedrobaeza
2019-12-12 09:07:15 +00:00
sbejaoui
ab4ed31e39 [IMP] - Set recurring_invoicing_type for existing products set to monthlylastday 2019-12-09 16:57:56 +01:00
Stéphane Bidoul (ACSONE)
557097be2d [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.
2019-12-09 13:17:15 +01:00
Martronic SA
d89b2abe41 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/
2019-12-06 12:04:44 +00:00
Bole
8ffdac16f4 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/
2019-12-02 16:28:30 +00:00
OCA-git-bot
41ea2e3175 product_contract 12.0.2.0.2 2019-10-30 19:07:01 +00:00
sbejaoui
e1a399e14b [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
2019-10-30 19:30:04 +01:00
Rudolf Schnapka
e500a5e870 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/
2019-10-29 21:33:33 +00:00
Eder Brito
b5f85c5938 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/
2019-10-10 20:36:56 +00:00
Maria Sparenberg
bb71136b06 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/
2019-10-09 13:36:40 +00:00
OCA-git-bot
038d524eba product_contract 12.0.2.0.1 2019-10-02 01:34:07 +00:00
OCA-git-bot
6e545d595a Merge PR #388 into 12.0
Signed-off-by pedrobaeza
2019-10-01 21:35:50 +00:00
OCA Transbot
29a46b27ef 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/
2019-10-01 14:00:25 +00:00
oca-travis
e5877b9b28 [UPD] Update product_contract.pot 2019-10-01 14:00:12 +00:00
sbejaoui
b8550fce37 [FIX] - Remove deprecated field 2019-10-01 15:06:37 +02:00
OCA-git-bot
371a7066ea [ADD] icon.png 2019-10-01 11:35:53 +00:00
OCA-git-bot
0edeaf367e [UPD] README.rst 2019-10-01 11:35:52 +00:00
sbejaoui
738f53a6c7 [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2019-10-01 10:51:50 +02:00
sbejaoui
422e3699c5 [IMP] - improve is contract visibility in product view 2019-10-01 09:23:30 +02:00
sbejaoui
9d44088707 [12.0][IMP] - Improve unit tests 2019-10-01 09:23:30 +02:00
sbejaoui
424f819d87 [12.0][REF] - Split analytic accouts and contracts 2019-10-01 09:23:30 +02:00
sbejaoui
ae1b366692 [12.0][FIX] - create contract only on sale and done states 2019-10-01 09:23:30 +02:00
sbejaoui
2067a645fd [FIX] - fix display name compute dependecy 2019-10-01 09:23:30 +02:00
sbejaoui
27b157dcc8 [12.0][IMP] - option to decide if we automaticallt create contract a sale confirm 2019-10-01 09:23:30 +02:00
Quentin Groulard
1161905e97 [ADD] Add start_date to contract_line display_name
In order to help distinguishing lines with the same name
2019-10-01 09:23:30 +02:00
sbejaoui
50aeb77ec0 [IMP] - permit contract selection without contract_template_id 2019-10-01 09:23:30 +02:00
Thomas Binsfeld
e88df804e7 [REF] Contract: set order count to 0 if no access to orders 2019-10-01 09:23:30 +02:00
sbejaoui
19edd4ce7a [FIX] - date_end computed only for contract products 2019-10-01 09:23:30 +02:00
sbejaoui
662e12e038 [IMP] - cancel contract line if the downsell/upsell comes before 2019-10-01 09:23:30 +02:00
sbejaoui
6192a13fe1 [FIX] - Get auto_renew_rule_type based on recurring_rule_type 2019-10-01 09:23:30 +02:00
sbejaoui
850f6403da [FIX] - date_end required only for contract product 2019-10-01 09:23:30 +02:00
sbejaoui
133dd1e42b [FIX] - Fix recurring_next_date 2019-10-01 09:23:30 +02:00
Thomas Binsfeld
0c118d8f3e [FIX] Product Contract: copy invoicing partner to created contract 2019-10-01 09:23:30 +02:00
sbejaoui
47aa7e1372 [IMP] - auto_renew_rule deducted from recurring_rule_type and product_uom_qty 2019-10-01 09:23:30 +02:00
Thomas Binsfeld
066a7397b8 [ADD] Contract Sale: fiscal position 2019-10-01 09:23:30 +02:00
sbejaoui
df451582fc [IMP] - Simplify sale order line creation for contract product 2019-10-01 09:23:30 +02:00
sbejaoui
b3db76f2de [REF] - predecessor_contract_line set in create process 2019-10-01 09:23:30 +02:00
sbejaoui
6e9eeed179 [IMP] - Add unit test 2019-10-01 09:23:30 +02:00
sbejaoui
d24f99a407 [FIX] - fix unit tests 2019-10-01 09:23:30 +02:00
sbejaoui
ba6e7840b6 [IMP] - update invoice_line vals only if it is not null 2019-10-01 09:23:30 +02:00
Thomas Binsfeld
1c69339970 [ADD] Product Contract: payment term 2019-10-01 09:23:30 +02:00
sbejaoui
2aca05b59e [FIX] - fix flake8 2019-10-01 09:23:30 +02:00
Thomas Binsfeld
2ad68f94a8 [REF] Contract Product: invoice in prepare_invoice_line is optional 2019-10-01 09:23:30 +02:00
sbejaoui
c5929d3005 [IMP] - show related sale orders in contract form 2019-10-01 09:23:30 +02:00
sbejaoui
b9ffcd5054 [IMP] - get contract user from sale order user 2019-10-01 09:23:30 +02:00
sbejaoui
d4f6c9b97c [REM] - Remove unused method 2019-10-01 09:23:30 +02:00
sbejaoui
fc47a1edef [IMP] - _prepare_contract_value for sale order confirm 2019-10-01 09:23:30 +02:00
sbejaoui
326ced58c9 [FIX] - include date_end in the period if the product is_autorenew 2019-10-01 09:23:30 +02:00
sbejaoui
639d2ee524 [IMP] - hide recurring_invoicing_type if recurring_rule_type is monthlylastday
for the monthlylastday case, pre-paid is logicly impossible,
if monthlylastday is set, we consider only post-paid case
2019-10-01 09:23:30 +02:00