openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #06787
[Bug 928233] Re: Upstream Traceability button on production lot opens Downstream Traceability window
** Attachment added: "Upstream Traceability.png"
https://bugs.launchpad.net/openobject-addons/+bug/928233/+attachment/2729235/+files/Upstream%20Traceability.png
--
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):
Confirmed
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