gestion des demandes d'évolution pour le centre kalachakra non géré dans les module booking et opendons
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

94 lines
4.3 KiB

<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="event_tag_category_view_form" model="ir.ui.view">
<field name="name">event_tag_category_view_form_inherit_kalachakra</field>
<field name="model">event.tag.category</field>
<field name="inherit_id" ref="event.event_tag_category_view_form" />
<field name="arch" type="xml">
<xpath expr="//div[@class='oe_title']" position="after">
<group>
<field name="calendar_id"/>
</group>
</xpath>
</field>
</record>
<record id="kalachakra.event_view_form" model="ir.ui.view">
<field name="name">event.view.form.inherit.kalachakra</field>
<field name="model">event.event</field>
<field name="inherit_id" ref="event.view_event_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='stage_id']" position="before">
<button name="add_event_to_google_agenda" type="object" attrs="{'invisible':[('calendar_event_id','!=',False)]}" string="Add event to google agenda" class="btn btn-warning"/>
<button name="remove_event_to_google_agenda" attrs="{'invisible':[('calendar_event_id','=',False)]}" type="object" string="Remove event from google agenda" class="btn btn-danger"/>
<field name="calendar_event_id" invisible="1"/>
</xpath>
<xpath expr="//field[@name='tag_ids']" position="after">
<field name="online_event"/>
<field name="free_participation"/>
<field name="recurring_event"/>
<field name="recurring_event_newsletter_id" attrs="{'invisible':[('recurring_event','=',False)]}"/>
</xpath>
<xpath expr="//page[@name='event_communication']" position="before">
<page string="Participations" name="Participations" attrs="{'invisible':[('free_participation','=',True)]}">
<group style="width:40%%">
<field name="participation_product_id" attrs="{'required': [('free_participation','=', False)]}"/>
<field name="participation_standard_price" attrs="{'required': [('free_participation','=', False)]}"/>
<field name="participation_member_price" attrs="{'required': [('free_participation','=', False)]}"/>
<field name="participation_super_member_price" attrs="{'required': [('free_participation','=', False)]}"/>
</group>
</page>
</xpath>
<xpath expr="//page[@name='Participations']" position="after">
<page string="Subscriptions" name="Subscriptions" attrs="{'invisible':[('recurring_event','=',False)]}">
<group style="width:40%%">
<field name="subscription_product_id" attrs="{'required': [('recurring_event','=', False)]}"/>
<field name="subscription_standard_price" attrs="{'required': [('recurring_event','=', False)]}"/>
<field name="subscription_member_price" attrs="{'required': [('recurring_event','=', False)]}"/>
<field name="subscription_super_member_price" attrs="{'required': [('recurring_event','=', False)]}"/>
</group>
</page>
</xpath>
<xpath expr="//page[@name='Subscriptions']" position="after">
<page string="Online options" name="Online" attrs="{'invisible':[('online_event','=',False)]}">
<group style="width:80%%">
<field name="online_link" attrs="{'required': [('online_event','=', True)]}"/>
<field name="online_id"/>
<field name="online_password" attrs="{'required': [('online_event','=', True)]}"/>
</group>
</page>
</xpath>
</field>
</record>
<record id="kalachakra.view_form_inherit_website" model="ir.ui.view">
<field name="name">event.view.form.inherit.website.kalachakra</field>
<field name="model">event.event</field>
<field name="inherit_id" ref="website_event.event_event_view_form" />
<field name="arch" type="xml">
<xpath expr="//button[@name='action_open_badge_editor']" position="replace">
</xpath>
</field>
</record>
</odoo>