clinic/netforce_clinic/models/account_invoice.py

11 lines
319 B
Python
Raw Normal View History

2014-12-14 11:15:14 +00:00
from netforce.model import Model, fields
2014-10-27 14:17:22 +00:00
2014-12-14 11:15:14 +00:00
class AccountInvoice(Model):
_inherit="account.invoice"
_fields={
'clinic_expense_id': fields.Many2One("clinic.hd.case.expense","Expense"),
2015-01-20 13:58:38 +00:00
'department_id': fields.Many2One("clinic.department","Department",search=True),
2014-12-14 11:15:14 +00:00
}
2014-10-27 14:17:22 +00:00
2014-12-14 11:15:14 +00:00
AccountInvoice.register()