mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Using same method as in upstream, payment mode is filled on invoice creation if no payment method is provided. This way, we don't need to install account_payment_sale if we don't want to handle several payment modes at sales level. Even more, if we install the module later and we have already existing sales orders without payment mode filled, those orders will be invoiced with the customer payment mode.
26 lines
832 B
Python
26 lines
832 B
Python
# -*- coding: utf-8 -*-
|
|
# © 2014 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
|
|
# © 2014 Tecnativa - Pedro M. Baeza
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
|
{
|
|
'name': 'Account Payment Partner',
|
|
'version': '10.0.1.1.0',
|
|
'category': 'Banking addons',
|
|
'license': 'AGPL-3',
|
|
'summary': 'Adds payment mode on partners and invoices',
|
|
'author': "Akretion, "
|
|
"Tecnativa, "
|
|
"Odoo Community Association (OCA)",
|
|
'website': 'https://github.com/OCA/bank-payment',
|
|
'depends': ['account_payment_mode'],
|
|
'data': [
|
|
'views/res_partner_view.xml',
|
|
'views/account_invoice_view.xml',
|
|
'views/account_move_line.xml',
|
|
'views/report_invoice.xml',
|
|
],
|
|
'demo': ['demo/partner_demo.xml'],
|
|
'installable': True,
|
|
}
|