Mayur Maheshwari(OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-opw-575489-port-mma into lp:openobject-addons.
Requested reviews: OpenERP Core Team (openerp) For more details, see: https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-575489-port-mma/+merge/135071 Hello, Warning message should be displayed in user's language instead of partner's while we validate the invoices. code is forward port from 6.1 Thanks, Mayur -- https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-575489-port-mma/+merge/135071 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-opw-575489-port-mma.
=== modified file 'account/account_invoice.py' --- account/account_invoice.py 2012-11-15 12:38:51 +0000 +++ account/account_invoice.py 2012-11-20 07:16:21 +0000 @@ -854,7 +854,7 @@ continue ctx = context.copy() - ctx.update({'lang': inv.partner_id.lang}) + ctx.update({'lang': self.pool.get('res.users').browse(cr, uid, uid).context_lang}) if not inv.date_invoice: self.write(cr, uid, [inv.id], {'date_invoice': fields.date.context_today(self,cr,uid,context=context)}, context=ctx) company_currency = inv.company_id.currency_id.id
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : openerp-dev-gtk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp