summaryrefslogtreecommitdiff
path: root/addons/point_of_sale/models/account_journal.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/point_of_sale/models/account_journal.py')
-rw-r--r--addons/point_of_sale/models/account_journal.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/point_of_sale/models/account_journal.py b/addons/point_of_sale/models/account_journal.py
new file mode 100644
index 00000000..01371496
--- /dev/null
+++ b/addons/point_of_sale/models/account_journal.py
@@ -0,0 +1,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')