mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[11.0][FIX] stock_move_location: Not check availability when do immediate transfer.
This commit is contained in:
committed by
Alex Cuellar
parent
21ff450085
commit
51f4bc6d1f
@@ -3,7 +3,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" />
|
||||
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
|
||||
<title>Move Stock Location</title>
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
@@ -130,8 +130,6 @@ class StockMoveLocationWizard(models.TransientModel):
|
||||
picking = self._create_picking()
|
||||
self._create_moves(picking)
|
||||
if not self.env.context.get("planned"):
|
||||
picking.action_confirm()
|
||||
picking.action_assign()
|
||||
picking.button_validate()
|
||||
self.picking_id = picking
|
||||
return self._get_picking_action(picking.id)
|
||||
|
||||
Reference in New Issue
Block a user