Commit Graph

24 Commits

Author SHA1 Message Date
sbejaoui
0e0d8ecd6c [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2022-06-18 14:50:18 +02:00
sbejaoui
677b955b49 [12.0][IMP] - Improve unit tests 2022-06-18 14:50:18 +02:00
sbejaoui
df1880e81a [12.0][REF] - Split analytic accouts and contracts 2022-06-18 14:50:18 +02:00
sbejaoui
e875e1be6b [12.0][IMP] - option to decide if we automaticallt create contract a sale confirm 2022-06-18 14:50:18 +02:00
sbejaoui
4db07b7665 [IMP] - cancel contract line if the downsell/upsell comes before 2022-06-18 14:50:18 +02:00
sbejaoui
f2b5fa6318 [FIX] - Fix recurring_next_date 2022-06-18 14:50:18 +02:00
sbejaoui
48b9fa255c [IMP] - Simplify sale order line creation for contract product 2022-06-18 14:50:18 +02:00
sbejaoui
0d4c9a9445 [IMP] - Add unit test 2022-06-18 14:50:18 +02:00
sbejaoui
950975dd1a [FIX] - fix unit tests 2022-06-18 14:50:18 +02:00
sbejaoui
aa6124a61f [FIX] - fix flake8 2022-06-18 14:50:18 +02:00
sbejaoui
d41c186360 [FIX] - include date_end in the period if the product is_autorenew 2022-06-18 14:50:18 +02:00
sbejaoui
0b2d747eb8 [FIX] - fix onchange 2022-06-18 14:50:18 +02:00
sbejaoui
9a91ee31b9 [FIX] - on upsel, contract line should stop day - 1 2022-06-18 14:50:18 +02:00
sbejaoui
808e87007d [IMP] - link contract line and its successor in upsel case 2022-06-18 14:50:18 +02:00
sbejaoui
a842f29af2 [ADD] - Add renewal process with termination notice 2022-06-18 14:50:18 +02:00
sbejaoui
cd3c602175 [IMP] - Upsell/Downsell contract from sale order 2022-06-18 14:50:18 +02:00
sbejaoui
d298a43c04 [FIX] - Compute recurring_next_date before create contract line 2022-06-18 14:50:18 +02:00
sbejaoui
c9915a121a [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
2022-06-18 14:50:18 +02:00
sbejaoui
95a3e0c63b [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
2022-06-18 14:50:18 +02:00
sbejaoui
a4dc864746 [IMP] - Add recurrence fields to product template and sale order line 2022-06-18 14:50:18 +02:00
sbejaoui
4b260d57bb [IMP] - Product with is_contract can be only of type service 2022-06-18 14:50:18 +02:00
Florent THOMAS
c0078d7ee8 [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
2022-06-18 14:50:18 +02:00
Dave Lasley
ac4e394c47 [FIX] product_contract: Fix mock usage in tests 2022-06-18 14:50:17 +02:00
Ted Salmon
5b970e39e3 [ADD] product_contract: Create module
* Add contract functionality to `product.templates`
* Add logic to create contracts from `sale.order` that contains contract products.
2022-06-18 14:50:17 +02:00