|
@ -10,7 +10,8 @@ |
|
|
<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" |
|
|
|
|
|
groups="event.group_event_manager,website.group_website_restricted_editor"> |
|
|
<group> |
|
|
<group> |
|
|
<button type="object" name="pull_type_description" colspan="2" |
|
|
<button type="object" name="pull_type_description" colspan="2" |
|
|
string="Update this event description from template" |
|
|
string="Update this event description from template" |
|
@ -27,7 +28,8 @@ |
|
|
<field name="name">Push template description</field> |
|
|
<field name="name">Push template description</field> |
|
|
<field name="model_id" ref="event.model_event_event" /> |
|
|
<field name="model_id" ref="event.model_event_event" /> |
|
|
<field name="binding_model_id" ref="event.model_event_event" /> |
|
|
<field name="binding_model_id" ref="event.model_event_event" /> |
|
|
<field name="groups_id" eval="[(6, 0, [ref('event.group_event_manager')])]" /> |
|
|
|
|
|
|
|
|
<field name="groups_id" |
|
|
|
|
|
eval="[(6, 0, [ref('event.group_event_manager'), ref('website.group_website_restricted_editor')])]" /> |
|
|
<field name="state">code</field> |
|
|
<field name="state">code</field> |
|
|
<field name="code">record.push_type_description()</field> |
|
|
<field name="code">record.push_type_description()</field> |
|
|
</record> |
|
|
</record> |
|
|