Commit Graph

99 Commits

Author SHA1 Message Date
OCA-git-bot
3fd5818e17 product_contract 12.0.3.1.1 2020-01-30 09:04:20 +00:00
OCA-git-bot
4b4fb37022 Merge PR #456 into 12.0
Signed-off-by sbidoul
2020-01-30 08:31:21 +00:00
Pedro M. Baeza
96d1abeb6c [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.
2020-01-24 00:38:01 +01:00
OCA-git-bot
d27f804851 product_contract 12.0.3.1.0 2020-01-17 11:19:02 +00:00
OCA-git-bot
e54a2aaa52 Merge PR #422 into 12.0
Signed-off-by sbidoul
2020-01-17 10:47:25 +00:00
Nelson Ramírez Sánchez
3401468b7d 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/
2020-01-17 04:13:31 +00:00
OCA Transbot
73d076b505 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/
2020-01-07 19:05:05 +00:00
OCA-git-bot
ec683824f3 product_contract 12.0.3.0.1 2020-01-07 19:04:50 +00:00
oca-travis
a95f7b2d4e [UPD] Update product_contract.pot 2020-01-07 18:49:28 +00:00
sbejaoui
4236fe33ed [12.0][FIX] - Set contract line analytic account at contract creation from SO 2019-12-30 15:11:14 +01:00
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
sbejaoui
1e9755d1e0 [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
2019-11-26 11:16:49 +01: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