看板视图筛选实现功能的条件已具备(看板已抠,字段存在),待优化

This commit is contained in:
mgw
2023-08-07 08:58:50 +08:00
parent cb011a9bd7
commit de32f5db78
4 changed files with 223 additions and 21 deletions

View File

@@ -6,6 +6,9 @@ from odoo.addons.resource.models.resource import Intervals
class ResWorkcenter(models.Model):
_inherit = "mrp.workcenter"
# 生产线显示
production_line_show = fields.Char(string='生产线')
equipment_id = fields.Many2one('maintenance.equipment', string='设备')
machine_tool_id = fields.Many2one('sf.machine_tool', string='机床')
production_line_id = fields.Many2one('sf.production.line', string='生产线')