Create modules maintenance, party, cv
This commit is contained in:
parent
96ef39e2d9
commit
2b7f276f8c
18
machine.py
18
machine.py
@ -1,6 +1,6 @@
|
||||
from trytond.model import ModelView, ModelSql
|
||||
from trytond.model import fields
|
||||
|
||||
from trytond.pyson import Eval
|
||||
|
||||
|
||||
class Machine(ModelView, ModelSql):
|
||||
@ -19,8 +19,22 @@ class Machine(ModelView, ModelSql):
|
||||
"Useful life", size=None, required=True)
|
||||
warranty = fields.Char(
|
||||
"Warranty", size=None, required=True)
|
||||
serial = fields.Char(
|
||||
"Serial", size=None, required=True)
|
||||
health_register = fields.Char(
|
||||
"Serial", size=None, required=True)
|
||||
|
||||
class Properties(ModelView, ModelSql):
|
||||
'Properties'
|
||||
|
||||
__name__ = 'product.machine.propertie'
|
||||
__name__ = 'product.machine.property'
|
||||
|
||||
"Medidas del producto, Modúlo Tryton 'product_measurements'.
|
||||
[Lenght, Height, Width].
|
||||
|
||||
Caracteristicas Técnicas, Modúlo Tryton 'product_attribute'.
|
||||
aplica sobre la variante del producto.
|
||||
"
|
||||
|
||||
|
||||
|
||||
|
@ -2,5 +2,5 @@
|
||||
version=6.0
|
||||
depends:
|
||||
ir
|
||||
productx
|
||||
product
|
||||
xml:
|
||||
|
Loading…
Reference in New Issue
Block a user