!1744 添加功能

Merge pull request !1744 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2025-03-10 14:17:01 +00:00
committed by Gitee
@@ -7,6 +7,7 @@ from odoo import models, fields, api, exceptions, _
class PropertyCurrentApproval(models.Model):
_name = 'property.current.approval'
_description = '租聘合同审批'
_inherit = ['soong.workflow.mixin', 'mail.thread.main.attachment', 'mail.activity.mixin']
code = fields.Char(string="编号",
default=lambda self: self.env['ir.sequence'].next_by_code(