Skip to content

Commit

Permalink
TA#70584 [14.0][DEL] stock_location_production
Browse files Browse the repository at this point in the history
  • Loading branch information
abenzbiria committed Nov 1, 2024
1 parent a57ad79 commit ec8352b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions project_material/tests/test_consumption_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ def setUpClass(cls):
cls.new_warehouse = cls.env["stock.warehouse"].search(
[("company_id", "=", cls.new_company.id)], limit=1
)
property_stock_production = cls.env['ir.property'].sudo().search(
[('name', '=', 'property_stock_production'),
('company_id', '=', cls.env.user.company_id.id)])
cls.location_id = property_stock_production.value_reference.split(',')[-1]
cls.location_id = cls.env["ir.property"].with_company(
cls.new_warehouse.company_id.id)._get(
"property_stock_production", "product.template")



class TestConsumptionStep(ConsumptionRouteCase):
Expand Down

0 comments on commit ec8352b

Please sign in to comment.