123456789101112131415 |
- # -*- coding: utf-8 -*-
- from openerp import models, fields, api, _
- class account_bank_statement_line(models.Model):
- _inherit = 'account.bank.statement.line'
- voucher_id = fields.Many2one('account.voucher', 'Voucher', readonly=True)
- # class account_voucher(models.Model):
- # _inherit = 'account.voucher'
- #
- # bank_statement_line_ids = fields.One2many('account.bank.statement.line', 'voucher_id', string="Statement Lines")
|