22 lines
686 B
Python
22 lines
686 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from odoo import models, fields, api, _
|
|
from odoo.exceptions import ValidationError
|
|
import logging
|
|
_logger = logging.getLogger(__name__)
|
|
|
|
|
|
class StockRemovalWizard(models.Model):
|
|
_name = 'sf.stock.removal.wizard'
|
|
_description = "出库"
|
|
|
|
code = fields.Char(string="功能夹具编码", size=25, required=True)
|
|
name = fields.Char(string="功能夹具名称", size=25, required=True)
|
|
type = fields.Char(string="功能夹具类型", required=True)
|
|
production_line = fields.Char(string="生产线", required=True)
|
|
machine_tool = fields.Many2one('sf.machine_tool', string="机床", required=True)
|
|
|
|
def submit(self):
|
|
return 1
|
|
|