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