13 lines
442 B
Python
13 lines
442 B
Python
from odoo import models, fields, api
|
|
|
|
class OpenWorkshopMachine(models.Model):
|
|
_name = 'open.workshop.machine'
|
|
_description = 'Open Workshop Machine'
|
|
|
|
name = fields.Char(string='Name', required=True)
|
|
code = fields.Char(string='Maschinen-Code', help='Interner Code oder Inventar-Nr.')
|
|
location = fields.Char(string='Standort')
|
|
description = fields.Text(string='Beschreibung')
|
|
active = fields.Boolean(default=True)
|
|
|