Review: Needs Fixing

Hello Avdesh,

Do you think this changes are correct ? And will load the view as requested ?

because what I see in the code for the wizard the view is loaded based on the 
"type" like
type1 = context.get('type', 'move_history_ids2')

for upstream the parent_id is *move_history_ids*
for Down stream the parent_id is *move_history_ids2*

so if you remove the type from the context so it will have "move_history_ids2" 
which will indirectly load the Downstream view....

Solution:
just remove the type from the downstream action context and add type 
='move_history_ids'

Note: check the stock_view.xml 



Thanks,
Naresh

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-574785-avp/+merge/105632
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-574785-avp.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to