Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
hr
hr_employee_loans
Merge requests
!2
[MODIFIED]field last_salary
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
[MODIFIED]field last_salary
brian_hr_loans
into
12.0-stage
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Brian Misael López
requested to merge
brian_hr_loans
into
12.0-stage
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Campo last_salary modificado
0
0
Merge request reports
Compare
12.0-stage
12.0-stage (base)
and
latest version
latest version
ac953bfe
1 commit,
3 years ago
1 file
+
1
−
1
Expand all files
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
models/hr_contract_inherit.py
+
1
−
1
Options
@@ -4,4 +4,4 @@ from odoo.exceptions import ValidationError
class
EmployeeContract
(
models
.
Model
):
_inherit
=
"
hr.contract
"
last_salary
=
fields
.
M
onetary
(
string
=
'
Last Salary
'
,
readonly
=
False
)
last_salary
=
fields
.
M
any2one
(
'
hr.salary.rule
'
,
string
=
'
Last Salary
'
,
readonly
=
False
)
Menu
Explore
Projects
Groups
Topics
Snippets