You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a custom class defined using the v8 API, the options 'create' and 'create_edit' in the .xml doesn't seem to hide the corresponding drop-down menu entries.
In a custom class defined using the v8 API, the options 'create' and 'create_edit' in the .xml doesn't seem to hide the corresponding drop-down menu entries.
Hi,
In a custom class defined using the v8 API, the options 'create' and 'create_edit' in the .xml doesn't seem to hide the corresponding drop-down menu entries.
Field definition:
emergency_contact_id = fields.Many2one('hr.employee.family.member', string='Emergency contact', domain="[('employee_id', '=', id)]" )
View:
<field name="emergency_contact_id" options="{'create_edit': false, 'create': false}"/>
The text was updated successfully, but these errors were encountered: