Skip to content
Snippets Groups Projects
Commit 5666c219 authored by Denis Ledoux's avatar Denis Ledoux
Browse files

[FIX] crm_claim: set options no_create, no_open instead of selection

To avoid access denied errors for portal users
parent 978fd472
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@
<group colspan="2" col="2" groups="base.group_user">
<separator colspan="2" string="Responsibilities"/>
<field name="user_fault"/>
<field name="categ_id" widget="selection"
<field name="categ_id" options="{'no_create': True, 'no_open': True}"
domain="[('object_id.model', '=', 'crm.claim')]"/>
<field name="ref"/>
</group>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment