##############################################################################
#
# lhc module for OpenERP, Customize OpenERP for L'Heureux Cyclage Copyright
-# (C) 2013-2020 L'Heureux Cyclage (<http://www.heureux-cyclage.org>)
+# (C) 2013-2022 L'Heureux Cyclage (<http://www.heureux-cyclage.org>)
#
# This file is a part of lhc_custom_oe
#
from openerp.osv import osv
from openerp.osv import orm
from openerp.osv import fields
+from openerp.tools.translate import _
import openerp.addons.decimal_precision as dp
}
def onchange_contact_id(self, cr, uid, ids, contact, partner, context=None):
- """Concat phone with mobile phone if exist. If mobile exist and not
+ """Contcat phone with mobile phone if exist. If mobile exist and not
phone, add mobile number"""
vals = super(event_registration, self).onchange_contact_id(cr, uid, ids, contact, partner, context)
addr_obj = self.pool.get('res.partner')
vals['value']['phone'] = mobile
return vals
-
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: