import time from netforce.model import Model, fields, get_model class AccountInvoiceLine(Model): _inherit="account.invoice.line" _fields={ 'ar_credit_id': fields.Many2One("account.account","Account Credit"), "ar_debit_id": fields.Many2One("account.account","Account Debit"), } AccountInvoiceLine.register()