Skip to content
Snippets Groups Projects
Commit 045aaf31 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` shoukd be able to handel falsy values like 0 or empty recordset,
currently invoking them with this values (e.g. discount=0) leads to use record values instead of given values.

closes odoo/odoo#91005

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent f97fe80f
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