V5 domain and select do not work for certain function fields
Example
def _move_state(self, cr, uid, ids, names=None, arg=False, context=None):
res = {}
for line in self.browse(cr, uid, ids, context):
for move in line.stock_
if move.state == 'draft':
return res
'move_state' : fields.
this filter does not work
<field name="domain"
also in forms I can not filter for true.
- discovered also other of my apps not allowing to search in similar function fields.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #638819.
Can you help with this problem?
Provide an answer of your own, or ask Ferdinand for more information if necessary.