[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:
ARA (OpenERP) 2011-02-16 16:53:43 +05:30
parent d7caf7d230
commit efaeed6332
48 changed files with 53 additions and 48 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,7 +752,7 @@ msgstr "Ocupado"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr "Móvil"
#. 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

@ -733,7 +733,7 @@ msgstr "Na poziciji"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr "Mobitel"
#. 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

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

View File

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

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,7 +733,7 @@ msgstr "Na poziciji"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr "Mobitel"
#. module: hr

View File

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

View File

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

View File

@ -747,7 +747,7 @@ msgstr "Assunzioni effettuate"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr "Cellulare"
#. 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

@ -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,7 +741,7 @@ msgstr "Is vervuld"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr "Mobiel"
#. 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

@ -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,7 +715,7 @@ msgstr "Em Posição"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr "Celular:"
#. 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

@ -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,7 +735,7 @@ msgstr "Na Poziciji"
#. module: hr
#: field:hr.employee,mobile_phone:0
msgid "Mobile"
msgid "Work Mobile"
msgstr "Mobilni"
#. 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

@ -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,7 +707,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