When applying filter to a many2many field I'm getting this error.
Field Definition in python is: Here is field definition in python
fields.Many2many(string='AnalysisProfile',
comodel_name='olims.analysis_profile',
relation='ar_to_analysisprofile',
domain="[('Deactivated', '=',False )]"
and in XML View:
<field name="AnalysisProfile" string="Analysis Profile"></field>
I'm getting following error:
raise ValueError("Invalid leaf %s" % str(self.leaf))
ValueError: Invalid leaf [
domain
improperly. – traviswdomain = "[('groups_id','=',group_id)]"
– KbiR