14 lines
343 B
Python
14 lines
343 B
Python
|
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()
|