huyen_dev #2

Closed
huyennx wants to merge 15 commits from huyen_dev into dev
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 0ea6e2fcb0 - Show all commits

View File

@ -37,6 +37,7 @@ class HrEmployeePrivate(models.Model):
# resource and user
# required on the resource, make sure required="True" set in the view
name = fields.Char(string="Employee Name", related='resource_id.name', store=True, readonly=False, tracking=True)
english_name = fields.Char(string="English Name")
user_id = fields.Many2one(
'res.users', 'User',
related='resource_id.user_id',

View File

@ -99,6 +99,7 @@
<field name="company_country_code" invisible="1"/>
</group>
<group>
<field name="english_name"/>
<field name="department_id"/>
<field name="job_id" context="{'default_no_of_recruitment': 0, 'default_is_favorite': False}" placeholder="e.g. Sales Manager"/>
<field name="parent_id" widget="many2one_avatar_user"/>