diff options
Diffstat (limited to 'addons/procurement/procurement_view.xml')
| -rw-r--r-- | addons/procurement/procurement_view.xml | 50 |
1 files changed, 31 insertions, 19 deletions
diff --git a/addons/procurement/procurement_view.xml b/addons/procurement/procurement_view.xml index 3b0404d376b..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 & 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"/> @@ -93,9 +105,9 @@ </page> </notebook> </sheet> - <footer> + <div class="oe_chatter"> <field name="message_ids" widget="mail_thread"/> - </footer> + </div> </form> </field> </record> |
