openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #00137
[Bug 611348] Re: xml inherit does not respect cols attribute
Hello Ferdinand,
I tried out the scenario with the latest trunk and it seems to respect the 'col' attribute.
I am attaching the module named 'test.zip' and modified stock_picking xml file. to test the scenario with respect to trunk code also I am attaching the .png of the result I had at my end.
Thanks,
** Attachment added: "partner_customer_id with colspan=4"
https://bugs.launchpad.net/openobject-client/+bug/611348/+attachment/1758222/+files/1.png
--
You received this bug notification because you are a member of OpenERP
Indian Team, 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