Debian Codegraph @

addons/point_of_sale/models/account_bank_statement.py

raw
1 # -*- coding: utf-8 -*-
2 # Part of Odoo. See LICENSE file for full copyright and licensing details.
3 # Copyright (C) 2004-2008 PC Solutions (<http://pcsol.be>). All Rights Reserved
4 from odoo import fields, models, api, _
5 from odoo.exceptions import UserError
6
7
8 class AccountBankStatementLine(models.Model):
9 _inherit = 'account.bank.statement.line'
10
11 pos_session_id = fields.Many2one('pos.session', string="Session", copy=False, index='btree_not_null')