You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
401 B

  1. # Copyright 2019 Open Source Integrators
  2. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
  3. from odoo import api, models
  4. class TierDefinition(models.Model):
  5. _inherit = "tier.definition"
  6. @api.model
  7. def _get_tier_validation_model_names(self):
  8. res = super(TierDefinition, self)._get_tier_validation_model_names()
  9. res.append("res.partner")
  10. return res