Commit Graph

16 Commits

Author SHA1 Message Date
Ilyas
f3cb7beb71 [IMP] product_contract: code improvements 2023-04-06 11:48:10 +02:00
Ilyas
72c7743293 [IMP] product_contract: use _compute_display_name. Moved it to contract module. 2023-04-03 11:23:53 +02:00
sbejaoui
417702f3d5 [13.0][MIG] - migration product_contract 2023-03-30 13:59:09 +02:00
sbejaoui
d1e5f6bb69 [12.0][ADD] - add auto_renew_interval, auto_renew_rule_type fields to sale order line 2023-03-30 13:59:09 +02:00
Pedro M. Baeza
e924f3d143 [IMP] contract: remove redundant method
I have detected a method that was created as redundant and with the same
technique used when preparing the line values, so better to have
everything together in the same method instead of having it spread.
2023-03-30 13:59:09 +02:00
sbejaoui
c16bf2fe2e [12.0][REF] - Split analytic accouts and contracts 2023-03-30 13:59:09 +02:00
sbejaoui
e2d499bfd6 [FIX] - fix display name compute dependecy 2023-03-30 13:59:09 +02:00
Quentin Groulard
eef7614269 [ADD] Add start_date to contract_line display_name
In order to help distinguishing lines with the same name
2023-03-30 13:59:09 +02:00
sbejaoui
1859c3d5d5 [FIX] - Get auto_renew_rule_type based on recurring_rule_type 2023-03-30 13:59:09 +02:00
sbejaoui
0080d1a419 [IMP] - Simplify sale order line creation for contract product 2023-03-30 13:59:09 +02:00
sbejaoui
0f76c80372 [IMP] - Add unit test 2023-03-30 13:59:09 +02:00
sbejaoui
4f01dcb7d1 [IMP] - update invoice_line vals only if it is not null 2023-03-30 13:59:09 +02:00
Thomas Binsfeld
3e6f50b8e9 [REF] Contract Product: invoice in prepare_invoice_line is optional 2023-03-30 13:59:09 +02:00
sbejaoui
6ccedf53ec [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-03-30 13:59:09 +02:00
sbejaoui
6167501f3b [FIX] - Remove recurring_next_date from sale order line
recurring_next_date should be computed by contract line to get default value
2023-03-30 13:59:09 +02:00
sbejaoui
82506d9468 [IMP] - Link contract line to sale order line 2023-03-30 13:59:09 +02:00