Browse Source

[REF] views priority

12.0
Rémi FRANÇOIS 5 years ago
parent
commit
7e2bde90f2
  1. 6
      survey_deadline_autoclose/views/survey_survey.xml
  2. 2
      survey_select_input/views/survey_survey.xml
  3. 8
      survey_select_input/views/survey_user_input.xml
  4. 10
      survey_template/views/survey_survey.xml

6
survey_deadline_autoclose/views/survey_survey.xml

@ -5,7 +5,7 @@
<field name="name">survey_deadline_autoclose survey.survey form</field> <field name="name">survey_deadline_autoclose survey.survey form</field>
<field name="model">survey.survey</field> <field name="model">survey.survey</field>
<field name="inherit_id" ref="survey.survey_form"/> <field name="inherit_id" ref="survey.survey_form"/>
<field name="priority">25</field>
<field name="priority">28</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="stage_id" position="before"> <field name="stage_id" position="before">
<button name="action_close_survey" string="Close survey" type="object" attrs="{'invisible': [('is_closed', '=', True)]}"/> <button name="action_close_survey" string="Close survey" type="object" attrs="{'invisible': [('is_closed', '=', True)]}"/>
@ -30,7 +30,7 @@
<field name="name">survey_deadline_autoclose survey.survey tree</field> <field name="name">survey_deadline_autoclose survey.survey tree</field>
<field name="model">survey.survey</field> <field name="model">survey.survey</field>
<field name="inherit_id" ref="survey.survey_tree"/> <field name="inherit_id" ref="survey.survey_tree"/>
<field name="priority">25</field>
<field name="priority">28</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<tree position="attributes"> <tree position="attributes">
<attribute name="decoration-muted">is_closed</attribute> <attribute name="decoration-muted">is_closed</attribute>
@ -49,7 +49,7 @@
<field name="name">survey_deadline_autoclose survey.survey kanban</field> <field name="name">survey_deadline_autoclose survey.survey kanban</field>
<field name="model">survey.survey</field> <field name="model">survey.survey</field>
<field name="inherit_id" ref="survey.survey_kanban"/> <field name="inherit_id" ref="survey.survey_kanban"/>
<field name="priority">20</field>
<field name="priority">28</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="title" position="after"> <field name="title" position="after">
<field name="date_deadline"/> <field name="date_deadline"/>

2
survey_select_input/views/survey_survey.xml

@ -5,7 +5,7 @@
<field name="name">survey_select_input survey.survey form</field> <field name="name">survey_select_input survey.survey form</field>
<field name="model">survey.survey</field> <field name="model">survey.survey</field>
<field name="inherit_id" ref="survey.survey_form"/> <field name="inherit_id" ref="survey.survey_form"/>
<field name="priority">23</field>
<field name="priority">26</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<button name="action_survey_user_input" position="after"> <button name="action_survey_user_input" position="after">
<button type="object" name="action_survey_user_input" <button type="object" name="action_survey_user_input"

8
survey_select_input/views/survey_user_input.xml

