[Trunk/7.0] Split in serial numbers bug on the physical inventories

Bug #1161556 reported by Paulius Sladkevičius @ hbee on 2013-03-28
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 2

Bug Description

On the Physical inventories Posted Inventory tab you can split posted moves to serial numbers. You need to press 'Split in serial numbers' icon. I got error 'Uncaught Error: NameError: name 'parent' is not defined'. Please find attached screenshot to see what needs to be done to get error.

Fix:
problem came from the buttons context where it tries to pass inventory id context="{'inventory_id':parent.id}". I see that this context must be removed from buttons "Put in a new pack" and "Split in serial numbers" in this view, because same context is passed on the move_ids field.

Related branches

Amit Parik (amit-parik) on 2013-04-01
summary: - [7.0] Split in serial numbers bug on the physical inventories
+ [Trunk/7.0] Split in serial numbers bug on the physical inventories
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Medium
status: New → Confirmed
Amit Parik (amit-parik) wrote :

Additional things : On the same view "Put in a new pack" and "Split in serial numbers" buttons should not be visible on done and cancel state.

Thank you!

Changed in openobject-addons:
status: Confirmed → In Progress

Hello,

It has been fixed into : https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1161556-cga

Revision ID: <email address hidden>
Revision No: 8704.

And also as per suggestion Additional things has been fixed with following revision

Revision No:8705.
Revision ID:<email address hidden>

It will be merged soon.

Thanks
Jitendra Prajapati.

Changed in openobject-addons:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers