From 82858796a44a46470a2533947be54cfebc34e2f5 Mon Sep 17 00:00:00 2001 From: snt Date: Thu, 16 Sep 2021 17:37:46 +0200 Subject: [PATCH] quita el procurement_method cuando crea el stock.picking --- product_create_stock_picking/models/product_template.py | 1 - 1 file changed, 1 deletion(-) diff --git a/product_create_stock_picking/models/product_template.py b/product_create_stock_picking/models/product_template.py index c951bb3..fc6609b 100644 --- a/product_create_stock_picking/models/product_template.py +++ b/product_create_stock_picking/models/product_template.py @@ -32,7 +32,6 @@ class ProductTemplate(models.Model): 'location_id': self.env.ref('stock.stock_location_stock').id, 'location_dest_id': self.env.ref('stock.stock_location_stock').id, 'state': 'draft', - 'procure_method': 'make_to_order', } picking.move_lines = [(0, 0, move_vals)]