Browse Source

[IMP] move pull_type_description() button on event form

16.0
RemiFr82 9 months ago
parent
commit
4b7d312381
  1. 12
      event_type_description/views/event_event.xml

12
event_type_description/views/event_event.xml

@ -6,17 +6,17 @@
<field name="model">event.event</field>
<field name="inherit_id" ref="event.view_event_form" />
<field name="arch" type="xml">
<field name="event_type_id" position="after">
<button type="object" name="pull_type_description" colspan="2"
string="Update this event description from template"
class="btn-secondary btn-sm" icon="fa-download"
attrs="{'invisible': [('can_pull','=',False)]}" />
</field>
<field name="active" position="after">
<field name="can_pull" invisible="1" />
</field>
<notebook position="inside">
<page name="description" string="Website description">
<group>
<button type="object" name="pull_type_description" colspan="2"
string="Update this event description from template"
class="btn-secondary btn-sm" icon="fa-download"
attrs="{'invisible': [('can_pull','=',False)]}" />
</group>
<field name="description" />
</page>
</notebook>

Loading…
Cancel
Save