summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
Diffstat (limited to 'addons')
-rw-r--r--addons/account/account_view.xml30
-rw-r--r--addons/crm/crm_view.xml6
-rw-r--r--addons/crm_profiling/crm_profiling_view.xml65
-rw-r--r--addons/fleet/fleet_view.xml82
-rw-r--r--addons/hr_holidays/hr_holidays_view.xml26
-rw-r--r--addons/hr_recruitment/hr_recruitment_view.xml6
-rw-r--r--addons/lunch/lunch_view.xml73
-rw-r--r--addons/membership/membership_view.xml60
-rw-r--r--addons/mrp/mrp_view.xml17
-rw-r--r--addons/point_of_sale/point_of_sale_view.xml101
-rw-r--r--addons/procurement/procurement_view.xml31
-rw-r--r--addons/product/product_view.xml24
-rw-r--r--addons/resource/resource_view.xml16
13 files changed, 251 insertions, 286 deletions
diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml
index 47f21266c18..9cc2c517696 100644
--- a/addons/account/account_view.xml
+++ b/addons/account/account_view.xml
@@ -100,24 +100,22 @@
<button name="action_draft" states="done" string="Re-Open Period" type="object" groups="account.group_account_manager"/>
<field name="state" widget="statusbar" nolabel="1"/>
</header>
- <sheet>
+ <group>
<group>
- <group>
- <field name="name"/>
- <field name="fiscalyear_id" widget="selection"/>
- <label for="date_start" string="Duration"/>
- <div>
- <field name="date_start" class="oe_inline" nolabel="1"/> -
- <field name="date_stop" nolabel="1" class="oe_inline"/>
- </div>
- </group>
- <group>
- <field name="code"/>
- <field name="special"/>
- <field name="company_id" widget="selection" groups="base.group_multi_company"/>
- </group>
+ <field name="name"/>
+ <field name="fiscalyear_id" widget="selection"/>
+ <label for="date_start" string="Duration"/>
+ <div>
+ <field name="date_start" class="oe_inline" nolabel="1"/> -
+ <field name="date_stop" nolabel="1" class="oe_inline"/>
+ </div>
</group>
- </sheet>
+ <group>
+ <field name="code"/>
+ <field name="special"/>
+ <field name="company_id" widget="selection" groups="base.group_multi_company"/>
+ </group>
+ </group>
</form>
</field>
</record>
diff --git a/addons/crm/crm_view.xml b/addons/crm/crm_view.xml
index 3b76e458800..c1c5285b56a 100644
--- a/addons/crm/crm_view.xml
+++ b/addons/crm/crm_view.xml
@@ -295,14 +295,14 @@
<field name="exclusif"/>
</group>
<notebook>
- <page string="Sales Purchase">
+ <page string="Sales Purchase" name="sale_purchase">
<group>
<field name="sales_purchase_active"/>
</group>
- <separator string="Segmentation Test"/>
+ <separator string="Segmentation Test Criteria"/>
<field name="segmentation_line" widget="one2many_list"/>
</page>
- <page string="Description">
+ <page string="Description" name="description">
<field name="description"/>
</page>
</notebook>
diff --git a/addons/crm_profiling/crm_profiling_view.xml b/addons/crm_profiling/crm_profiling_view.xml
index 0b738a27107..7f9090ca0e9 100644
--- a/addons/crm_profiling/crm_profiling_view.xml
+++ b/addons/crm_profiling/crm_profiling_view.xml
@@ -143,49 +143,42 @@
<!-- CRM Segmentation Form view -->
- <record model="ir.ui.view" id="crm.crm_segmentation-view">
+ <record model="ir.ui.view" id="crm_segmentation_profiling_view">
<field name="name">crm.segmentation.form</field>
<field name="model">crm.segmentation</field>
+ <field name="inherit_id" ref="crm.crm_segmentation-view"/>
<field name="arch" type="xml">
- <form string="Partner Segmentation">
- <group col="4">
- <notebook>
- <page string="Segmentation">
- <separator string="Segmentation Description" colspan="4"/>
+ <page name="sale_purchase" position="before">
+ <page string="Segmentation">
+ <group col="4">
<field name="name"/>
<field name="exclusif"/>
+ <field name="categ_id"/>
+ </group>
+ <separator string="Segmentation Description"/>
+ <field name="description" nolabel="1"/>
+ </page>
+ </page>
+ <page name="description" position="replace">
+ <page string="Profiling">
+ <group>
+ <group>
+ <field name="profiling_active"/>
+ <separator string="Profiling Options" colspan="4"/>
+ <field name="parent_id"/>
+ </group>
<newline/>
- <field name="categ_id" colspan="2"/>
- <newline/>
- <field name="description" colspan="4"/>
- <field name="state"/>
- <group col="3" colspan="2">
- <button name="process_start"
- states="not running" string="Compute Segmentation" type="object"
- icon="gtk-apply" />
- <button name="process_stop" states="running"
- string="Stop Process" type="object" icon="gtk-stop" />
- <button name="process_continue" states="running"
- string="Continue Process" type="object" icon="gtk-go-forward" />
+ <group>
+ <separator string="Included Answers"/>
+ <field name="answer_yes" nolabel="1" colspan="2"/>
</group>
- </page>
- <page string="Sales Purchase">
- <field name="sales_purchase_active"/>
- <separator string="Segmentation Test" colspan="4"/>
- <field name="segmentation_line" widget="one2many_list" colspan="4"/>
- </page>
- <page string="Profiling">
- <field name="profiling_active" colspan="2"/>
- <separator string="Profiling Options" colspan="4"/>
- <field name="parent_id" colspan="2"/><newline/>
- <separator string="Included Answers :" colspan="2" />
- <separator string="Excluded Answers :" colspan="2"/>
- <field name="answer_yes" nolabel="1" colspan="2"/>
- <field name="answer_no" nolabel="1" colspan="2"/>
- </page>
- </notebook>
- </group>
- </form>
+ <group>
+ <separator string="Excluded Answers"/>
+ <field name="answer_no" nolabel="1" colspan="2"/>
+ </group>
+ </group>
+ </page>
+ </page>
</field>
</record>
diff --git a/addons/fleet/fleet_view.xml b/addons/fleet/fleet_view.xml
index fc754b9f787..5a5a6a24585 100644
--- a/addons/fleet/fleet_view.xml
+++ b/addons/fleet/fleet_view.xml
@@ -6,40 +6,38 @@
<field name="model">fleet.vehicle.model</field>
<field name="arch" type="xml">
<form string="Model">
- <sheet>
- <field name="image_medium" widget='image' class="oe_left oe_avatar"/>
- <div class="oe_title">
- <label for="modelname" class="oe_edit_only"/>
- <h1>
- <field name="modelname" />
- </h1>
- <label for="brand_id" class="oe_edit_only"/>
- <h2>
- <field name="brand_id" on_change="on_change_brand(brand_id)"/>
- </h2>
- </div>
- <notebook>
- <page string="Vendors">
- <field name="vendors" widget="many2many_kanban">
- <kanban quick_create="false" create="true">
- <field name="name"/>
- <templates>
- <t t-name="kanban-box">
- <div style="position: relative">
- <a t-if="! read_only_mode" type="delete" style="position: absolute; right: 0; padding: 4px; diplay: inline-block">X</a>
- <div class="oe_module_vignette">
- <div class="oe_module_desc">
- <field name="name"/>
- </div>
+ <field name="image_medium" widget='image' class="oe_left oe_avatar"/>
+ <div class="oe_title">
+ <label for="modelname" class="oe_edit_only"/>
+ <h1>
+ <field name="modelname" />
+ </h1>
+ <label for="brand_id" class="oe_edit_only"/>
+ <h2>
+ <field name="brand_id" on_change="on_change_brand(brand_id)"/>
+ </h2>
+ </div>
+ <notebook>
+ <page string="Vendors">
+ <field name="vendors" widget="many2many_kanban">
+ <kanban quick_create="false" create="true">
+ <field name="name"/>
+ <templates>
+ <t t-name="kanban-box">
+ <div style="position: relative">
+ <a t-if="! read_only_mode" type="delete" style="position: absolute; right: 0; padding: 4px; diplay: inline-block">X</a>
+ <div class="oe_module_vignette">
+ <div class="oe_module_desc">
+ <field name="name"/>
</div>
</div>
- </t>
- </templates>
- </kanban>
- </field>
- </page>
- </notebook>
- </sheet>
+ </div>
+ </t>
+ </templates>
+ </kanban>
+ </field>
+ </page>
+ </notebook>
</form>
</field>
</record>
@@ -98,17 +96,15 @@
<field name="model">fleet.vehicle.model.brand</field>
<field name="arch" type="xml">
<form string="Model Make">
- <sheet>
- <group>
- <div>
- <field name="image_medium" widget="image" class="oe_left oe_avatar"/>
- <label for="name" class="oe_edit_only"/>
- <h1>
- <field name="name" class="oe_inline" />
- </h1>
- </div>
- </group>
- </sheet>
+ <group>
+ <div>
+ <field name="image_medium" widget="image" class="oe_left oe_avatar"/>
+ <label for="name" class="oe_edit_only"/>
+ <h1>
+ <field name="name" class="oe_inline" />
+ </h1>
+ </div>
+ </group>
</form>
</field>
</record>
diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml
index cc9b9319025..b187d8e8a29 100644
--- a/addons/hr_holidays/hr_holidays_view.xml
+++ b/addons/hr_holidays/hr_holidays_view.xml
@@ -441,26 +441,24 @@
<field name="model">hr.holidays.status</field>
<field name="arch" type="xml">
<form string="Leave Type">
- <sheet string="Leave Type">
<group col="4">
<field name="name"/>
<field name="categ_id"/>
</group>
<notebook>
- <page string="Details">
- <group>
- <group name="selection" string="Validation">
- <field name="double_validation"/>
- <field name="limit"/>
- </group>
- <group name="second" string="Misc">
- <field name="color_name"/>
- <field name="active"/>
- </group>
- </group>
- </page>
+ <page string="Details">
+ <group>
+ <group name="selection" string="Validation">
+ <field name="double_validation"/>
+ <field name="limit"/>
+ </group>
+ <group name="second" string="Misc">
+ <field name="color_name"/>
+ <field name="active"/>
+ </group>
+ </group>
+ </page>
</notebook>
- </sheet>
</form>
</field>
</record>
diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml
index 82c649eaba2..cb21980cd42 100644
--- a/addons/hr_recruitment/hr_recruitment_view.xml
+++ b/addons/hr_recruitment/hr_recruitment_view.xml
@@ -525,7 +525,6 @@
<field name="model">hr.recruitment.stage</field>
<field name="arch" type="xml">
<form string="Stage">
- <sheet>
<group string="Stage Definition">
<group>
<field name="name"/>
@@ -539,7 +538,6 @@
</group>
<separator string="Requirements"/>
<field name="requirements"/>
- </sheet>
</form>
</field>
</record>
@@ -585,12 +583,10 @@
<field name="model">hr.recruitment.degree</field>
<field name="arch" type="xml">
<form string="Degree">
- <sheet>
<group>
<field name="name"/>
<field name="sequence" groups="base.group_no_one"/>
</group>
- </sheet>
</form>
</field>
</record>
@@ -625,11 +621,9 @@
<field name="model">hr.recruitment.source</field>
<field name="arch" type="xml">
<form string="Sources of Applicants">
- <sheet>
<group>
<field name="name"/>
</group>
- </sheet>
</form>
</field>
</record>
diff --git a/addons/lunch/lunch_view.xml b/addons/lunch/lunch_view.xml
index 55f35f46598..0071092e9cd 100644
--- a/addons/lunch/lunch_view.xml
+++ b/addons/lunch/lunch_view.xml
@@ -293,11 +293,9 @@
<field name="model">lunch.product.category</field>
<field name="arch" type="xml">
<form string="Products Form">
- <sheet>
<group>
<field name='name' string="Product Category: "/>
</group>
- </sheet>
</form>
</field>
</record>
@@ -425,20 +423,18 @@
<form string="Products Form">
<header>
</header>
- <sheet>
+ <group>
<group>
- <group>
- <field name='name'/>
- <field name='category_id'/>
- </group>
- <group>
- <field name='supplier'/>
- <field name='price'/>
- </group>
+ <field name='name'/>
+ <field name='category_id'/>
</group>
- <label for='description'/>
- <field name='description'/>
- </sheet>
+ <group>
+ <field name='supplier'/>
+ <field name='price'/>
+ </group>
+ </group>
+ <label for='description'/>
+ <field name='description'/>
</form>
</field>
</record>
@@ -462,35 +458,32 @@
<field name="model">lunch.alert</field>
<field name="arch" type="xml">
<form string="alert tree">
- <sheet>
- <group string="Schedule Date">
- <group>
- <field name="alter_type" class="oe_inline"/>
- <field name="specific_day" attrs="{'invisible': [('alter_type','!=','specific')], 'required':[('alter_type','=','specific')]}"/>
- </group>
- </group>
- <group attrs="{'invisible': [('alter_type','!=','week')]}">
- <group>
- <field name="monday"/>
- <field name="tuesday"/>
- <field name="wednesday"/>
- <field name="thursday"/>
- </group>
- <group>
- <field name="friday"/>
- <field name="saturday"/>
- <field name="sunday"/>
- </group>
+ <group string="Schedule Date">
+ <group>
+ <field name="alter_type" class="oe_inline"/>
+ <field name="specific_day" attrs="{'invisible': [('alter_type','!=','specific')], 'required':[('alter_type','=','specific')]}"/>
</group>
- <group string="Schedule Hour">
- <field name='active_from' widget='float_time'/>
- <field name='active_to' widget='float_time'/>
+ </group>
+ <group attrs="{'invisible': [('alter_type','!=','week')]}">
+ <group>
+ <field name="monday"/>
+ <field name="tuesday"/>
+ <field name="wednesday"/>
+ <field name="thursday"/>
</group>
- <group string='Message'>
- <field name='message' nolabel='1' placeholder="Write the message you want to display during the defined period..."/>
+ <group>
+ <field name="friday"/>
+ <field name="saturday"/>
+ <field name="sunday"/>
</group>
-
- </sheet>
+ </group>
+ <group string="Schedule Hour">
+ <field name='active_from' widget='float_time'/>
+ <field name='active_to' widget='float_time'/>
+ </group>
+ <group string='Message'>
+ <field name='message' nolabel='1' placeholder="Write the message you want to display during the defined period..."/>
+ </group>
</form>
</field>
</record>
diff --git a/addons/membership/membership_view.xml b/addons/membership/membership_view.xml
index c70c8cd6cc0..41af7840a51 100644
--- a/addons/membership/membership_view.xml
+++ b/addons/membership/membership_view.xml
@@ -46,39 +46,37 @@
<field name="priority">50</field>
<field name="arch" type="xml">
<form string="Membership products">
- <sheet>
- <label for="name" class="oe_edit_only"/>
- <h1>
- <field name="name"/>
- </h1>
+ <label for="name" class="oe_edit_only"/>
+ <h1>
+ <field name="name"/>
+ </h1>
+ <group>
<group>
- <group>
- <field name="default_code"/>
- <field name="categ_id"/>
- <field name="membership" invisible="1"/>
- <field name="company_id"
- groups="base.group_multi_company"
- widget="selection"/>
- <field name="active"/>
- </group>
- <group>
- <label for="membership_date_from" string="Membership Duration"/>
- <div>
- <field name="membership_date_from" required="1" class="oe_inline"/> -
- <field name="membership_date_to" required="1" class="oe_inline"/>
- </div>
- <field name="list_price" string="Membership Fee"/>
- <field
- name="property_account_income"
- domain="[('type', '!=', 'view')]"/>
- <field name="taxes_id" widget="many2many_tags" string="Taxes"/>
- </group>
+ <field name="default_code"/>
+ <field name="categ_id"/>
+ <field name="membership" invisible="1"/>
+ <field name="company_id"
+ groups="base.group_multi_company"
+ widget="selection"/>
+ <field name="active"/>
+ </group>
+ <group>
+ <label for="membership_date_from" string="Membership Duration"/>
+ <div>
+ <field name="membership_date_from" required="1" class="oe_inline"/> -
+ <field name="membership_date_to" required="1" class="oe_inline"/>
+ </div>
+ <field name="list_price" string="Membership Fee"/>
+ <field
+ name="property_account_income"
+ domain="[('type', '!=', 'view')]"/>
+ <field name="taxes_id" widget="many2many_tags" string="Taxes"/>
</group>
- <label for="description"/>
- <field colspan="4" name="description" placeholder="Add a description..."/>
- <label for="description_sale"/>
- <field colspan="4" name="description_sale" placeholder="This note will be displayed on quotations..."/>
- </sheet>
+ </group>
+ <label for="description"/>
+ <field colspan="4" name="description" placeholder="Add a description..."/>
+ <label for="description_sale"/>
+ <field colspan="4" name="description_sale" placeholder="This note will be displayed on quotations..."/>
</form>
</field>
</record>
diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml
index 73b139605e0..6ae2d2268ce 100644
--- a/addons/mrp/mrp_view.xml
+++ b/addons/mrp/mrp_view.xml
@@ -27,10 +27,11 @@
<field name="model">mrp.property.group</field>
<field name="arch" type="xml">
<form string="Properties categories">
- <label for="name"/>
- <field name="name"/>
- <label for="description"/>
- <field name="description"/>
+ <group>
+ <field name="name"/>
+ </group>
+ <separator string="Description"/>
+ <field name="description" nolabel="1"/>
</form>
</field>
</record>
@@ -84,8 +85,8 @@
<field name="group_id"/>
<field name="composition"/>
</group>
- <label for="description"/>
- <field name="description"/>
+ <separator string="Description"/>
+ <field name="description" nolabel="1"/>
</form>
</field>
</record>
@@ -198,8 +199,8 @@
<field name="costs_general_account_id" attrs="{ 'required':['|',('costs_cycle_account_id', '=', True),('costs_hour_account_id', '=', True)]}" groups="analytic.group_analytic_accounting"/>
</group>
</group>
- <label for="note"/>
- <field name="note"/>
+ <separator string="Description"/>
+ <field name="note" nolabel="1"/>
</page>
</notebook>
</form>
diff --git a/addons/point_of_sale/point_of_sale_view.xml b/addons/point_of_sale/point_of_sale_view.xml
index 07ec934318e..2202627ae3e 100644
--- a/addons/point_of_sale/point_of_sale_view.xml
+++ b/addons/point_of_sale/point_of_sale_view.xml
@@ -628,59 +628,57 @@
</div>
</header>
- <sheet>
- <label for="name" class="oe_edit_only"/>
- <h1>
- <field name="name"/>
- </h1>
- <group col="4">
- <field name="picking_type_id" widget="selection" groups="stock.group_locations"
- on_change="onchange_picking_type_id(picking_type_id)"/>
- <field name="stock_location_id" groups="stock.group_locations"/>
- <field name="pricelist_id" groups="product.group_sale_pricelist"/>
- <field name="currency_id" invisible="1"/>
- <field name="journal_id" widget="selection"/>
- <field name="group_by" groups="account.group_account_user"/>
- <field name="sequence_id" readonly="1" groups="base.group_no_one"/>
- </group>
- <separator string="Available Payment Methods" colspan="4"/>
- <field name="journal_ids" colspan="4" nolabel="1">
- <tree string="Journals">
- <field name="code" />
- <field name="name" />
- <field name="type" />
- <field name="cash_control" />
- </tree>
- </field>
- <group string="Features" >
- <group>
- <field name="iface_vkeyboard" />
- <field name="iface_invoicing" />
- </group>
- <group>
- <field name="iface_big_scrollbars" />
- </group>
- </group>
- <group string="Hardware Proxy" >
- <field name="proxy_ip" />
- <field name="iface_print_via_proxy" />
- <field name="iface_scan_via_proxy" />
- <field name="iface_electronic_scale" />
- <field name="iface_cashdrawer" />
- </group>
- <group string="Receipt" >
- <field name="receipt_header" placeholder="A custom receipt header message"/>
- <field name="receipt_footer" placeholder="A custom receipt header footage"/>
+ <label for="name" class="oe_edit_only"/>
+ <h1>
+ <field name="name"/>
+ </h1>
+ <group col="4">
+ <field name="picking_type_id" widget="selection" groups="stock.group_locations"
+ on_change="onchange_picking_type_id(picking_type_id)"/>
+ <field name="stock_location_id" groups="stock.group_locations"/>
+ <field name="pricelist_id" groups="product.group_sale_pricelist"/>
+ <field name="currency_id" invisible="1"/>
+ <field name="journal_id" widget="selection"/>
+ <field name="group_by" groups="account.group_account_user"/>
+ <field name="sequence_id" readonly="1" groups="base.group_no_one"/>
+ </group>
+ <separator string="Available Payment Methods" colspan="4"/>
+ <field name="journal_ids" colspan="4" nolabel="1">
+ <tree string="Journals">
+ <field name="code" />
+ <field name="name" />
+ <field name="type" />
+ <field name="cash_control" />
+ </tree>
+ </field>
+ <group string="Features" >
+ <group>
+ <field name="iface_vkeyboard" />
+ <field name="iface_invoicing" />
</group>
- <group string="Barcode Types" col="4">
- <field name="barcode_product" />
- <field name="barcode_cashier" />
- <field name="barcode_customer" />
- <field name="barcode_weight" />
- <field name="barcode_discount" />
- <field name="barcode_price" />
+ <group>
+ <field name="iface_big_scrollbars" />
</group>
- </sheet>
+ </group>
+ <group string="Hardware Proxy" >
+ <field name="proxy_ip" />
+ <field name="iface_print_via_proxy" />
+ <field name="iface_scan_via_proxy" />
+ <field name="iface_electronic_scale" />
+ <field name="iface_cashdrawer" />
+ </group>
+ <group string="Receipt" >
+ <field name="receipt_header" placeholder="A custom receipt header message"/>
+ <field name="receipt_footer" placeholder="A custom receipt header footage"/>
+ </group>
+ <group string="Barcode Types" col="4">
+ <field name="barcode_product" />
+ <field name="barcode_cashier" />
+ <field name="barcode_customer" />
+ <field name="barcode_weight" />
+ <field name="barcode_discount" />
+ <field name="barcode_price" />
+ </group>
</form>
</field>
@@ -974,3 +972,4 @@
</data>
</openerp>
+
diff --git a/addons/procurement/procurement_view.xml b/addons/procurement/procurement_view.xml
index b3d8551947f..f5cc370f70f 100644
--- a/addons/procurement/procurement_view.xml
+++ b/addons/procurement/procurement_view.xml
@@ -212,25 +212,24 @@
<field eval="10" name="priority"/>
<field name="arch" type="xml">
<form string="Pull Rule">
- <sheet>
- <div class="oe_title">
- <label for="name" class="oe_edit_only"/>
- <h1><field name="name"/></h1>
- </div>
- <group>
- <group string="General Information">
- <field name="action"/>
- <field name="sequence"/>
- <field name="active"/>
- </group>
- <group name="propagation_group" string="Propagation Options" groups="base.group_no_one">
- <field name="group_propagation_option"/>
- <field name="group_id" attrs="{'invisible': [('group_propagation_option', '!=', 'fixed')], 'required': [('group_propagation_option', '=', 'fixed')]}"/>
- </group>
+ <div class="oe_title">
+ <label for="name" class="oe_edit_only"/>
+ <h1><field name="name"/></h1>
+ </div>
+ <group>
+ <group string="General Information">
+ <field name="action"/>
+ <field name="sequence"/>
+ <field name="active"/>
</group>
- </sheet>
+ <group name="propagation_group" string="Propagation Options" groups="base.group_no_one">
+ <field name="group_propagation_option"/>
+ <field name="group_id" attrs="{'invisible': [('group_propagation_option', '!=', 'fixed')], 'required': [('group_propagation_option', '=', 'fixed')]}"/>
+ </group>
+ </group>
</form>
</field>
</record>
</data>
</openerp>
+
diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml
index 5b8b2c113d9..85d3d4dadcd 100644
--- a/addons/product/product_view.xml
+++ b/addons/product/product_view.xml
@@ -466,20 +466,18 @@
<field name="model">product.category</field>
<field name="arch" type="xml">
<form string="Product Categories">
- <sheet>
- <div class="oe_title">
- <label for="name" class="oe_edit_only"/>
- <h1>
- <field name="name"/>
- </h1>
- </div>
- <group>
- <group name="parent" col="4">
- <field name="parent_id"/>
- <field name="type"/>
- </group>
+ <div class="oe_title">
+ <label for="name" class="oe_edit_only"/>
+ <h1>
+ <field name="name"/>
+ </h1>
+ </div>
+ <group>
+ <group name="parent" col="4">
+ <field name="parent_id"/>
+ <field name="type"/>
</group>
- </sheet>
+ </group>
</form>
</field>
</record>
diff --git a/addons/resource/resource_view.xml b/addons/resource/resource_view.xml
index 6d3b885b7d2..ddf53a9678c 100644
--- a/addons/resource/resource_view.xml
+++ b/addons/resource/resource_view.xml
@@ -59,15 +59,13 @@
<field name="model">resource.calendar</field>
<field name="arch" type="xml">
<form string="Working Time">
- <sheet>
- <group>
- <field name="name"/>
- <field name="manager"/>
- <field name="company_id" groups="base.group_multi_company"/>
- </group>
- <field name="attendance_ids"/>
- <field name="leave_ids"/>
- </sheet>
+ <group>
+ <field name="name"/>
+ <field name="manager"/>
+ <field name="company_id" groups="base.group_multi_company"/>
+ </group>
+ <field name="attendance_ids"/>
+ <field name="leave_ids"/>
</form>
</field>
</record>