← Back to team overview

openerp-dev-web team mailing list archive

Re: lp:~openerp-dev/openobject-addons/trunk-bug-pointofsale-amp into lp:~openerp-dev/openobject-addons/trunk-bugfixes-Ind

 

Review: Needs Fixing
Hello Amit,

No need to add new field in POS,
for address you can do like this.
Instead of this line :

'address_id': order.partner_shipping_id and order.partner_shipping_id.id or False,

do:

'address_id':  self.pool.get('res.partner').address_get(cr, uid, [part], ['delivery'])['delivery']

Please apply this changes and do remerge proposal.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-pointofsale-amp/+merge/57640
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bugfixes-Ind.



References