[MERGE] hr: Human Resources : employee form view : Mobile field

bzr revid: mra@mra-laptop-20110216130127-euwmtny0g831xub9
This commit is contained in:
Mustufa Rangwala 2011-02-16 18:31:27 +05:30
commit 1f7801d728
48 changed files with 67 additions and 62 deletions

View File

@ -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):

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -702,7 +702,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -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

View File

@ -704,7 +704,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -752,8 +752,8 @@ msgstr "Ocupado"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "Móvil"
msgid "Work Mobile"
msgstr "Móvil trabajo"
#. module: hr
#: view:hr.department:0

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -733,8 +733,8 @@ msgstr "Na poziciji"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "Mobitel"
msgid "Work Mobile"
msgstr "Poslovni Mobitel"
#. module: hr
#: view:hr.department:0

View File

@ -702,7 +702,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -704,8 +704,8 @@ msgstr "Asemassa"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "Matkapuhelin"
msgid "Work Mobile"
msgstr "Työ Matkapuhelin"
#. module: hr
#: view:hr.department:0

View File

@ -746,8 +746,8 @@ msgstr "En poste"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "Tél. portable"
msgid "Work Mobile"
msgstr "Travail Tél. portable"
#. module: hr
#: view:hr.department:0

View File

@ -702,7 +702,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -702,7 +702,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -702,7 +702,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -733,8 +733,8 @@ msgstr "Na poziciji"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "Mobitel"
msgid "Work Mobile"
msgstr "Poslovni Mobitel"
#. module: hr
#: view:hr.department:0

View File

@ -727,8 +727,8 @@ msgstr "Pozícióban"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "Mobilszám"
msgid "Work Mobile"
msgstr "Munkahelyi Mobilszám"
#. module: hr
#: view:hr.department:0

View File

@ -748,8 +748,8 @@ msgstr "Dalam Posisi"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "Ponsel"
msgid "Work Mobile"
msgstr "Ponsel Kantor"
#. module: hr
#: view:hr.department:0

View File

@ -747,8 +747,8 @@ msgstr "Assunzioni effettuate"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "Cellulare"
msgid "Work Mobile"
msgstr "Cellulare Ufficio"
#. module: hr
#: view:hr.department:0

View File

@ -702,7 +702,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -702,7 +702,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -702,7 +702,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -736,7 +736,7 @@ msgstr "Нээлттэй"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -741,8 +741,8 @@ msgstr "Is vervuld"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "Mobiel"
msgid "Work Mobile"
msgstr "Mobiel werk"
#. module: hr
#: view:hr.department:0

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -705,7 +705,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -727,7 +727,7 @@ msgstr "Em Posição"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -715,8 +715,8 @@ msgstr "Em Posição"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "Celular:"
msgid "Work Mobile"
msgstr "Celular comercial"
#. module: hr
#: view:hr.department:0

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -701,8 +701,8 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "Мобильный телефон"
msgid "Work Mobile"
msgstr "Раб. Мобильный телефон"
#. module: hr
#: view:hr.department:0

View File

@ -702,7 +702,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -702,7 +702,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -716,7 +716,7 @@ msgstr "Na Poziciji"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -735,8 +735,8 @@ msgstr "Na Poziciji"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "Mobilni"
msgid "Work Mobile"
msgstr "Poslovni Mobilni"
#. module: hr
#: view:hr.department:0

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -702,8 +702,8 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "โทรศัพท์มือถือ"
msgid "Work Mobile"
msgstr "โทรศัพท์มือถืองาน"
#. module: hr
#: view:hr.department:0

View File

@ -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"

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -707,7 +707,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr

View File

@ -707,8 +707,8 @@ msgstr "在职"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgstr "手机"
msgid "Work Mobile"
msgstr "办公手机"
#. module: hr
#: view:hr.department:0

View File

@ -701,7 +701,7 @@ msgstr ""
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr ""
#. module: hr