quita el procurement_method cuando crea el stock.picking

This commit is contained in:
snt 2021-09-16 17:37:46 +02:00
parent 9ba3aa0f86
commit 82858796a4

View file

@ -32,7 +32,6 @@ class ProductTemplate(models.Model):
'location_id': self.env.ref('stock.stock_location_stock').id, 'location_id': self.env.ref('stock.stock_location_stock').id,
'location_dest_id': self.env.ref('stock.stock_location_stock').id, 'location_dest_id': self.env.ref('stock.stock_location_stock').id,
'state': 'draft', 'state': 'draft',
'procure_method': 'make_to_order',
} }
picking.move_lines = [(0, 0, move_vals)] picking.move_lines = [(0, 0, move_vals)]