summaryrefslogtreecommitdiff
path: root/addons/point_of_sale/models/account_journal.py
blob: 01371496185ae4fd924958d97358fd07b30088a2 (plain)
1
2
3
4
5
6
7
8
9
10
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
# Copyright (C) 2004-2008 PC Solutions (<http://pcsol.be>). All Rights Reserved
from odoo import fields, models, api


class AccountJournal(models.Model):
    _inherit = 'account.journal'

    pos_payment_method_ids = fields.One2many('pos.payment.method', 'cash_journal_id', string='Point of Sale Payment Methods')