openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #11820
[Bug 1003999] Re: hide_tracking doesn'r working correctly, problem faced on webclient
** Summary changed:
- behaviors difference between GTK and web clients
+ hide_tracking doesn'r working correctly, problem faced on webclient
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)
--
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'r working correctly, problem faced on webclient
Status in OpenERP Addons (modules):
Confirmed
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