From 9e13494b5106361ce3e9580cb3b42d7fd2735753 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Fri, 23 May 2025 10:47:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_purchase/models/purchase_low_orders.py | 2 +- yuthon_purchase/models/purchase_service_orders.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yuthon_purchase/models/purchase_low_orders.py b/yuthon_purchase/models/purchase_low_orders.py index 23b5d5e0a..28aeebb82 100644 --- a/yuthon_purchase/models/purchase_low_orders.py +++ b/yuthon_purchase/models/purchase_low_orders.py @@ -5,7 +5,7 @@ from odoo import api, fields, models class PurchaseLowOrders(models.Model): _name = 'purchase.low.orders' _description = '低值易耗采购单' - _inherit = ['mail.thread.main.attachment', 'mail.activity.mixin'] + _inherit = ['soong.workflow.mixin'] name = fields.Char(string="标题") code = fields.Char(string="合同编号", default=lambda self: self.env['ir.sequence'].next_by_code('purchase_low_orders_code')) diff --git a/yuthon_purchase/models/purchase_service_orders.py b/yuthon_purchase/models/purchase_service_orders.py index ba0901761..629430127 100644 --- a/yuthon_purchase/models/purchase_service_orders.py +++ b/yuthon_purchase/models/purchase_service_orders.py @@ -5,7 +5,7 @@ from odoo import api, fields, models class PurchaseServiceOrders(models.Model): _name = 'purchase.service.orders' _description = '服务采购单' - _inherit = ['mail.thread.main.attachment', 'mail.activity.mixin'] + _inherit = ['soong.workflow.mixin'] name = fields.Char(string="标题") code = fields.Char(string="合同编号", default=lambda self: self.env['ir.sequence'].next_by_code('purchase_service_orders_code'))