Skip to content

Commit

Permalink
[FIX] survey: typo in survey security groups
Browse files Browse the repository at this point in the history
The rule "survey_stage_rule_survey_user_read" was applied on the model
"survey.model_survey_page" instead of "survey.model_survey_stage".

closes #30342
  • Loading branch information
awa-odoo authored and tde-banana-odoo committed Jan 18, 2019
1 parent 9b12854 commit 3ea91f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/survey/security/survey_security.xml
Expand Up @@ -92,9 +92,10 @@
<field name="perm_read" eval="1"/>
<field name="perm_create" eval="1"/>
</record>

<record id="survey_stage_rule_survey_user_read" model="ir.rule">
<field name="name">Survey stage: officer: read all</field>
<field name="model_id" ref="survey.model_survey_page"/>
<field name="model_id" ref="survey.model_survey_stage"/>
<field name="domain_force">[(1, '=', 1)]</field>
<field name="groups" eval="[(4, ref('group_survey_user'))]"/>
<field name="perm_unlink" eval="0"/>
Expand Down

0 comments on commit 3ea91f3

Please sign in to comment.