Commit Graph

9 Commits

Author SHA1 Message Date
Carlos Roca
03f82ac325 [IMP] contract_variable_quantity: black, isort, prettier 2020-10-27 13:35:26 +01:00
Pedro M. Baeza
0b7abba010 [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-10-27 13:33:07 +01:00
sbejaoui
af5433dcf2 [12.0][REF] - Contract Variable quantity: split from analytic accoun 2020-10-27 13:33:07 +01:00
sbejaoui
caf7976d6c [REF] - Use method _get_quantity_to_invoice. 2020-10-27 13:33:07 +01:00
sbejaoui
765a9f1ba7 [FIX] - fix check quantity = 0 2020-10-27 13:33:07 +01:00
sbejaoui
c9e173d720 [FIX] - Fix unit tests 2020-10-27 13:33:07 +01:00
sbejaoui
9516d2edac [IMP] - Skip zero should ignore lines with qty zero even for fixed qty 2020-10-27 13:33:07 +01:00
Thomas Binsfeld
f2b6299e8a [REF] Contract: invoice in prepare_invoice_line is optional 2020-10-27 13:33:07 +01:00
sbejaoui
733f7751d3 [IMP] Adapt unit test 2020-10-27 13:33:07 +01:00