[FIX] Method Name

This commit is contained in:
scampbell
2019-08-06 11:32:57 -07:00
committed by Freni Patel
parent 9ccd89454f
commit 3dc73c2e5f

View File

@@ -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 = \