openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12890
[Bug 1003999] Re: hide_tracking doesn't working correctly, problem faced on webclient
Hello moniarh,
I have fixed the problem in lp:~openerp-dev/openobject-addons/trunk-
bug-1003999-ssu branch, It will be merged soon in lp:openobject-addons.
Revision No: 6917
Revision ID: ssu@xxxxxxxxxxx-20120622110644-39gnh9yi9pqcm9e8
Thanks.
Saurang Suthar
** Branch linked: lp:~openerp-dev/openobject-addons/trunk-
bug-1003999-ssu
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1003999
Title:
hide_tracking doesn't working correctly, problem faced on webclient
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
Hello,
client6.1 : rev 2062
web 6. : rev 2331
server6.1: rev 4175
addon6.1: rev 6807
On wizard stock_partial_picking,
stock_partial_picking.py and stock_partial_picking_view.xml reveal a behavior difference between two clients.
In stock_partial_picking.py, the field hide_tracking is declared :
'hide_tracking': fields.function(_hide_tracking, string='Tracking', type='boolean', help='This field is for internal purpose. It is used to decide if the column prodlot has to be shown on the move_ids field or not'),
On stock_partial_picking_view.xml (line 20), hide_tracking is used by context.
<field name="move_ids" colspan="4" nolabel="1" mode="tree,form" width="550" height="200" context="{'hide_tracking': hide_tracking}">
It's used after to hide/show prodlot_id (on line 26):
<field name="prodlot_id" domain="[('product_id', '=', product_id)]" invisible="context.get('hide_tracking',False)" attrs="{'required':[('tracking','=',True)]}"/>
GTK client seems to work correctly, while web client has an anormal behavior :
GTK client hides prodlot_id because used products are not tracked
but Web client still shows prodlot_id!
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1003999/+subscriptions
References