mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
There's already a field in the payment mode called 'note' that is printed on the invoices, so there's no need of another field for that purpose. This field is added by account_banking_payment_export
17 lines
515 B
Python
17 lines
515 B
Python
# -*- coding: utf-8 -*-
|
|
# © 2014 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
|
|
# © 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
|
from openerp import models, fields
|
|
|
|
|
|
class PaymentMode(models.Model):
|
|
_inherit = "payment.mode"
|
|
|
|
default_payment_mode = fields.Selection([
|
|
('same', 'Same'),
|
|
('same_or_null', 'Same or empty'),
|
|
('any', 'Any'),
|
|
], string='Payment Mode on Invoice', default='same')
|