Skip to content

Commit

Permalink
[FIX]hr_timesheet_attendance_ux: change domain in task_id
Browse files Browse the repository at this point in the history
closes #38

Signed-off-by: Bruno Zanotti <bz@adhoc.com.ar>
  • Loading branch information
JoelZilli committed Jan 6, 2023
1 parent bd78d75 commit 629936e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hr_timesheet_attendance_ux/__manifest__.py
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
"name": "Attendance Timesheet UX",
'version': "15.0.1.0.0",
'version': "15.0.1.1.0",
'category': 'Human Resources',
'sequence': 14,
'author': 'ADHOC SA',
Expand Down
2 changes: 1 addition & 1 deletion hr_timesheet_attendance_ux/models/account_analytic_line.py
Expand Up @@ -7,7 +7,7 @@ class AccountAnalyticLine(models.Model):
_inherit = "account.analytic.line"

task_id = fields.Many2one(
domain="[('company_id', '=', company_id), ('project_id.allow_timesheets', '=', True), ('project_id', '=?', project_id), ('stage_id.fold', '=', False)]")
domain="[('project_id.allow_timesheets', '=', True), ('project_id', '=?', project_id), ('stage_id.fold', '=', False)]")

@api.onchange('employee_id', 'date')
def onchange_compute_hours(self):
Expand Down

0 comments on commit 629936e

Please sign in to comment.