clinic/netforce_clinic/models/input_line.py

15 lines
349 B
Python
Raw Normal View History

2014-10-03 06:09:10 +00:00
import time
from netforce.model import Model, fields
class InputLine(Model):
_name="clinic.input.line"
_string="Input Line"
_fields={
'je_id': fields.Many2One("clinic.je","Journal Entry"),
'invoice_id': fields.Many2One("account.invoice","Invoice"),
'amount': fields.Float("Amount"),
}
InputLine.register()