clinic/netforce_clinic/models/product_categ.py

14 lines
258 B
Python

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