Commit Graph

8 Commits

Author SHA1 Message Date
Pedro M. Baeza
b90cd9c876 [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.
2021-09-23 16:47:59 +02:00
sbejaoui
6ec2228059 [12.0][REF] - Contract Variable quantity: split from analytic accoun 2021-09-23 16:47:59 +02:00
sbejaoui
ba3e49c6b8 [REF] - Use method _get_quantity_to_invoice. 2021-09-23 16:47:59 +02:00
sbejaoui
0caeffffa6 [FIX] - fix check quantity = 0 2021-09-23 16:47:59 +02:00
sbejaoui
5d5fb6757b [FIX] - Fix unit tests 2021-09-23 16:47:59 +02:00
sbejaoui
c42fba6b2e [IMP] - Skip zero should ignore lines with qty zero even for fixed qty 2021-09-23 16:47:59 +02:00
Thomas Binsfeld
3dd086fb38 [REF] Contract: invoice in prepare_invoice_line is optional 2021-09-23 16:47:59 +02:00
sbejaoui
7ecea4c18f [IMP] Adapt unit test 2021-09-23 16:47:59 +02:00