@ -5,7 +5,7 @@
<field name="name">survey_select_input survey.user_input form</field> <field name="name">survey_select_input survey.user_input form</field>
<field name="model">survey.user_input</field> <field name="model">survey.user_input</field>
<field name="inherit_id" ref="survey.survey_user_input_form"/> <field name="inherit_id" ref="survey.survey_user_input_form"/>
<field name="priority">23</field>
<field name="priority">26</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<div name="button_box" position="inside"> <div name="button_box" position="inside">
<button type="object" name="toggle_selected" class="oe_stat_button" icon="fa-check" <button type="object" name="toggle_selected" class="oe_stat_button" icon="fa-check"
@ -21,7 +21,7 @@
<field name="name">survey_select_input survey.user_input tree</field> <field name="name">survey_select_input survey.user_input tree</field>
<field name="model">survey.user_input</field> <field name="model">survey.user_input</field>
<field name="inherit_id" ref="survey.survey_user_input_tree"/> <field name="inherit_id" ref="survey.survey_user_input_tree"/>
<field name="priority">23</field>
<field name="priority">26</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="state" position="after"> <field name="state" position="after">
<field name="selected" widget="boolean_toggle" attrs="{'invisible':['|',('test_entry','=',True),('state','!=','done')]}"/> <field name="selected" widget="boolean_toggle" attrs="{'invisible':['|',('test_entry','=',True),('state','!=','done')]}"/>
@ -33,7 +33,7 @@
<field name="name">survey_select_input survey.user_input kanban</field> <field name="name">survey_select_input survey.user_input kanban</field>
<field name="model">survey.user_input</field> <field name="model">survey.user_input</field>
<field name="inherit_id" ref="survey.view_survey_user_input_kanban"/> <field name="inherit_id" ref="survey.view_survey_user_input_kanban"/>
<field name="priority">23</field>
<field name="priority">26</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="state" position="after"> <field name="state" position="after">
<field name="selected"/> <field name="selected"/>
@ -48,7 +48,7 @@
<field name="name">survey_select_input survey.user_input search</field> <field name="name">survey_select_input survey.user_input search</field>
<field name="model">survey.user_input</field> <field name="model">survey.user_input</field>
<field name="inherit_id" ref="survey.survey_user_input_search"/> <field name="inherit_id" ref="survey.survey_user_input_search"/>
<field name="priority">23</field>
<field name="priority">26</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<filter name="new" position="after"> <filter name="new" position="after">
<separator/> <separator/>

10
survey_template/views/survey_survey.xml

@ -7,7 +7,7 @@
<field name="name">survey_template survey.survey form</field> <field name="name">survey_template survey.survey form</field>
<field name="model">survey.survey</field> <field name="model">survey.survey</field>
<field name="inherit_id" ref="survey.survey_form"/> <field name="inherit_id" ref="survey.survey_form"/>
<field name="priority">20</field>
<field name="priority">22</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="is_closed" position="after"> <field name="is_closed" position="after">
<field name="is_template" invisible="1"/> <field name="is_template" invisible="1"/>
@ -33,7 +33,7 @@
<field name="name">survey_template survey.survey tree</field> <field name="name">survey_template survey.survey tree</field>
<field name="model">survey.survey</field> <field name="model">survey.survey</field>
<field name="inherit_id" ref="survey.survey_tree"/> <field name="inherit_id" ref="survey.survey_tree"/>
<field name="priority">20</field>
<field name="priority">22</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<tree position="attributes"> <tree position="attributes">
<attribute name="decoration-warning">is_template</attribute> <attribute name="decoration-warning">is_template</attribute>
@ -48,7 +48,7 @@
<field name="name">survey_template survey.survey kanban</field> <field name="name">survey_template survey.survey kanban</field>
<field name="model">survey.survey</field> <field name="model">survey.survey</field>
<field name="inherit_id" ref="survey.survey_kanban"/> <field name="inherit_id" ref="survey.survey_kanban"/>
<field name="priority">20</field>
<field name="priority">22</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="title" position="after"> <field name="title" position="after">
<field name="is_template"/> <field name="is_template"/>
@ -68,7 +68,7 @@
<record id="survey_survey_template_tree" model="ir.ui.view"> <record id="survey_survey_template_tree" model="ir.ui.view">
<field name="name">survey_template survey.survey template tree</field> <field name="name">survey_template survey.survey template tree</field>
<field name="model">survey.survey</field> <field name="model">survey.survey</field>
<field name="priority">20</field>
<field name="priority">22</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<tree decoration-warning="is_template"> <tree decoration-warning="is_template">
<field name="active" invisible="1"/> <field name="active" invisible="1"/>
@ -83,7 +83,7 @@
<record id="survey_survey_template_kanban" model="ir.ui.view"> <record id="survey_survey_template_kanban" model="ir.ui.view">
<field name="name">survey_template survey.survey template kanban</field> <field name="name">survey_template survey.survey template kanban</field>
<field name="model">survey.survey</field> <field name="model">survey.survey</field>
<field name="priority">20</field>
<field name="priority">22</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<kanban> <kanban>
<field name="designed"/> <field name="designed"/>

Loading…
Cancel
Save