<field name="type">form</field>
<field name="arch" type="xml">
<form string="Event Type">
- <field name="name" select="1"/>
- <field name="default_reply_to"/>
- <field name="default_email_event" domain="[('model_id.model','=','event.registration')]"/>
- <field name="default_email_registration" domain="[('model_id.model','=','event.registration')]"/>
- <field name="default_registration_min"/>
- <field name="default_registration_max"/>
+ <group col="4">
+ <field name="name"/>
+ <field name="default_reply_to"/>
+ <field name="default_email_event" domain="[('model_id.model','=','event.registration')]"/>
+ <field name="default_email_registration" domain="[('model_id.model','=','event.registration')]"/>
+ <field name="default_registration_min"/>
+ <field name="default_registration_max"/>
+ </group>
</form>
</field>
</record>
<field name="model">event.event</field>
<field name="type">form</field>
<field name="arch" type="xml">
- <form string="Events" layout="manual">
+ <form string="Events" version="7.0">
<header>
<button string="Confirm Event" name="button_confirm" states="draft" type="object"/>
<button string="Event Ended" name="button_done" states="confirm" type="object"/>
<button string="Cancel Event" name="button_cancel" states="draft,confirm" type="object"/>
<field name="state" widget="statusbar" statusbar_visible="draft,confirm,done"/>
</header>
- <sheet layout="manual">
-
+ <sheet>
- <field name="name" required="1" nolabel="1" class="oe_form_title" colspan="4"/>
- <group colspan="4" col="5">
- <group col="2" colspan="2" class="oe_form_group_label_border" style="margin-top: 20px;">
- <field name="type" on_change="onchange_event_type(type,context)"/>
- <field name="user_id"/>
- <field name="address_id" widget="many2one_address_google_map" widget_option="{'placeholder':'.oe_form_google_map'}"/>
- </group>
- <group col="2" colspan="2" class="oe_form_group_label_border" style="margin-top: 20px;">
- <field name="date_begin"/>
- <field name="date_end"/>
- <field name="register_min"/>
- <field name="register_max"/>
+ <div class="oe_right" style="height: 200px"></div>
+ <div class="oe_title">
+ <h1><field name="name"/></h1>
+ <group>
+ <group>
+ <field name="type" on_change="onchange_event_type(type,context)"/>
+ <field name="user_id"/>
+ <field name="address_id" widget="many2one_address_google_map" widget_option="{'placeholder':'.oe_google_map'}"/>
+ </group>
+ <group>
+ <field name="date_begin"/>
+ <field name="date_end"/>
+ <field name="register_min"/>
+ <field name="register_max"/>
+ </group>
</group>
- </group>
+ </div>
- <div class="oe_form_google_map" style="height: 200px"></div>
-
- <notebook colspan="4">
+ <notebook>
<page string="Event Description">
<field name="note" colspan="4" nolabel="1"/>
</page>
<page string="Internal Data">
- <group class="oe_form_group_label_border" colspan="2" col="2">
+ <group class="oe_group_label_border" colspan="2" col="2">
<field name="register_current"/>
<field name="register_prospect"/>
<field name="register_attended"/>
</group>
- <group class="oe_form_group_label_border" colspan="2" col="2">
+ <group class="oe_group_label_border" colspan="2" col="2">
<field name="main_speaker_id" domain="[('speaker','=',True)]" context="{'default_speaker':1}"/>
<field name="speaker_confirmed"/>
</group>
</page>
</notebook>
</sheet>
- <div class="oe_form_sheet_width">
+ <div class="oe_sheet_width">
<field name="message_ids" colspan="4" widget="ThreadView" nolabel="1"/>
</div>
</form>
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Events">
+ <filter icon="terp-mail-message-new"
+ string="Inbox" help="Unread messages"
+ name="needaction_pending"
+ domain="[('needaction_pending','=',True)]"/>
+ <separator orientation="vertical"/>
<group>
<filter icon="terp-check" string="Unconfirmed" name="draft" domain="[('state','=','draft')]" help="Events in New state"/>
<filter icon="terp-camera_test" string="Confirmed" domain="[('state','=','confirm')]" help="Confirmed events"/>
<field name="model">event.registration</field>
<field name="type">form</field>
<field name="arch" type="xml">
- <form layout="manual">
+ <form version="7.0">
<header>
<button name="registration_open" string="Confirm" states="draft" type="object"/>
<button name="button_reg_close" string="Attended" states="open" type="object"/>
</notebook>
</sheet>
- <div class="oe_form_sheet_width">
+ <div class="oe_sheet_width">
<field name="message_ids" colspan="4" widget="ThreadView" nolabel="1"/>
</div>
</form>
<field name="arch" type="xml">
<search string="Event Registration">
<group>
+ <filter icon="terp-mail-message-new"
+ string="Inbox" help="Unread messages"
+ name="needaction_pending"
+ domain="[('needaction_pending','=',True)]"/>
+ <separator orientation="vertical"/>
<filter icon="terp-check" string="New" name="draft" domain="[('state','=','draft')]" help="Registrations in unconfirmed state"/>
<filter icon="terp-camera_test" string="Confirmed" domain="[('state','=','open')]" help="Confirmed registrations"/>
<separator orientation="vertical"/>