Skip to content
Snippets Groups Projects
Commit 78851943 authored by Benjamin - Le Filament's avatar Benjamin - Le Filament
Browse files

[clean] clean code

parent b21ef91f
No related branches found
No related tags found
1 merge request!1Refactor reports
......@@ -126,9 +126,6 @@ class Training(models.Model):
@api.multi
def write(self, vals):
record = super(Training, self).write(vals)
print(self)
print(record)
print(vals)
if vals.get('course_id', False):
self.session_ids.unlink()
for s in self.course_id.session_ids:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment