2017-11-10 15:03:12 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<odoo>
|
|
|
|
<!-- Form -->
|
|
|
|
<record id="view_form_event" model="ir.ui.view">
|
|
|
|
<field name="name">Event Form</field>
|
|
|
|
<field name="model">coworking.event</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="event">
|
|
|
|
<sheet>
|
|
|
|
<group name="group_top">
|
|
|
|
<group name="group_left">
|
|
|
|
<field name="title" />
|
2017-11-13 19:31:43 +01:00
|
|
|
<field name="manager_id" />
|
2017-11-10 15:03:12 +01:00
|
|
|
<field name="date_start" />
|
|
|
|
<field name="date_end" />
|
2017-11-10 17:08:56 +01:00
|
|
|
<field name="duration" />
|
2017-11-13 16:45:45 +01:00
|
|
|
<field name="description" />
|
|
|
|
<field name="statut" />
|
2017-11-13 17:05:18 +01:00
|
|
|
<fiels name="participants_ids" />
|
2017-11-10 15:03:12 +01:00
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
</sheet>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2017-11-13 19:31:43 +01:00
|
|
|
<!-- Tree -->
|
|
|
|
<record id="view_tree_coworker" model="ir.ui.view">
|
|
|
|
<field name="name">event Tree</field>
|
|
|
|
<field name="model">coworking.event</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree default_order="date_start asc, title asc">
|
|
|
|
<field name="title" />
|
|
|
|
<field name="manager_id" />
|
|
|
|
<field name="date_start" />
|
|
|
|
<field name="participants_ids" />
|
|
|
|
<field name="statut" />
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2017-11-10 15:03:12 +01:00
|
|
|
</odoo>
|