Commit Graph

16 Commits

Author SHA1 Message Date
Ilyas
7856cf6ebd [IMP] product_contract: code improvements 2023-11-09 15:05:40 +01:00
Ilyas
4d312fb0a4 [IMP] product_contract: use _compute_display_name. Moved it to contract module. 2023-11-09 15:05:40 +01:00
sbejaoui
40c4c687d3 [13.0][MIG] - migration product_contract 2023-11-09 15:05:40 +01:00
sbejaoui
879212bc95 [12.0][ADD] - add auto_renew_interval, auto_renew_rule_type fields to sale order line 2023-11-09 15:05:40 +01:00
Pedro M. Baeza
25982d0cf7 [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-11-09 15:05:40 +01:00
sbejaoui
b8fa244fc7 [12.0][REF] - Split analytic accouts and contracts 2023-11-09 15:05:40 +01:00
sbejaoui
b0920c370c [FIX] - fix display name compute dependecy 2023-11-09 15:05:40 +01:00
Quentin Groulard
f9218d37b3 [ADD] Add start_date to contract_line display_name
In order to help distinguishing lines with the same name
2023-11-09 15:05:40 +01:00
sbejaoui
b38a406158 [FIX] - Get auto_renew_rule_type based on recurring_rule_type 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
02f338ac5b [IMP] - update invoice_line vals only if it is not null 2023-11-09 15:05:40 +01:00
Thomas Binsfeld
e7df781daa [REF] Contract Product: invoice in prepare_invoice_line is optional 2023-11-09 15:05:40 +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
06ec626e2a [FIX] - Remove recurring_next_date from sale order line
recurring_next_date should be computed by contract line to get default value
2023-11-09 15:05:39 +01:00
sbejaoui
9d64e6f21a [IMP] - Link contract line to sale order line 2023-11-09 15:05:39 +01:00