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