1、新增sf_oca模块
This commit is contained in:
18
sf_oca/models/tier_validation.py
Normal file
18
sf_oca/models/tier_validation.py
Normal 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)
|
||||
|
||||
Reference in New Issue
Block a user