Commit Graph

24 Commits

Author SHA1 Message Date
sbejaoui
738f53a6c7 [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2019-10-01 10:51:50 +02:00
sbejaoui
9d44088707 [12.0][IMP] - Improve unit tests 2019-10-01 09:23:30 +02:00
sbejaoui
424f819d87 [12.0][REF] - Split analytic accouts and contracts 2019-10-01 09:23:30 +02:00
sbejaoui
27b157dcc8 [12.0][IMP] - option to decide if we automaticallt create contract a sale confirm 2019-10-01 09:23:30 +02:00
sbejaoui
662e12e038 [IMP] - cancel contract line if the downsell/upsell comes before 2019-10-01 09:23:30 +02:00
sbejaoui
133dd1e42b [FIX] - Fix recurring_next_date 2019-10-01 09:23:30 +02:00
sbejaoui
df451582fc [IMP] - Simplify sale order line creation for contract product 2019-10-01 09:23:30 +02:00
sbejaoui
6e9eeed179 [IMP] - Add unit test 2019-10-01 09:23:30 +02:00
sbejaoui
d24f99a407 [FIX] - fix unit tests 2019-10-01 09:23:30 +02:00
sbejaoui
2aca05b59e [FIX] - fix flake8 2019-10-01 09:23:30 +02:00
sbejaoui
326ced58c9 [FIX] - include date_end in the period if the product is_autorenew 2019-10-01 09:23:30 +02:00
sbejaoui
a17695e4ae [FIX] - fix onchange 2019-10-01 09:23:30 +02:00
sbejaoui
478c9b01ca [FIX] - on upsel, contract line should stop day - 1 2019-10-01 09:23:30 +02:00
sbejaoui
6d7774885a [IMP] - link contract line and its successor in upsel case 2019-10-01 09:23:30 +02:00
sbejaoui
d12a9110ee [ADD] - Add renewal process with termination notice 2019-10-01 09:23:30 +02:00
sbejaoui
29a83d7769 [IMP] - Upsell/Downsell contract from sale order 2019-10-01 09:23:30 +02:00
sbejaoui
c8ec4f3404 [FIX] - Compute recurring_next_date before create contract line 2019-10-01 09:23:30 +02:00
sbejaoui
147c40acaa [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
2019-10-01 09:23:30 +02:00
sbejaoui
16f480c04c [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
2019-10-01 09:23:30 +02:00
sbejaoui
280eca9819 [IMP] - Add recurrence fields to product template and sale order line 2019-10-01 09:23:30 +02:00
sbejaoui
93440ccbce [IMP] - Product with is_contract can be only of type service 2019-10-01 09:23:30 +02:00
Florent THOMAS
589e9b0684 [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
2019-10-01 09:20:17 +02:00
Dave Lasley
7bb7eefd45 [FIX] product_contract: Fix mock usage in tests 2019-10-01 09:20:17 +02:00
Ted Salmon
43d21a3a4a [ADD] product_contract: Create module
* Add contract functionality to `product.templates`
* Add logic to create contracts from `sale.order` that contains contract products.
2019-10-01 09:20:17 +02:00