Browse Source

[ADD] survey_manager group on input selection views

12.0
Rémi FRANÇOIS 5 years ago
parent
commit
2fb1f3b81e
  1. 4
      survey_select_input/views/survey_user_input.xml

4
survey_select_input/views/survey_user_input.xml

@ -6,6 +6,7 @@
<field name="model">survey.user_input</field>
<field name="inherit_id" ref="survey.survey_user_input_form"/>
<field name="priority">26</field>
<field name="groups_id" eval="[(6,0,[ref('survey.group_survey_manager')])]"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button type="object" name="toggle_selected" class="oe_stat_button" icon="fa-check"
@ -22,6 +23,7 @@
<field name="model">survey.user_input</field>
<field name="inherit_id" ref="survey.survey_user_input_tree"/>
<field name="priority">26</field>
<field name="groups_id" eval="[(6,0,[ref('survey.group_survey_manager')])]"/>
<field name="arch" type="xml">
<field name="state" position="after">
<field name="selected" widget="toggle_button" attrs="{'invisible':['|',('test_entry','=',True),('state','!=','done')]}"/>
@ -34,6 +36,7 @@
<field name="model">survey.user_input</field>
<field name="inherit_id" ref="survey.view_survey_user_input_kanban"/>
<field name="priority">26</field>
<field name="groups_id" eval="[(6,0,[ref('survey.group_survey_manager')])]"/>
<field name="arch" type="xml">
<field name="state" position="after">
<field name="selected"/>
@ -49,6 +52,7 @@
<field name="model">survey.user_input</field>
<field name="inherit_id" ref="survey.survey_user_input_search"/>
<field name="priority">26</field>
<field name="groups_id" eval="[(6,0,[ref('survey.group_survey_manager')])]"/>
<field name="arch" type="xml">
<filter name="new" position="after">
<separator/>

Loading…
Cancel
Save