From 3dc73c2e5fc3cec4e5f76eb6a38d04aeda0d5b53 Mon Sep 17 00:00:00 2001 From: scampbell Date: Tue, 6 Aug 2019 11:32:57 -0700 Subject: [PATCH] [FIX] Method Name --- stock_request_direction/models/stock_request_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock_request_direction/models/stock_request_order.py b/stock_request_direction/models/stock_request_order.py index 6ffbec931..309261ea0 100644 --- a/stock_request_direction/models/stock_request_order.py +++ b/stock_request_direction/models/stock_request_order.py @@ -14,7 +14,7 @@ class StockRequestOrder(models.Model): readonly=True) @api.onchange('direction') - def _onchange_direction(self): + def _onchange_location_id(self): if self.direction == 'outbound': # Stock Location set to Partner Locations/Customers self.location_id = \