account-invoicing
account-invoicing copied to clipboard
[FIX] 14.0 account_invoice_fixed_discount: fixed using discount_fixed on free account move line
If there is a discount_fixed
on a line with a price_unit
either False
or 0
, _get_price_total_and_subtotal_model
, _get_fields_onchange_balance_model
, and create
would raise a ZeroDivisionError
. This is now fixed.