Remove StockLocation from ReturnAuthorization

We have only one default location and don't need it associated to
anything.
This commit is contained in:
Maikel Linke
2024-10-15 13:36:57 +11:00
parent 781fcf21b9
commit a64aea4b9c
3 changed files with 2 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ module Spree
def permitted_resource_params
params.require(:return_authorization).
permit(:amount, :reason, :stock_location_id)
permit(:amount, :reason)
end
end
end