clinic/netforce_clinic/models/product_categ.py

14 lines
258 B
Python
Raw Normal View History

2014-12-20 18:55:26 +00:00
from netforce.model import Model, fields
class ProductCateg(Model):
_inherit="product.categ"
_fields={
'expense': fields.Boolean("Show On HD Case Expense Tab"),
2014-12-20 18:55:26 +00:00
}
_defaults={
'expense': False,
}
ProductCateg.register()