Fix return of _generate_finished_moves method

This commit is contained in:
Florian da Costa
2019-04-26 17:19:49 +02:00
parent d94e10cd22
commit 9dd12b61b0

View File

@@ -17,3 +17,4 @@ class MrpProduction(models.Model):
mr_proc = self.mrp_production_request_id.procurement_id
if mr_proc and mr_proc.move_dest_id:
move.write({"move_dest_id": mr_proc.move_dest_id.id})
return move