domain like ['|',('ref','=','res.partner,1'),('ref2','=','res.partner,1')] fails on relate button
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Jay Vora (Serpent Consulting Services) |
Bug Description
'|' ,'&", etc operators are not not working on the client side when used with the relate button.
<act_window name="Email Interface"
domain="[ '|', ('ref',
res_
src_
id=
Traceback (most recent call last):
File "/home/
value = obj._exec_
File "/home/
limit=
File "/home/
auto_
File "/home/
self.
File "/home/
v.extend((key, op, value) for key, op, value in self.domain if key not in filter_keys and not (key=='active' and self.context.
File "/home/
v.extend((key, op, value) for key, op, value in self.domain if key not in filter_keys and not (key=='active' and self.context.
ValueError: need more than 1 value to unpack
For domain with expression is worked for search domain only,
for act_window it is not implemented yet. please create blueprint.