Commit Graph

33 Commits

Author SHA1 Message Date
nans
2a181deca9 [REF] product_contract: micro-refactoring to ease overrides 2020-12-11 13:17:00 +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
bdaa8d30a6 Merge PR #471 into 12.0
Signed-off-by sbejaoui
2020-03-17 20:06:31 +00: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
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
sbejaoui
4236fe33ed [12.0][FIX] - Set contract line analytic account at contract creation from SO 2019-12-30 15:11:14 +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
424f819d87 [12.0][REF] - Split analytic accouts and contracts 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
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
133dd1e42b [FIX] - Fix recurring_next_date 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
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
d4f6c9b97c [REM] - Remove unused method 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
sbejaoui
4c7a314ef6 [IMP] - compute date end onchange date start for auto-renew sale order lines 2019-10-01 09:23:30 +02:00
sbejaoui
d12a9110ee [ADD] - Add renewal process with termination notice 2019-10-01 09:23:30 +02:00
sbejaoui
29a83d7769 [IMP] - Upsell/Downsell contract from sale order 2019-10-01 09:23:30 +02:00
sbejaoui
c8ec4f3404 [FIX] - Compute recurring_next_date before create contract line 2019-10-01 09:23:30 +02:00
sbejaoui
f3a261d514 [FIX] - Default value for date_start applied on product change 2019-10-01 09:23:30 +02:00
sbejaoui
147c40acaa [IMP] - Contract product are ignored on invoicing process
- Sale order line for contract product pass to nothing to invoice on order confirmation
- Contract Invoices are linked to sale order line
2019-10-01 09:23:30 +02:00
sbejaoui
3c882b6764 [FIX] - Remove recurring_next_date from sale order line
recurring_next_date should be computed by contract line to get default value
2019-10-01 09:23:30 +02:00
sbejaoui
44b7798a80 [IMP] - Link contract line to sale order line 2019-10-01 09:23:30 +02:00
sbejaoui
16f480c04c [IMP] - Create contract on sale order confirmation
- On Sale Order confirmation, a contract is created for each contract template used on sale order lines
- A not finished contract can be mentioned on sale order line
- A sale order line linked to a contract will update it and don't create a new one if it had the same template
2019-10-01 09:23:30 +02:00
sbejaoui
280eca9819 [IMP] - Add recurrence fields to product template and sale order line 2019-10-01 09:23:30 +02:00
Ted Salmon
43d21a3a4a [ADD] product_contract: Create module
* Add contract functionality to `product.templates`
* Add logic to create contracts from `sale.order` that contains contract products.
2019-10-01 09:20:17 +02:00