Commit Graph

63 Commits

Author SHA1 Message Date
Marcel Savegnago
db74a28a35 [IMP] add pricelist_id and currency_id on contract values 2021-06-24 20:26:33 -03:00
nans
2a181deca9 [REF] product_contract: micro-refactoring to ease overrides 2020-12-11 13:17:00 +01:00
Kay Häusler
4087893a8c [FIX] Avoid singleton error 2020-12-03 20:37:09 +01:00
sbejaoui
019ecefa51 [IMP] - Contract: add new recurring_rule_type quarterly and semesterly 2020-05-18 09:54:09 +02:00
OCA-git-bot
34ccb999f7 Merge PR #485 into 12.0
Signed-off-by dreispt
2020-04-06 11:35:59 +00:00
OCA-git-bot
4950ce0740 Merge PR #462 into 12.0
Signed-off-by sbejaoui
2020-03-18 17:01:38 +00:00
OCA-git-bot
bdaa8d30a6 Merge PR #471 into 12.0
Signed-off-by sbejaoui
2020-03-17 20:06:31 +00:00
sbejaoui
52f8007408 [12.0][FIX] - fix contract creation group by contract template 2020-03-17 17:56:50 +01:00
sbejaoui
e71fcc1694 [IMP] - use terminate term instead of resiliate 2020-03-11 11:13:13 +01:00
sbejaoui
41a517bac1 [IMP] - can't upsell or downsell a resiliated contract 2020-03-10 11:12:51 +01:00
Ernesto Tejeda
500461396b [FIX] product_contract: set 'Contract template' field company depend 2020-03-09 16:06:17 +01:00
sbejaoui
7bb1b2e755 [IMP] - Improve UX, open contract form if the sale order is related to one (same for contract) 2020-03-02 16:23:36 +01:00
sbejaoui
b5378f5749 [12.0][ADD] - add auto_renew_interval, auto_renew_rule_type fields to sale order line 2020-02-27 15:52:43 +01:00
Oscar Soto
5224bf2173 [FIX]contract_count == len(active contracts) 2020-02-05 16:09:36 +01: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
e54a2aaa52 Merge PR #422 into 12.0
Signed-off-by sbidoul
2020-01-17 10:47:25 +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
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
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
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
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
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
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
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
a17695e4ae [FIX] - fix onchange 2019-10-01 09:23:30 +02:00
sbejaoui
478c9b01ca [FIX] - on upsel, contract line should stop day - 1 2019-10-01 09:23:30 +02:00
sbejaoui
6d7774885a [IMP] - link contract line and its successor in upsel case 2019-10-01 09:23:30 +02:00