Commit Graph

10 Commits

Author SHA1 Message Date
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
3c82c2cfeb [IMP] - Change dependencies to contract_sale 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
sbejaoui
08e2c303cc [MIG] - Product Contract Migration to 12.0 2023-07-26 13:12:01 +00:00
Florent THOMAS
6f5e446a15 [FIX] contract_sale_generation: it doesn't create sales (#141)
* Change the method called in the view
* Complete the create_invoice method
* Bump version + authoring
* Correct bad call of method
  Small Documentation
* Add super call in python test
* FIX bad field names causing bad quantities in sale.order.line
2023-07-26 13:12:01 +00:00
Dave Lasley
2296997a48 [FIX] product_contract: Fix mock usage in tests 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