← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 611348] Re: xml inherit does not respect cols attribute

 

** Attachment added: "stock_picking_view_modified"
   https://bugs.launchpad.net/openobject-client/+bug/611348/+attachment/1758230/+files/stock_picking_out_form.xml

** Changed in: openobject-client
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/611348

Title:
  xml inherit does not respect cols attribute

Status in OpenObject GTK Client:
  Invalid

Bug description:
  
**************** modified stock.picking.form *********** col="6" !
<?xml version="1.0"?>
<form string="Packing list">
                    <group colspan="4" col="6">
                        <field name="type"/>
                        <field name="name" readonly="1"/>
                        <field name="partner_id" select="1" colspan="6"/>
                        <field name="address_id" select="2" colspan="6" attrs="{'readonly':[('state','!=','draft')]}"/>
                        <field name="date"/>
                        <field name="min_date" select="2"/>
                    </group>

**************** inherit **************
<?xml version="1.0"?>
<field name="address_id" position="after">
                    <field name="sale_id"  colspan="2"/>
                    <field name="partner_customer_id" colspan="4"/>
                </field>
****************************************
GTK and WEB put partner_customer_id on a new line (Koo respects col="6") 

if I set 
  <field name="partner_customer_id" colspan="2"/> 
6 columns are available and the "Date Planing" field moves in the same line as sale_id and partner_customer_id

see screen shot