[FIX] Method Name

This commit is contained in:
scampbell
2019-08-06 11:32:57 -07:00
committed by ps-tubtim
parent 099366f119
commit 06b1ce9cf2

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