Files
gzth/yuthon_trade/models/yuthon_task_setting.py
T
2025-03-25 10:25:14 +08:00

19 lines
631 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models, fields, api, exceptions, _
class YuthonTaskSetting(models.Model):
_name = 'yuthon.task.setting'
_description = '作业项目配置'
name = fields.Char(string='名称', required=True)
standard = fields.Text(string='标准')
inspector = fields.Text(string='工作要求')
scope = fields.Char(string='发放范围')
class YuthonStackPosition(models.Model):
_name = 'yuthon.stack.position'
_description = '堆垛位置'
name = fields.Char(string='名称', required=True)