summaryrefslogtreecommitdiff
path: root/doc/_extensions/autojsdoc/parser/parser.py
diff options
context:
space:
mode:
authorJorge Pinna Puissant <jpp@odoo.com>2019-05-17 12:22:58 +0000
committerJorge Pinna Puissant <jpp@odoo.com>2019-05-17 13:31:44 +0000
commit418babf7af7b52ba3aef120de9be49dea9669b74 (patch)
tree74426b75e53b0ab542b770be850e796d62367b71 /doc/_extensions/autojsdoc/parser/parser.py
parentd48da27e641cfaf86a7f2535a6a2de3bf8d9006e (diff)
[FIX] account: Invoice Analysis product quantity
To calculate the product quantity and the average price, two UOM are used: The UOM of the product, and the UOM of the invoice line. The UOM of the product it's mandatory in the product, but the product itself it's not mandatory in the invoice. The UOM of the invoice line it's not mandatory. When either of the UOM is not filled, it gives as value NULL, and gives 'empty' as result of the calculation. Now, we use the psql function COALESCE to return '1' when one of the UOM is not filled. closes odoo/odoo#33465 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'doc/_extensions/autojsdoc/parser/parser.py')
0 files changed, 0 insertions, 0 deletions