summaryrefslogtreecommitdiff
path: root/addons/l10n_latam_invoice_document
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2020-01-21 09:21:03 +0000
committerRaphael Collet <rco@odoo.com>2020-01-21 09:31:58 +0000
commit9ce78bff5fb084de67034bf54a814d1f30ffda46 (patch)
tree9c67c27bc5422dcfeed36231f77706179f7b9710 /addons/l10n_latam_invoice_document
parent3b4cdbebf23f131e9f71a89674ab2f9e71f2784d (diff)
[FIX] core: search on one2many fields with context
Consider an x2many field `foo_ids` with `context={'active_test': False}` in its definition, and a comodel with an active field. The value of the field includes inactive records. Now consider a search with a domain like `[('foo_ids.bar', op, value)]`. The search should return all the records with corecords that satisfy the domain `[('bar', op, value)]`, including inactive corecords, because the field's context explicitly disables filtering on the active field. closes odoo/odoo#43625 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/l10n_latam_invoice_document')
0 files changed, 0 insertions, 0 deletions