Hi friendz,
I have a many2one field 'default_profile_id' in object 'CIM'
'default_profile_id': fields.many2one('cim.object','Default Profile', domain="[('cim_id','=',id)]"),
in the view file,
<field name="default_profile_id" widget="selection" />
By doing this, I thought I would get the list of profile that are for customer profile like a SELECTION field, but the DOMAIN restriction is not working.
My Requirement is that:
I want to show payment profile available for the current Customer Profile in SELECTION Format
<field name="default_profile_id" widget="selection" domain="[('cim_id','=',active_id)]" />
But showing error as active_id is not available
Thanks & Regards,
Atchuthan