c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #11065
[Bug 697823] [NEW] wgong behaviour of domain and search on fields.related
Public bug reported:
sale_order_line_ids=pooler.get_pool(cr.dbname).get('sale.order.line').search(cr,
uid, [('order_id.partner_id','=',transport_order.partner_id.id)])
works in a different way than
sale_order_line_ids=pooler.get_pool(cr.dbname).get('sale.order.line').search(cr,
uid, [('order_partner_id','=',transport_order.partner_id.id)])
The latter returns all objects when no match is found
** Affects: openobject-server
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/697823
Title:
wgong behaviour of domain and search on fields.related
Status in OpenObject Server:
New
Bug description:
sale_order_line_ids=pooler.get_pool(cr.dbname).get('sale.order.line').search(cr, uid, [('order_id.partner_id','=',transport_order.partner_id.id)])
works in a different way than
sale_order_line_ids=pooler.get_pool(cr.dbname).get('sale.order.line').search(cr, uid, [('order_partner_id','=',transport_order.partner_id.id)])
The latter returns all objects when no match is found
Follow ups
References