Commit Graph

10 Commits

Author SHA1 Message Date
Carlos Roca
c16970c765 [MIG] contract_variable_quantity: Migration to v13 2024-07-22 11:49:58 +02:00
Carlos Roca
3cb0d88dec [IMP] contract_variable_quantity: black, isort, prettier 2024-07-22 11:49:58 +02:00
Pedro M. Baeza
9dea55a137 [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-07-22 11:49:58 +02:00
sbejaoui
02aae61126 [12.0][REF] - Contract Variable quantity: split from analytic accoun 2024-07-22 11:49:58 +02:00
sbejaoui
91dbf6527e [REF] - Use method _get_quantity_to_invoice. 2024-07-22 11:49:58 +02:00
sbejaoui
89918c402e [FIX] - fix check quantity = 0 2024-07-22 11:49:58 +02:00
sbejaoui
cbfc082b75 [FIX] - Fix unit tests 2024-07-22 11:49:58 +02:00
sbejaoui
140c59fd96 [IMP] - Skip zero should ignore lines with qty zero even for fixed qty 2024-07-22 11:49:58 +02:00
Thomas Binsfeld
ff5f2448b6 [REF] Contract: invoice in prepare_invoice_line is optional 2024-07-22 11:49:58 +02:00
sbejaoui
f909cadc2b [IMP] Adapt unit test 2024-07-22 11:49:58 +02:00