Commit Graph

22 Commits

Author SHA1 Message Date
sbejaoui
b8fa244fc7 [12.0][REF] - Split analytic accouts and contracts 2023-11-09 15:05:40 +01:00
sbejaoui
1795723b62 [12.0][IMP] - option to decide if we automaticallt create contract a sale confirm 2023-11-09 15:05:40 +01:00
sbejaoui
e6b020caad [IMP] - cancel contract line if the downsell/upsell comes before 2023-11-09 15:05:40 +01:00
sbejaoui
95cfc9dbe9 [FIX] - Fix recurring_next_date 2023-11-09 15:05:40 +01:00
sbejaoui
8ac0791418 [IMP] - Simplify sale order line creation for contract product 2023-11-09 15:05:40 +01:00
sbejaoui
a42a1fbbca [IMP] - Add unit test 2023-11-09 15:05:40 +01:00
sbejaoui
8bb36ab188 [FIX] - fix unit tests 2023-11-09 15:05:40 +01:00
sbejaoui
5f30846810 [FIX] - fix flake8 2023-11-09 15:05:40 +01:00
sbejaoui
758eac6f1e [FIX] - include date_end in the period if the product is_autorenew 2023-11-09 15:05:40 +01:00
sbejaoui
d081d7e067 [FIX] - fix onchange 2023-11-09 15:05:40 +01:00
sbejaoui
1426baa447 [FIX] - on upsel, contract line should stop day - 1 2023-11-09 15:05:40 +01:00
sbejaoui
c218efbd16 [IMP] - link contract line and its successor in upsel case 2023-11-09 15:05:40 +01:00
sbejaoui
4ce0cb8780 [ADD] - Add renewal process with termination notice 2023-11-09 15:05:39 +01:00
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
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
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
Florent THOMAS
fc4cdef641 [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-11-09 15:05:39 +01:00
Dave Lasley
a1aef2af38 [FIX] product_contract: Fix mock usage in tests 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