clinic/netforce_clinic/models/product_categ.py

14 lines
238 B
Python

from netforce.model import Model, fields
class ProductCateg(Model):
_inherit="product.categ"
_fields={
'expense': fields.Boolean("Expense"),
}
_defaults={
'expense': False,
}
ProductCateg.register()