mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] Method Name
This commit is contained in:
@@ -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 = \
|
||||
|
||||
Reference in New Issue
Block a user