# Copyright 2017-19 ForgeFlow S.L. (https://www.forgeflow.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from ast import literal_eval from lxml import etree from odoo import _, api, fields, models from odoo.exceptions import ValidationError from odoo.tools.misc import frozendict class TierValidation(models.AbstractModel): _inherit = "tier.validation" def _notify_restarted_review_body(self): return _("%s 取消审批请求.") % (self.env.user.name)