1.新增工件配送向导2.修复采购审核按钮不可见3.配置中新增agv路径字段4.优化工单上按钮显示条件

This commit is contained in:
jinling.yang
2024-01-30 17:40:05 +08:00
parent 1c90c97b92
commit 527ab396ee
14 changed files with 103 additions and 27 deletions

View File

@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
# Part of YiZuo. See LICENSE file for full copyright and licensing details.
from odoo.exceptions import UserError, ValidationError
from datetime import datetime
from odoo import models, api, fields
class WorkpieceDeliveryWizard(models.TransientModel):
_name = 'sf.workpiece.delivery.wizard'
_description = '工件配送'
delivery_id = fields.Many2one('sf.workpiece.delivery', string='配送')
def confirm(self):
self.delivery_id._delivery_avg()