xml inherit does not respect cols attribute

Bug #611348 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Invalid
Low
OpenERP sa GTK client R&D

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

Revision history for this message
Ferdinand (office-chricar) wrote :
tfr (Openerp) (tfr)
Changed in openobject-client:
importance: Undecided → Wishlist
importance: Wishlist → Low
status: New → Confirmed
assignee: nobody → OpenERP sa GTK client R&D (openerp-dev-gtk)
milestone: none → 6.0-rc2
Changed in openobject-client:
status: Confirmed → Invalid
status: Invalid → Confirmed
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

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,

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :
Changed in openobject-client:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.