fix
This commit is contained in:
parent
3b073b2a4f
commit
1d1bcd7911
|
|
@ -112,8 +112,8 @@ msgstr "تصديق"
|
||||||
|
|
||||||
#. module: exp_payroll_promotion
|
#. module: exp_payroll_promotion
|
||||||
#: model_terms:ir.ui.view,arch_db:exp_payroll_promotion.hr_payroll_raise_form_view
|
#: model_terms:ir.ui.view,arch_db:exp_payroll_promotion.hr_payroll_raise_form_view
|
||||||
msgid "General Manager"
|
msgid "Approve"
|
||||||
msgstr "المدير العام"
|
msgstr "تصديق"
|
||||||
|
|
||||||
#. module: exp_payroll_promotion
|
#. module: exp_payroll_promotion
|
||||||
#: model_terms:ir.ui.view,arch_db:exp_payroll_promotion.hr_payroll_raise_form_view
|
#: model_terms:ir.ui.view,arch_db:exp_payroll_promotion.hr_payroll_raise_form_view
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ class HrPayrollRaise(models.Model):
|
||||||
('hr_officer', 'HR Officer'),
|
('hr_officer', 'HR Officer'),
|
||||||
('confirm', 'HR Manager'),
|
('confirm', 'HR Manager'),
|
||||||
('approve', 'Approved'),
|
('approve', 'Approved'),
|
||||||
('refuse', 'Refused')], 'State', default='draft')
|
('refuse', 'Refused')], 'State', default='draft', tracking=True)
|
||||||
|
|
||||||
last_raises = fields.Boolean(string='Last Raise', default=True, readonly=True)
|
last_raises = fields.Boolean(string='Last Raise', default=True, readonly=True)
|
||||||
current_salary = fields.Float(string='Current Salary', store=True)
|
current_salary = fields.Float(string='Current Salary', store=True)
|
||||||
|
|
|
||||||
|
|
@ -15,10 +15,10 @@
|
||||||
<button string="Refuse" name="act_refuse" states="hr_officer" type="object" class="oe_highlight"
|
<button string="Refuse" name="act_refuse" states="hr_officer" type="object" class="oe_highlight"
|
||||||
groups="hr.group_hr_manager"/>
|
groups="hr.group_hr_manager"/>
|
||||||
|
|
||||||
<button string="General Manager" name="act_approve" states="confirm" type="object"
|
<button string="Approve" name="act_approve" states="confirm" type="object"
|
||||||
class="oe_highlight" groups="hr_base.group_general_manager"/>
|
class="oe_highlight" groups="hr_base.group_general_manager,hr.group_hr_manager"/>
|
||||||
<button string="Refuse" name="act_refuse" states="confirm" type="object" class="oe_highlight"
|
<button string="Refuse" name="act_refuse" states="confirm" type="object" class="oe_highlight"
|
||||||
groups="hr_base.group_general_manager"/>
|
groups="hr_base.group_general_manager,hr.group_hr_manager"/>
|
||||||
|
|
||||||
<button string="Reset To Draft" name="act_reset" states="refuse,approve" type="object"
|
<button string="Reset To Draft" name="act_reset" states="refuse,approve" type="object"
|
||||||
class="oe_highlight"
|
class="oe_highlight"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue