Commit Graph

17 Commits

Author SHA1 Message Date
Rad0van
1b930d402e [MIG] product_contract: Migration to 16.0 2024-05-06 17:49:07 +02:00
Ilyas
f8909cfc06 [IMP] product_contract: code improvements 2024-05-06 17:49:07 +02:00
Ilyas
e4244d4ad8 [IMP] product_contract: use _compute_display_name. Moved it to contract module. 2024-05-06 17:49:07 +02:00
sbejaoui
e73d760569 [13.0][MIG] - migration product_contract 2024-05-06 17:49:07 +02:00
sbejaoui
e4c2bbc391 [12.0][ADD] - add auto_renew_interval, auto_renew_rule_type fields to sale order line 2024-05-06 17:49:07 +02:00
Pedro M. Baeza
94cbb79aec [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.
2024-05-06 17:49:07 +02:00
sbejaoui
14642e0bff [12.0][REF] - Split analytic accouts and contracts 2024-05-06 17:49:07 +02:00
sbejaoui
7ea0bf3c1c [FIX] - fix display name compute dependecy 2024-05-06 17:49:07 +02:00
Quentin Groulard
a1cdd4169d [ADD] Add start_date to contract_line display_name
In order to help distinguishing lines with the same name
2024-05-06 17:49:07 +02:00
sbejaoui
06841a2dc9 [FIX] - Get auto_renew_rule_type based on recurring_rule_type 2024-05-06 17:49:07 +02:00
sbejaoui
998d8ab9bd [IMP] - Simplify sale order line creation for contract product 2024-05-06 17:49:07 +02:00
sbejaoui
4332d4dd9a [IMP] - Add unit test 2024-05-06 17:49:07 +02:00
sbejaoui
3bdb7e99f0 [IMP] - update invoice_line vals only if it is not null 2024-05-06 17:49:07 +02:00
Thomas Binsfeld
596da0957f [REF] Contract Product: invoice in prepare_invoice_line is optional 2024-05-06 17:49:07 +02:00
sbejaoui
9d01b3e20c [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
2024-05-06 17:49:07 +02:00
sbejaoui
26a3cbe417 [FIX] - Remove recurring_next_date from sale order line
recurring_next_date should be computed by contract line to get default value
2024-05-06 17:49:07 +02:00
sbejaoui
6be193af2f [IMP] - Link contract line to sale order line 2024-05-06 17:49:07 +02:00