log
This commit is contained in:
parent
6c0136bee4
commit
890110fda9
|
|
@ -8,7 +8,8 @@
|
|||
'website': 'http://exp-sa.com',
|
||||
'license': 'GPL-3',
|
||||
'author': 'Expert Co. Ltd.' ,
|
||||
'depends': ['base', 'hr_attendance', 'report_xlsx','hr_base','exp_payroll_custom','hr_holidays_public'],
|
||||
'depends': ['base', 'hr_attendance', 'report_xlsx','hr_base','exp_payroll_custom',],
|
||||
# hr_holidays_public
|
||||
'data': [
|
||||
'security/attendance_security.xml',
|
||||
'security/ir.model.access.csv',
|
||||
|
|
|
|||
|
|
@ -262,6 +262,18 @@ class StandardAppraisalLines(models.Model):
|
|||
accrued_greed = fields.Float()
|
||||
question = fields.Char()
|
||||
great_level = fields.Float()
|
||||
priority = fields.Selection(
|
||||
[
|
||||
('0', '1'),
|
||||
('1', '2'),
|
||||
('2', '3'),
|
||||
('3', '4'),
|
||||
('4', '5'),
|
||||
],
|
||||
string='Priority',
|
||||
default='0',
|
||||
index=True
|
||||
)
|
||||
|
||||
# Relational fields
|
||||
standard_appraisal_employee_line = fields.Many2one('hr.employee.appraisal') # inverse field
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@
|
|||
'invisible': [('parent.employee_protest', '!=', True)],
|
||||
'column_invisible': [('parent.employee_protest', '!=', True)]
|
||||
}"/>
|
||||
<field name="priority" string="priority" widget="priority"/>
|
||||
<field name="great_level" string="Great Level" readonly="1" force_save="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
|
|
|
|||
Loading…
Reference in New Issue