|
@ -6,17 +6,17 @@ |
|
|
<field name="model">event.event</field> |
|
|
<field name="model">event.event</field> |
|
|
<field name="inherit_id" ref="event.view_event_form" /> |
|
|
<field name="inherit_id" ref="event.view_event_form" /> |
|
|
<field name="arch" type="xml"> |
|
|
<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="active" position="after"> |
|
|
<field name="can_pull" invisible="1" /> |
|
|
<field name="can_pull" invisible="1" /> |
|
|
</field> |
|
|
</field> |
|
|
<notebook position="inside"> |
|
|
<notebook position="inside"> |
|
|
<page name="description" string="Website description"> |
|
|
<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" /> |
|
|
<field name="description" /> |
|
|
</page> |
|
|
</page> |
|
|
</notebook> |
|
|
</notebook> |
|
|