47 lines
1.2 KiB
Python
47 lines
1.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import models, fields, api, exceptions, _
|
|
|
|
|
|
class SoftwareIssuesSetting(models.Model):
|
|
_name = 'software.issues.setting'
|
|
_description = '软件问题'
|
|
|
|
name = fields.Char(string='软件问题')
|
|
|
|
|
|
class HardwareIssuesSetting(models.Model):
|
|
_name = 'hardware.issues.setting'
|
|
_description = '硬件问题'
|
|
|
|
name = fields.Char(string='硬件问题')
|
|
|
|
|
|
class SoftwareIssuesProcessing(models.Model):
|
|
_name = 'software.issues.processing'
|
|
_description = '软件处理类型'
|
|
|
|
name = fields.Char(string='软件处理方式')
|
|
|
|
|
|
class HardwareIssuesProcessing(models.Model):
|
|
_name = 'hardware.issues.processing'
|
|
_description = '硬件处理类型'
|
|
|
|
name = fields.Char(string='硬件处理方式')
|
|
|
|
|
|
class MaintainServiceSetting(models.Model):
|
|
_name = 'maintain.service.setting'
|
|
_description = '服务器类型'
|
|
|
|
name = fields.Char(string='服务器类型')
|
|
|
|
|
|
class MaintainDesktopSetting(models.Model):
|
|
_name = 'maintain.desktop.setting'
|
|
_description = '桌面类型'
|
|
|
|
name = fields.Char(string='桌面类型')
|