设备类别新增选项

This commit is contained in:
qihao.gong@jikimo.com
2023-09-22 17:01:03 +08:00
parent f03b77f9bb
commit 681b769356
8 changed files with 1 additions and 202 deletions

View File

@@ -127,19 +127,6 @@ class MrsProcessingOrder(models.Model):
index=True, string='加工工艺')
production_process_id = fields.Many2one('sf.production.process', string="表面工艺")
# class Tray(models.Model):
# _name = 'sf.tray'
# _description = '托盘'
#
# code = fields.Char('编码', copy=False)
# name = fields.Char('名称')
# state = fields.Selection(
# [("空闲", "空闲"), ("占用", "占用"), ("报损", "报损")],
# default="空闲", string="状态")
# active = fields.Boolean('有效', default=True)
class SupplierSort(models.Model):
_name = 'sf.supplier.sort'
_description = '供应商排序'

View File

@@ -361,26 +361,5 @@
</record>
<!-- <record model="ir.ui.view" id="sf_tray_form">-->
<!-- <field name="name">sf.tray.form</field>-->
<!-- <field name="model">sf.tray</field>-->
<!-- <field name="arch" type="xml">-->
<!-- <form string="托盘">-->
<!-- <header>-->
<!-- <field name='state' widget="radio" options="{'horizontal': True}"/>-->
<!-- </header>-->
<!-- <sheet>-->
<!-- <group name="group1">-->
<!-- <group>-->
<!-- <field name="code" required="1"/>-->
<!-- </group>-->
<!-- <group>-->
<!-- <field name="name" required="1"/>-->
<!-- </group>-->
<!-- </group>-->
<!-- </sheet>-->
<!-- </form>-->
<!-- </field>-->
<!-- </record>-->
</data>
</odoo>