[IMP]: Issues:132 Two Shipments are created for PO with Multi Routing enabled
This commit is contained in:
parent
aeb9971e41
commit
c775f2d078
@ -184,3 +184,12 @@ class Orderpoint(models.Model):
|
||||
result['domain'] = "[('id','in',%s)]" % (purchase_ids.ids)
|
||||
|
||||
return result
|
||||
|
||||
|
||||
class PushedFlow(models.Model):
|
||||
_inherit = "stock.location.path"
|
||||
|
||||
def _prepare_move_copy_values(self, 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
|
||||
|
Loading…
Reference in New Issue
Block a user