mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] Conflict with stock_request onchange method
The onchange method in the stock_request module is no longer needed so this overrides that to do nothing.
This commit is contained in:
@@ -26,6 +26,11 @@ class StockRequestOrder(models.Model):
|
||||
if stock_request.route_id:
|
||||
stock_request.route_id = False
|
||||
|
||||
@api.onchange('warehouse_id')
|
||||
def onchange_warehouse_id(self):
|
||||
# Onchange no longer needed
|
||||
pass
|
||||
|
||||
def change_childs(self):
|
||||
super().change_childs()
|
||||
if not self._context.get("no_change_childs", False):
|
||||
|
||||
Reference in New Issue
Block a user