Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Aconcagua
hr_payroll_base_config
Commits
796d8fda
Commit
796d8fda
authored
Jan 13, 2022
by
Santiago Apel
💬
Browse files
[ADD] log when execute
parent
56da7fe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
models/hr_employee.py
models/hr_employee.py
+4
-0
No files found.
models/hr_employee.py
View file @
796d8fda
# -*- coding: utf-8 -*-
from
odoo
import
api
,
fields
,
models
import
logging
_logger
=
logging
.
getLogger
(
__name__
)
class
HREmployee
(
models
.
Model
):
...
...
@@ -18,6 +21,7 @@ class HREmployee(models.Model):
record
.
last_contract_id
=
contract_id
.
id
else
:
record
.
last_contract_id
=
False
_logger
.
info
(
'_get_vigent_contract executed %s %s'
%
(
record
,
contract_ids
))
last_contract_id
=
fields
.
Many2one
(
"hr.contract"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment