summaryrefslogtreecommitdiff
path: root/addons/procurement/procurement_view.xml
diff options
context:
space:
mode:
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-07-17 17:43:56 +0200
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-07-17 17:43:56 +0200
commit2a89c6079c9f7f5d9135bcda777fda3f3ed8d859 (patch)
tree3fbb8bf7a9ca74267fccdffefaa91667d0f3fc25 /addons/procurement/procurement_view.xml
parent14ff708e69a46fcc8fa94be486cda9be1fe3e136 (diff)
parent3b271f68ee95c11e78c64c9de830a4515dc38258 (diff)
[MERGE] warehouse, usability in form views
bzr revid: qdp-launchpad@openerp.com-20120717154356-u2mr0s9ef9rr24ws
Diffstat (limited to 'addons/procurement/procurement_view.xml')
-rw-r--r--addons/procurement/procurement_view.xml46
1 files changed, 29 insertions, 17 deletions
diff --git a/addons/procurement/procurement_view.xml b/addons/procurement/procurement_view.xml
index 4c45f90b904..3085eb6d672 100644
--- a/addons/procurement/procurement_view.xml
+++ b/addons/procurement/procurement_view.xml
@@ -55,34 +55,46 @@
<field name="state" readonly="1" widget="statusbar" statusbar_visible="draft,confirmed" />
</header>
<sheet>
+ <label for="name" class="oe_edit_only"/>
+ <h1>
+ <field name="name" class="oe_inline"/>
+ <label string="-" attrs="{'invisible':[('origin','=',False)]}"/>
+ <field name="origin" class="oe_inline"/>
+ </h1>
<group>
- <group string="References">
- <field name="name"/>
- <field name="origin"/>
- <field name="company_id" groups="base.group_multi_company" widget="selection"/>
- </group>
- <group string="Planification">
+ <group>
<field name="date_planned"/>
<field name="procure_method"/>
<field name="priority"/>
</group>
+ <group>
+ <field name="message"/>
+ <field name="company_id" groups="base.group_multi_company" widget="selection"/>
+ </group>
</group>
<notebook>
<page string="Procurement Details">
- <group string="Product &amp; Location" col="4">
- <field name="product_id" on_change="onchange_product_id(product_id)"/>
- <field name="location_id" domain="[('usage','=','internal')]"/>
- <field name="product_qty"/>
- <field name="product_uom"/>
-
- <field name="product_uos_qty" groups="product.group_uos"/>
- <field name="product_uos" groups="product.group_uos"/>
+ <group>
+ <group>
+ <field name="product_id" on_change="onchange_product_id(product_id)"/>
+ <label for="product_qty"/>
+ <div>
+ <field name="product_qty" class="oe_inline"/>
+ <field name="product_uom" class="oe_inline"/>
+ </div>
+ <label for="product_uos_qty" groups="product.group_uos"/>
+ <div groups="product.group_uos">
+ <field name="product_uos_qty" class="oe_inline"/>
+ <field name="product_uos" class="oe_inline"/>
+ </div>
+ </group>
+ <group>
+ <field name="location_id" domain="[('usage','=','internal')]"/>
+ </group>
</group>
- <separator string="Status"/>
- <field name="message"/>
</page>
<page string="Extra Information">
- <group string="Details" col="4">
+ <group>
<field name="move_id"/>
<field name="date_close"/>
<field name="close_move"/>