mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[MIG] stock_request_tier_validation: Migration to 13.0
This commit is contained in:
committed by
Surachet Saejueng
parent
90145cb3eb
commit
e7ce8f800f
@@ -1,4 +1,4 @@
|
||||
# Copyright 2019 Eficent Business and IT Consulting Services S.L.
|
||||
# Copyright 2019-2020 ForgeFlow S.L. (https://www.forgeflow.com)
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
from odoo import api, models
|
||||
|
||||
@@ -8,6 +8,6 @@ class TierDefinition(models.Model):
|
||||
|
||||
@api.model
|
||||
def _get_tier_validation_model_names(self):
|
||||
res = super(TierDefinition, self)._get_tier_validation_model_names()
|
||||
res = super()._get_tier_validation_model_names()
|
||||
res.extend(("stock.request", "stock.request.order"))
|
||||
return res
|
||||
|
||||
Reference in New Issue
Block a user