Upstream Traceability button on production lot opens Downstream Traceability window
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP R&D Addons Team 2 |
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/
type1 = context['type'] or 'move_history_ids2'
is changed to
type1 = context.get('type', 'move_history_
However stock/stock_
Because the variable type1 is also used as field_parent, the data shown is also incorrect.
Related branches
- Rucha (Open ERP) (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedstock/wizard/stock_traceability.py (+1/-1)
- Rucha (Open ERP): Pending requested
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedstock/stock_view.xml (+1/-1)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Hello,
I agree with simon the Upstream Traceability displayed with Downstream Traceability string but displayed values are proper.
Please see the attached screen-shots.
Thank you!