|
@ -16,7 +16,9 @@ class MisCashFlow(models.Model): |
|
|
index=True, |
|
|
index=True, |
|
|
readonly=True, |
|
|
readonly=True, |
|
|
) |
|
|
) |
|
|
name = fields.Char(readonly=True,) |
|
|
|
|
|
|
|
|
name = fields.Char( |
|
|
|
|
|
readonly=True, |
|
|
|
|
|
) |
|
|
account_id = fields.Many2one( |
|
|
account_id = fields.Many2one( |
|
|
comodel_name="account.account", |
|
|
comodel_name="account.account", |
|
|
string="Account", |
|
|
string="Account", |
|
@ -25,7 +27,9 @@ class MisCashFlow(models.Model): |
|
|
readonly=True, |
|
|
readonly=True, |
|
|
) |
|
|
) |
|
|
partner_id = fields.Many2one( |
|
|
partner_id = fields.Many2one( |
|
|
comodel_name="res.partner", string="Partner", readonly=True, |
|
|
|
|
|
|
|
|
comodel_name="res.partner", |
|
|
|
|
|
string="Partner", |
|
|
|
|
|
readonly=True, |
|
|
) |
|
|
) |
|
|
move_line_id = fields.Many2one( |
|
|
move_line_id = fields.Many2one( |
|
|
comodel_name="account.move.line", |
|
|
comodel_name="account.move.line", |
|
@ -40,12 +44,24 @@ class MisCashFlow(models.Model): |
|
|
readonly=True, |
|
|
readonly=True, |
|
|
index=True, |
|
|
index=True, |
|
|
) |
|
|
) |
|
|
credit = fields.Float(readonly=True,) |
|
|
|
|
|
debit = fields.Float(readonly=True,) |
|
|
|
|
|
date = fields.Date(readonly=True, index=True,) |
|
|
|
|
|
reconciled = fields.Boolean(readonly=True,) |
|
|
|
|
|
|
|
|
credit = fields.Float( |
|
|
|
|
|
readonly=True, |
|
|
|
|
|
) |
|
|
|
|
|
debit = fields.Float( |
|
|
|
|
|
readonly=True, |
|
|
|
|
|
) |
|
|
|
|
|
date = fields.Date( |
|
|
|
|
|
readonly=True, |
|
|
|
|
|
index=True, |
|
|
|
|
|
) |
|
|
|
|
|
reconciled = fields.Boolean( |
|
|
|
|
|
readonly=True, |
|
|
|
|
|
) |
|
|
full_reconcile_id = fields.Many2one( |
|
|
full_reconcile_id = fields.Many2one( |
|
|
"account.full.reconcile", string="Matching Number", readonly=True, index=True, |
|
|
|
|
|
|
|
|
"account.full.reconcile", |
|
|
|
|
|
string="Matching Number", |
|
|
|
|
|
readonly=True, |
|
|
|
|
|
index=True, |
|
|
) |
|
|
) |
|
|
account_internal_type = fields.Selection( |
|
|
account_internal_type = fields.Selection( |
|
|
related="account_id.user_type_id.type", readonly=True |
|
|
related="account_id.user_type_id.type", readonly=True |
|
|