Browse Source

[IMP] xpath

12.0
Rémi FRANÇOIS 5 years ago
parent
commit
09d44f9e5b
  1. 4
      survey_deadline_autoclose/views/survey_survey.xml

4
survey_deadline_autoclose/views/survey_survey.xml

@ -10,12 +10,12 @@
<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)]}"/>
</field> </field>
<xpath expr="//group[hasclass('o_label_nowrap')]/.." position="inside">
<xpath expr="//field[@name='users_can_go_back']/../.." position="inside">
<group name="options"> <group name="options">
</group> </group>
</xpath> </xpath>
<group name="options" position="inside"> <group name="options" position="inside">
<xpath expr="//group[hasclass('o_label_nowrap')]" position="move"/>
<xpath expr="//field[@name='users_can_go_back']/.." position="move"/>
</group> </group>
<group name="options" position="inside"> <group name="options" position="inside">
<group name="deadline" class="o_label_nowrap"> <group name="deadline" class="o_label_nowrap">

Loading…
Cancel
Save