Commit Graph

8 Commits

Author SHA1 Message Date
Pedro M. Baeza
96d1abeb6c [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.
2020-01-24 00:38:01 +01:00
sbejaoui
d42b14667e [12.0][REF] - Contract Variable quantity: split from analytic accoun 2019-09-30 12:01:22 +02:00
sbejaoui
c4a76debe3 [REF] - Use method _get_quantity_to_invoice. 2019-09-30 10:33:54 +02:00
sbejaoui
bd49940c68 [FIX] - fix check quantity = 0 2019-09-30 10:33:54 +02:00
sbejaoui
a55ea6bb33 [FIX] - Fix unit tests 2019-09-30 10:33:54 +02:00
sbejaoui
24869ff565 [IMP] - Skip zero should ignore lines with qty zero even for fixed qty 2019-09-30 10:33:54 +02:00
Thomas Binsfeld
a44624b5f4 [REF] Contract: invoice in prepare_invoice_line is optional 2019-09-30 10:33:54 +02:00
sbejaoui
9e65b1c47f [IMP] Adapt unit test 2019-09-30 10:33:54 +02:00