summaryrefslogtreecommitdiff
path: root/addons/note/data
diff options
context:
space:
mode:
authorIvan Yelizariev <iel@odoo.com>2021-05-04 14:40:13 +0000
committerIvan Yelizariev <iel@odoo.com>2021-05-07 07:15:54 +0000
commit4ed6527cb414ee11d9bfac43a78dcc68ce233d07 (patch)
tree37339e6fd342821952acb5abd04b6aba96285f9a /addons/note/data
parent879647265bf804e63bd8e89ec3ca58b51ffb29ea (diff)
[FIX] sale: fix search "invoices is not set" for sale.order
BEFORE this commit query "invoices is not set" was tranformed to query "order_line.invoice_lines.invoice_id is False", which doesn't make sense, because invoice_id is required fields and hence always set. Hence, result of the query was always empty. AFTER: just check that there is no invoice_lines. Strictly speacking, is not the same as checking result of compute method, but because invoice_lines are supposed to be lines for invoices of out_* type, the result should be the same. --- opw-2516124 closes odoo/odoo#70493 X-original-commit: 540b45cc7985ac25ca9f71b3a69b5b9e49003086 Signed-off-by: Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
Diffstat (limited to 'addons/note/data')
0 files changed, 0 insertions, 0 deletions