mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
@@ -1,7 +1,6 @@
|
||||
# Copyright (C) 2011 Julius Network Solutions SARL <contact@julius.fr>
|
||||
# Copyright 2018 Camptocamp SA
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
||||
|
||||
{
|
||||
"name": "Move Stock Location",
|
||||
"version": "12.0.1.3.1",
|
||||
|
||||
@@ -103,7 +103,9 @@ class StockMoveLocationWizard(models.TransientModel):
|
||||
self.stock_move_location_line_ids = False
|
||||
|
||||
def _get_locations_domain(self):
|
||||
return [('usage', '=', 'internal')]
|
||||
return ['|',
|
||||
('company_id', '=', self.env.user.company_id.id),
|
||||
('company_id', '=', False)]
|
||||
|
||||
def _create_picking(self):
|
||||
return self.env['stock.picking'].create({
|
||||
|
||||
Reference in New Issue
Block a user