Review: Needs Fixing

Hello Hardik,

what if there is no sale order line ?

you should check for Sale order line existence if no then the partner_id should 
be False

something like:
If line_id:
then browse for line_id and get the partner id.

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

_______________________________________________
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