Commit Graph

38 Commits

Author SHA1 Message Date
Adasat
74407ad19d [15.0][MIG] product_contract : Migration to 15.0 2023-12-13 14:47:42 +00:00
Mourad
5825d75551 [FIX][14.0] tests & typo 2023-07-26 13:12:02 +00:00
Mourad
0f075108c7 [IMP][14.0] refactor code of product_contract module (make easy inherit in other modules) 2023-07-26 13:12:02 +00:00
Ilyas
07d1f12675 [IMP] product_contract: code improvements 2023-07-26 13:12:02 +00:00
Mourad
8d76c2a6ae [MIG] product_contract: Migration to 14.0 2023-07-26 13:12:02 +00:00
Mourad
b14c3cf104 [IMP] product_contract: black, isort, prettier 2023-07-26 13:12:02 +00:00
sbejaoui
18e8fb7a72 [13.0][MIG] - migration product_contract 2023-07-26 13:12:02 +00:00
sbejaoui
cc56772b8e [IMP] - Contract: add new recurring_rule_type quarterly and semesterly 2023-07-26 13:12:02 +00:00
sbejaoui
9dd48e8d5d [IMP] - use terminate term instead of resiliate 2023-07-26 13:12:01 +00:00
sbejaoui
a31dd36d59 [IMP] - can't upsell or downsell a resiliated contract 2023-07-26 13:12:01 +00:00
Ernesto Tejeda
49c85c197b [FIX] product_contract: set 'Contract template' field company depend 2023-07-26 13:12:01 +00:00
sbejaoui
fde12514d7 [12.0][ADD] - add auto_renew_interval, auto_renew_rule_type fields to sale order line 2023-07-26 13:12:01 +00:00
sbejaoui
8a25333a77 [12.0][FIX] - Set contract line analytic account at contract creation from SO 2023-07-26 13:12:01 +00:00
sbejaoui
fe302a6991 [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2023-07-26 13:12:01 +00:00
sbejaoui
abf0e682f0 [12.0][REF] - Split analytic accouts and contracts 2023-07-26 13:12:01 +00:00
sbejaoui
22ad6534a7 [IMP] - permit contract selection without contract_template_id 2023-07-26 13:12:01 +00:00
sbejaoui
3153620ff0 [FIX] - date_end computed only for contract products 2023-07-26 13:12:01 +00:00
sbejaoui
576754d0bd [IMP] - cancel contract line if the downsell/upsell comes before 2023-07-26 13:12:01 +00:00
sbejaoui
4cd468b7b2 [FIX] - Fix recurring_next_date 2023-07-26 13:12:01 +00:00
sbejaoui
1707ac954d [IMP] - auto_renew_rule deducted from recurring_rule_type and product_uom_qty 2023-07-26 13:12:01 +00:00
sbejaoui
2010e9bf36 [IMP] - Simplify sale order line creation for contract product 2023-07-26 13:12:01 +00:00
sbejaoui
4d4e1c4fb3 [REF] - predecessor_contract_line set in create process 2023-07-26 13:12:01 +00:00
sbejaoui
7a79ad7b39 [REM] - Remove unused method 2023-07-26 13:12:01 +00:00
sbejaoui
06a1c8ae9e [FIX] - include date_end in the period if the product is_autorenew 2023-07-26 13:12:01 +00:00
sbejaoui
9538a7e057 [FIX] - fix onchange 2023-07-26 13:12:01 +00:00
sbejaoui
2de8494fcb [FIX] - on upsel, contract line should stop day - 1 2023-07-26 13:12:01 +00:00
sbejaoui
7c9bbd95ee [IMP] - link contract line and its successor in upsel case 2023-07-26 13:12:01 +00:00
sbejaoui
737091c016 [IMP] - compute date end onchange date start for auto-renew sale order lines 2023-07-26 13:12:01 +00:00
sbejaoui
881eb87c2c [ADD] - Add renewal process with termination notice 2023-07-26 13:12:01 +00:00
sbejaoui
1f15f63951 [IMP] - Upsell/Downsell contract from sale order 2023-07-26 13:12:01 +00:00
sbejaoui
b6d8644583 [FIX] - Compute recurring_next_date before create contract line 2023-07-26 13:12:01 +00:00
sbejaoui
2a9745b5db [FIX] - Default value for date_start applied on product change 2023-07-26 13:12:01 +00:00
sbejaoui
f7b0c0a327 [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
2023-07-26 13:12:01 +00:00
sbejaoui
d44dff5d2c [FIX] - Remove recurring_next_date from sale order line
recurring_next_date should be computed by contract line to get default value
2023-07-26 13:12:01 +00:00
sbejaoui
e6134d1546 [IMP] - Link contract line to sale order line 2023-07-26 13:12:01 +00:00
sbejaoui
33f6ad70bf [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
2023-07-26 13:12:01 +00:00
sbejaoui
03b9d23ae0 [IMP] - Add recurrence fields to product template and sale order line 2023-07-26 13:12:01 +00:00
Ted Salmon
1c444627b9 [ADD] product_contract: Create module
* Add contract functionality to `product.templates`
* Add logic to create contracts from `sale.order` that contains contract products.
2023-07-26 13:12:01 +00:00