clinic/netforce_clinic/models/conv_sale_invoice.py

13 lines
327 B
Python
Raw Permalink Normal View History

2015-08-10 14:38:19 +00:00
from netforce.model import Model, fields
class ConvSaleInvoice(Model):
_inherit="conv.sale.invoice"
_transient=True
_fields={
"department_id": fields.Many2One("clinic.department","Department"),
"track_id": fields.Many2One("account.track.categ","Track1"),
}
ConvSaleInvoice.register()