diff --git a/addons/hr/static/src/scss/hr.scss b/addons/hr/static/src/scss/hr.scss index 1670c1913b4b8271fc2ba9547f96d0e00cf9d48c..313cf4554c393bfe14d52d82bde4ddff2e654c56 100644 --- a/addons/hr/static/src/scss/hr.scss +++ b/addons/hr/static/src/scss/hr.scss @@ -39,3 +39,4 @@ max-width: 100%; } } + diff --git a/addons/hr/views/hr_employee_public_views.xml b/addons/hr/views/hr_employee_public_views.xml index d96a71eb72a45ab488240672198aa85cba5e701c..db86ba0fec28b6dd32ebbd0d8f5c2ff4eea38888 100644 --- a/addons/hr/views/hr_employee_public_views.xml +++ b/addons/hr/views/hr_employee_public_views.xml @@ -61,8 +61,8 @@ </div> <group> <group> - <field name="mobile_phone" widget="phone" options="{'enable_sms': false}"/> - <field name="work_phone" widget="phone" options="{'enable_sms': false}"/> + <field name="mobile_phone" widget="phone"/> + <field name="work_phone" widget="phone"/> <field name="work_email" widget="email"/> </group> <group> diff --git a/addons/hr/views/hr_employee_views.xml b/addons/hr/views/hr_employee_views.xml index 637961ede1d419652273107a351806873bccd078..f44e0f809784d201e41eb25aa21294e1f498def0 100644 --- a/addons/hr/views/hr_employee_views.xml +++ b/addons/hr/views/hr_employee_views.xml @@ -138,7 +138,7 @@ 'form_view_ref': 'base.res_partner_view_form_private'}" options='{"always_reload": True, "highlight_first_line": True}'/> <field name="private_email" string="Email"/> - <field name="phone" class="o_force_ltr" string="Phone" readonly="True"/> + <field name="phone" string="Phone" readonly="True"/> <field name="bank_account_id" context="{'default_partner_id': address_home_id}"/> <field name="lang" string="Language"/> <label for="km_home_work"/> diff --git a/addons/hr/views/res_users.xml b/addons/hr/views/res_users.xml index 2323cd6da1f0fb23cf1de4d704d5965cf28c386a..d645d98d1604bbf504803bb93f3049dd868ee9e9 100644 --- a/addons/hr/views/res_users.xml +++ b/addons/hr/views/res_users.xml @@ -99,8 +99,8 @@ <group> <group> <field name="can_edit" invisible="1"/> - <field name="mobile_phone" widget="phone" attrs="{'readonly': [('can_edit', '=', False)]}" options="{'enable_sms': false}"/> - <field name="work_phone" widget="phone" attrs="{'readonly': [('can_edit', '=', False)]}" options="{'enable_sms': false}"/> + <field name="mobile_phone" widget="phone" attrs="{'readonly': [('can_edit', '=', False)]}"/> + <field name="work_phone" widget="phone" attrs="{'readonly': [('can_edit', '=', False)]}"/> </group> <group> <field name="work_email" widget="email" attrs="{'readonly': [('can_edit', '=', False)]}"/> @@ -146,7 +146,7 @@ </div> <field name="private_email" string="Email" attrs="{'readonly': [('can_edit', '=', False)], 'invisible': [('address_home_id', '=', False)]}"/> - <field name="employee_phone" string="Phone" class="o_force_ltr" attrs="{'readonly': [('can_edit', '=', False)], 'invisible': [('address_home_id', '=', False)]}" options="{'enable_sms': false}"/> + <field name="employee_phone" string="Phone" class="o_force_ltr" attrs="{'readonly': [('can_edit', '=', False)], 'invisible': [('address_home_id', '=', False)]}"/> <field name="private_lang" string="Language" attrs="{'readonly': [('can_edit', '=', False)], 'invisible': [('address_home_id', '=', False)]}"/> <field name="employee_bank_account_id" attrs="{'readonly': [('can_edit', '=', False)]}"/> <field name="km_home_work" attrs="{'readonly': [('can_edit', '=', False)]}"/> @@ -175,7 +175,7 @@ </group> <group string="Emergency"> <field name="emergency_contact" attrs="{'readonly': [('can_edit', '=', False)]}"/> - <field name="emergency_phone" widget="phone" attrs="{'readonly': [('can_edit', '=', False)]}" options="{'enable_sms': false}"/> + <field name="emergency_phone" widget="phone" attrs="{'readonly': [('can_edit', '=', False)]}"/> </group> <group string="Work Permit" name="has_work_permit"> <field name="visa_no" attrs="{'readonly': [('can_edit', '=', False)]}"/> diff --git a/addons/hr_recruitment/static/src/scss/hr_applicant.scss b/addons/hr_recruitment/static/src/scss/hr_applicant.scss index f71d8a51de44e813e7df36302fdda07298c72e94..ec4965d90853ac9f96f694030b174251cf2c68e3 100644 --- a/addons/hr_recruitment/static/src/scss/hr_applicant.scss +++ b/addons/hr_recruitment/static/src/scss/hr_applicant.scss @@ -19,3 +19,4 @@ } } } + diff --git a/addons/hr_recruitment/views/hr_recruitment_views.xml b/addons/hr_recruitment/views/hr_recruitment_views.xml index 5a3921ad3fff84b69b57ddea0ccdf00cab861046..3aa8f8615423e55d2bca6f1e04388590246b7bd3 100644 --- a/addons/hr_recruitment/views/hr_recruitment_views.xml +++ b/addons/hr_recruitment/views/hr_recruitment_views.xml @@ -140,7 +140,7 @@ <field name="refuse_reason_id" attrs="{'invisible': [('active', '=', True)]}"/> <field name="email_from" widget="email"/> <field name="email_cc" groups="base.group_no_one"/> - <field name="partner_phone" widget="phone" options="{'enable_sms': false}"/> + <field name="partner_phone" widget="phone"/> <field name="partner_mobile" widget="phone"/> <field name="linkedin_profile" widget="url"/> <field name="type_id" placeholder="Degree"/> diff --git a/addons/web/static/src/views/fields/phone/phone_field.scss b/addons/web/static/src/views/fields/phone/phone_field.scss index e1fd9385d5eee3a3dbf23f85511d06bf055c016b..f5d1d397e34f50ee24bc5149b54eab15a5a115c7 100644 --- a/addons/web/static/src/views/fields/phone/phone_field.scss +++ b/addons/web/static/src/views/fields/phone/phone_field.scss @@ -4,6 +4,7 @@ body:not(.o_touch_device) .o_field_phone { display: none !important; } } + word-break: keep-all !important; } .o_phone_content small {