mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-27 09:32:04 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -10,7 +10,7 @@ class StockPicking(models.Model):
|
|||
def _create_move_from_pos_order_lines(self, lines):
|
||||
lines_to_unreserve = self.env['pos.order.line']
|
||||
for line in lines:
|
||||
if line.order_id.to_ship:
|
||||
if line.order_id.shipping_date:
|
||||
continue
|
||||
if any(wh != line.order_id.config_id.warehouse_id for wh in line.sale_order_line_id.move_ids.location_id.warehouse_id):
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue