Commit Graph

23 Commits

Author SHA1 Message Date
Thomas Binsfeld
fbebeb4e38 [ADD] Product Contract: payment term 2023-07-26 13:12:01 +00:00
Thomas Binsfeld
fe93bf4fe8 [REF] Contract Product: invoice in prepare_invoice_line is optional 2023-07-26 13:12:01 +00:00
sbejaoui
aac6878faa [IMP] - show related sale orders in contract form 2023-07-26 13:12:01 +00:00
sbejaoui
e6eceaac96 [IMP] - get contract user from sale order user 2023-07-26 13:12:01 +00:00
sbejaoui
7a79ad7b39 [REM] - Remove unused method 2023-07-26 13:12:01 +00:00
sbejaoui
d2a58aea80 [IMP] - _prepare_contract_value for sale order confirm 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
211f7125f3 [IMP] - Onchange contract product on contract contract and contract template 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
sbejaoui
0a9bed157e [IMP] - Product with is_contract can be only of type service 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