openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #03247
[Bug 904601] Re: inherited views invisible attributes not respected
Hello Ferdinand ,
I have checked this with sales Module and stock_view.xml file.
I have Modified a view stock_picking_out_inherit_sale :
<record id="stock_picking_out_inherit_sale" model="ir.ui.view">
<field name="name">Outgoing picking Inherited</field>
<field name="model">stock.picking</field>
<field name="type">form</field>
<field name="inherit_id" ref="stock.view_picking_out_form"/>
<field name="arch" type="xml">
<field name="move_type" position="after">
<field name="sale_id" attrs="{'invisible': [('move_type','=', 'one')]}"/>
</field>
</field>
</record>
So would please try this code and correct me if I am wrong.
Thanks and waiting for replay.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/904601
Title:
inherited views invisible attributes not respected
Status in OpenERP Server:
Incomplete
Bug description:
in inherited views statements like
attrs="{'invisible': [('move_type','=', 'in')]}
are ignored
the column reains visible regardless if thec ondition is met or not
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/904601/+subscriptions
References