Skip to content
Snippets Groups Projects
Commit 7830655e authored by Pouya Malekinejad's avatar Pouya Malekinejad
Browse files

[FIX] account: account.move.line calculate non-None values


Functions like `_get_price_total_and_subtotal` should be able to handle false-y values like 0 or empty recordset,
currently invoking them with these values (e.g. discount=0) leads to use record values instead of given values.

closes odoo/odoo#91030

X-original-commit: 045aaf31
Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent 84775d1b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment