[FIX]Human Resources : employee form view : Mobile field
lp bug: https://launchpad.net/bugs/719915 fixed bzr revid: ara@tinyerp.com-20110216112343-41ufqgkdkwv2f7jt
This commit is contained in:
parent
d7caf7d230
commit
efaeed6332
|
@ -150,7 +150,7 @@ class hr_employee(osv.osv):
|
|||
'partner_id': fields.related('address_home_id', 'partner_id', type='many2one', relation='res.partner', readonly=True, help="Partner that is related to the current employee. Accounting transaction will be written on this partner belongs to employee."),
|
||||
'bank_account_id':fields.many2one('res.partner.bank', 'Bank Account', domain="[('partner_id','=',partner_id)]", help="Employee bank salary account"),
|
||||
'work_phone': fields.char('Work Phone', size=32, readonly=False),
|
||||
'mobile_phone': fields.char('Mobile', size=32, readonly=False),
|
||||
'mobile_phone': fields.char('Work Mobile', size=32, readonly=False),
|
||||
'work_email': fields.char('Work E-mail', size=240),
|
||||
'work_location': fields.char('Office Location', size=32),
|
||||
'notes': fields.text('Notes'),
|
||||
|
@ -167,7 +167,7 @@ class hr_employee(osv.osv):
|
|||
def onchange_address_id(self, cr, uid, ids, address, context=None):
|
||||
if address:
|
||||
address = self.pool.get('res.partner.address').browse(cr, uid, address, context=context)
|
||||
return {'value': {'work_email': address.email, 'work_phone': address.phone}}
|
||||
return {'value': {'work_email': address.email, 'work_phone': address.phone, 'mobile_phone': address.mobile}}
|
||||
return {'value': {}}
|
||||
|
||||
def onchange_company(self, cr, uid, ids, company, context=None):
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -702,7 +702,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -752,7 +752,7 @@ msgstr "Stelle ist besetzt"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "Mobiltelefon"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -704,7 +704,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -752,7 +752,7 @@ msgstr "Ocupado"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "Móvil"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -733,7 +733,7 @@ msgstr "Na poziciji"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "Mobitel"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -702,7 +702,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -704,7 +704,7 @@ msgstr "Asemassa"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "Matkapuhelin"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -746,7 +746,7 @@ msgstr "En poste"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "Tél. portable"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -702,7 +702,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -702,7 +702,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -702,7 +702,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -733,7 +733,7 @@ msgstr "Na poziciji"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "Mobitel"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -727,7 +727,7 @@ msgstr "Pozícióban"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "Mobilszám"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -748,7 +748,7 @@ msgstr "Dalam Posisi"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "Ponsel"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -747,7 +747,7 @@ msgstr "Assunzioni effettuate"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "Cellulare"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -702,7 +702,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -702,7 +702,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -702,7 +702,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -736,7 +736,7 @@ msgstr "Нээлттэй"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -741,7 +741,7 @@ msgstr "Is vervuld"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "Mobiel"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -705,7 +705,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -727,7 +727,7 @@ msgstr "Em Posição"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -715,7 +715,7 @@ msgstr "Em Posição"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "Celular:"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "Мобильный телефон"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -702,7 +702,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -702,7 +702,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -716,7 +716,7 @@ msgstr "Na Poziciji"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -735,7 +735,7 @@ msgstr "Na Poziciji"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "Mobilni"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -702,7 +702,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "โทรศัพท์มือถือ"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -149,6 +149,11 @@ msgstr ""
|
|||
msgid "Work Phone"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
#: field:hr.employee.category,child_ids:0
|
||||
msgid "Child Categories"
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -707,7 +707,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -707,7 +707,7 @@ msgstr "在职"
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr "手机"
|
||||
|
||||
#. module: hr
|
||||
|
|
|
@ -701,7 +701,7 @@ msgstr ""
|
|||
|
||||
#. module: hr
|
||||
#: field:hr.employee,mobile_phone:0
|
||||
msgid "Mobile"
|
||||
msgid "Work Mobile"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr
|
||||
|
|
Loading…
Reference in New Issue