openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07020
[Bug 928233] Re: Upstream Traceability button on production lot opens Downstream Traceability window
** Branch linked: lp:~openerp-dev/openobject-addons/trunk-bug-928233-mma
--
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/928233
Title:
Upstream Traceability button on production lot opens Downstream
Traceability window
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
Clicking the button "Upstream Traceability" on a production lot under
Warehouse / Traceability / Production Lots opens a window titled
"Downstream Traceability" with an incorrect field_parent.
Steps to reproduce:
* trunk server and addons with module stock installed
* under Warehouse / Traceability / Production Lots create a new production lot
* Click button Upstream Traceability
Works in 6.0, change that causes problem is in
stock/wizard/stock_traceability.py, where
type1 = context['type'] or 'move_history_ids2'
is changed to
type1 = context.get('type', 'move_history_ids2')
However stock/stock_view.xml sets type in the context of the upstream
traceability button to ''.
Because the variable type1 is also used as field_parent, the data
shown is also incorrect.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/928233/+subscriptions
References