[FIX] Stock : Invoice from Stock should respect context for translations.
authorLionel(Numerigraphe) <>
Tue, 23 Mar 2010 14:11:12 +0000 (19:41 +0530)
committerJay (Open ERP) <jvo@tinyerp.com>
Tue, 23 Mar 2010 14:11:12 +0000 (19:41 +0530)
lp bug: https://launchpad.net/bugs/545032 fixed

bzr revid: jvo@tinyerp.com-20100323141112-0kqqj8o42wde4pcm

1  2 
addons/stock/wizard/wizard_invoice_onshipping.py

@@@ -102,7 -102,7 +102,7 @@@ def _create_invoice(obj, cr, uid, data
  
      invoice_ids = res.values()
      if not invoice_ids:
--        raise  wizard.except_wizard(_('Error'), _('Invoice is not created'))
++        raise wizard.except_wizard(_('Error'), _('Invoice is not created'))
  
      if type == 'out_invoice':
          xml_id = 'action_invoice_tree5'