[MODULE] ~account_budget_enhancement is a separated module now
[burette/lhc.git] / lhc.py
diff --git a/lhc.py b/lhc.py
index de5776a..32ac0bf 100644 (file)
--- a/lhc.py
+++ b/lhc.py
@@ -2,7 +2,7 @@
 ##############################################################################
 #
 #    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
 #
@@ -24,6 +24,7 @@
 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
 
 
@@ -145,7 +146,7 @@ class event_registration(orm.Model):
     }
 
     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')
@@ -159,5 +160,4 @@ class event_registration(orm.Model):
                 vals['value']['phone'] = mobile
         return vals
 
-
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: