Commit Graph

11 Commits

Author SHA1 Message Date
sbejaoui
4db2c556ae [IMP] - Upsell/Downsell contract from sale order 2023-11-09 15:05:39 +01:00
sbejaoui
1875a60067 [FIX] - Compute recurring_next_date before create contract line 2023-11-09 15:05:39 +01:00
sbejaoui
6762d120e8 [IMP] - Onchange contract product on contract contract and contract template 2023-11-09 15:05:39 +01:00
sbejaoui
3679d75dc8 [FIX] - Default value for date_start applied on product change 2023-11-09 15:05:39 +01:00
sbejaoui
5d626d6385 [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-11-09 15:05:39 +01:00
sbejaoui
06ec626e2a [FIX] - Remove recurring_next_date from sale order line
recurring_next_date should be computed by contract line to get default value
2023-11-09 15:05:39 +01:00
sbejaoui
9d64e6f21a [IMP] - Link contract line to sale order line 2023-11-09 15:05:39 +01:00
sbejaoui
dc2b4aed7d [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-11-09 15:05:39 +01:00
sbejaoui
8b52763d8d [IMP] - Add recurrence fields to product template and sale order line 2023-11-09 15:05:39 +01:00
sbejaoui
981fc8ef77 [IMP] - Product with is_contract can be only of type service 2023-11-09 15:05:39 +01:00
Ted Salmon
7bbfbe1967 [ADD] product_contract: Create module
* Add contract functionality to `product.templates`
* Add logic to create contracts from `sale.order` that contains contract products.
2023-11-09 15:05:39 +01:00