1、新增sf_oca模块

This commit is contained in:
yuxianghui
2024-05-16 09:42:35 +08:00
parent 1c441d388f
commit 37cf4ca435
6 changed files with 166 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# 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)