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.

15 lines
474 B

  1. # -*- coding: utf-8 -*-
  2. # © 2014-2016 Aurélien DUMAINE
  3. # © 2015-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
  4. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. from openerp import models, fields
  6. class AccountJournal(models.Model):
  7. _inherit = 'account.journal'
  8. payment_mode = fields.Selection(
  9. [('card', 'Card'), ('check', 'Check')], 'Payment Mode',
  10. help="Select the payment mode sent to the payment terminal")