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()