[MERGE] [FIX] Spelling error and missing call to _(), courtesy of Stefan Rijnhart (Therp)

bzr revid: mat@openerp.com-20130528152722-lky2l3f6htfc0h35
This commit is contained in:
Martin Trigaux 2013-05-28 17:27:22 +02:00
commit e390d05862
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ import time
from lxml import etree
from openerp.osv import fields, osv
from openerp.tools.translate import _
class payment_order_create(osv.osv_memory):
"""
@ -108,7 +109,7 @@ class payment_order_create(osv.osv_memory):
context.update({'line_ids': line_ids})
model_data_ids = mod_obj.search(cr, uid,[('model', '=', 'ir.ui.view'), ('name', '=', 'view_create_payment_order_lines')], context=context)
resource_id = mod_obj.read(cr, uid, model_data_ids, fields=['res_id'], context=context)[0]['res_id']
return {'name': ('Entrie Lines'),
return {'name': _('Entry Lines'),
'context': context,
'view_type': 'form',
'view_mode': 'form',