Review: Needs Fixing

Two improvements:

1:instead of calling write  on invoice twice why not build a dict with values 
to be written then a final write.

2: picking.purchase_id.partner_id and  
picking.purchase_id.partner_address_id.partner_id will always be the same why 
to check for both.


Thanks,
Naresh
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-573828-ado/+merge/102434
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-573828-ado.

_______________________________________________
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