Skip to content

Commit

Permalink
[14.0][IMP] custom_saca_timesheet: Remove matanza parte II.
Browse files Browse the repository at this point in the history
  • Loading branch information
Berezi authored and Berezi committed Jan 28, 2025
1 parent 55c7b6a commit c6dbc8f
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions custom_saca_timesheet/models/saca_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,29 +103,6 @@ def action_create_purchase(self):
],
}
)
self.env["project.task"].create(
{
"project_id": project.id,
"name": "Matanza(Parte II)",
"saca_line_id": self.id,
"timesheet_ids": [
(
0,
0,
{
"sequence": 5,
"saca_line_id": self.id,
"date": self.saca_id.date,
"date_end": self.saca_id.date,
"name": "{} {}".format(
project.name, "Matanza(Parte II)"
),
"project_id": project.id,
},
)
],
}
)
for line in self.timesheet_ids:
line.employee_id = False
line.user_id = False

0 comments on commit c6dbc8f

Please sign in to comment.