[FIX] purchase: P3-style super call

3869cdf7d8 merged a fix which used a
P3-style super call, which is not compatible with Python 2.

While 11.0 is not really exactly officially supported on Python 2,
we originally decided not to break compatibility unless there were
very good reasons to do so.
This commit is contained in:
Can Tecim
2018-07-31 10:05:30 +02:00
committed by Xavier Morel
parent 47acea1523
commit bf332e2e08
+1 -1
View File
@@ -190,6 +190,6 @@ class PushedFlow(models.Model):
_inherit = "stock.location.path"
def _prepare_move_copy_values(self, move_to_copy, new_date):
res = super()._prepare_move_copy_values(move_to_copy, new_date)
res = super(PushedFlow, self)._prepare_move_copy_values(move_to_copy, new_date)
res['purchase_line_id'] = None
return res