You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
629 B
18 lines
629 B
# -*- coding: utf-8 -*-
|
|
# © 2015 Therp BV (<http://therp.nl>).
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
|
from odoo import models, fields
|
|
|
|
|
|
class AccountBankStatement(models.Model):
|
|
_inherit = 'account.bank.statement'
|
|
|
|
import_file = fields.Many2one(
|
|
'ir.attachment', 'Import file', readonly=True)
|
|
import_date = fields.Datetime(
|
|
related=['import_file', 'create_date'], readonly=True)
|
|
import_user = fields.Many2one(
|
|
related=['import_file', 'create_uid'], readonly=True)
|
|
import_log = fields.Text(
|
|
related=['import_file', 'description'], readonly=True)
|