Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Payment method in invoice

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
enterprisePayment-Methods17.0
3 Respuestas
6586 Vistas
Avatar
Asis

Coming from v13 community to v17 enterprise. Wondering why there is no payment method field included in the invoices.


There are many ways in which a client can pay an invoice, one is where the company needs to start the process (SEPA debit). When preparing the batch payment, how would I filter those invoices I need to include if there is no payment method in the invoice itself!


0
Avatar
Descartar
Avatar
Gracious Joseph
Mejor respuesta

In Odoo 17 Enterprise, the payment method field isn't displayed by default on invoices because the system assumes that payment processing is managed via journal entries and bank reconciliation workflows. However, it is possible to customize this behavior to match your needs, especially for tasks like preparing SEPA debit payments.

Below are solutions to enable the payment method on invoices and filter invoices for batch payments:

1. Enable Payment Method on Invoices

Option 1: Use the Payment Journal as an Indicator

In Odoo, the Payment Journal field on the invoice represents where payments are processed. You can leverage this to specify payment methods indirectly.

Option 2: Add a Payment Method Field

You can add a custom field for Payment Method directly on the invoice form using either Odoo Studio or a custom module.

Using Odoo Studio:
  1. Go to Invoicing > Customers > Invoices.
  2. Open Odoo Studio.
  3. Drag and drop a Selection Field into the invoice form.
  4. Define the selection options for your payment methods:
    • SEPA Debit
    • Bank Transfer
    • Credit Card
    • Cash, etc.
  5. Save and apply your changes.
Using a Custom Module:

If you prefer coding, here’s how to add a payment_method field to the invoice (account.move) model:

pythonCopy codefrom odoo import models, fields

class AccountMove(models.Model):
    _inherit = 'account.move'

    payment_method = fields.Selection([
        ('sepa_debit', 'SEPA Debit'),
        ('bank_transfer', 'Bank Transfer'),
        ('credit_card', 'Credit Card'),
        ('cash', 'Cash'),
    ], string="Payment Method")

Add the field to the invoice form view:

xmlCopy code<record id="view_move_form_payment_method" model="ir.ui.view">
    <field name="name">account.move.form.payment.method</field>
    <field name="model">account.move</field>
    <field name="inherit_id" ref="account.view_move_form" />
    <field name="arch" type="xml">
        <xpath expr="//field[@name='partner_id']" position="after">
            <field name="payment_method" />
        </xpath>
    </field>
</record>

2. Use Payment Method for Filtering in Batch Payments

Scenario: Preparing SEPA Direct Debits

  1. SEPA Debit Management in Odoo:
    • Odoo handles SEPA payments via Batch Payments in journals configured for SEPA Direct Debit. These can be managed in the Payments menu.
    • Invoices need to be marked with SEPA as the payment method, either via a custom field or by linking them to a SEPA journal.
  2. Filter Invoices by Payment Method:
    • Use the new payment_method field to filter invoices.
    • Example: Add a filter in the Invoices view:
      xmlCopy code<record id="view_move_tree_payment_method_filter" model="ir.ui.view">
          <field name="name">account.move.tree.payment.method.filter</field>
          <field name="model">account.move</field>
          <field name="inherit_id" ref="account.view_invoice_tree" />
          <field name="arch" type="xml">
              <xpath expr="//filter[@name='unpaid']" position="after">
                  <filter string="SEPA Debit" domain="[('payment_method', '=', 'sepa_debit')]" />
              </xpath>
          </field>
      </record>
      

Filter in Batch Payments Preparation

When preparing batch payments (e.g., SEPA Direct Debit), Odoo will look for invoices linked to a journal supporting SEPA. With a payment_method field, you can:

  • Pre-filter invoices with payment_method = 'sepa_debit'.
  • Use automation to restrict batch payments to matching invoices.

3. Configure SEPA Journals for Automated Payments

  1. Go to Accounting > Configuration > Payment Journals.
  2. Create or configure a journal for SEPA payments:
    • Set Payment Method Type to SEPA Direct Debit.
    • Define Bank Account for the journal.
  3. Link invoices to the SEPA journal:
    • Set the SEPA journal in the invoice payment journal field.
    • Use batch payments to generate SEPA XML files.

4. Automate Payment Method Assignment

If certain customers always use a specific payment method:

  1. Add a payment_method field to the customer (res.partner):
    pythonCopy codeclass ResPartner(models.Model):
        _inherit = 'res.partner'
    
        default_payment_method = fields.Selection([
            ('sepa_debit', 'SEPA Debit'),
            ('bank_transfer', 'Bank Transfer'),
            ('credit_card', 'Credit Card'),
            ('cash', 'Cash'),
        ], string="Default Payment Method")
    
  2. Auto-populate the payment_method field in invoices based on the customer:
    pythonCopy codefrom odoo import models, api
    
    class AccountMove(models.Model):
        _inherit = 'account.move'
    
        @api.onchange('partner_id')
        def _onchange_partner_id(self):
            if self.partner_id:
                self.payment_method = self.partner_id.default_payment_method
    

5. Summary Workflow

  1. Add a Payment Method field to invoices (using Odoo Studio or custom code).
  2. Configure SEPA and other journals for different payment types.
  3. Use the payment_method field to filter and manage invoices for batch payments.
  4. (Optional) Automate payment method assignment for customers.

0
Avatar
Descartar
Avatar
Femaag
Mejor respuesta

I think the Payment Method field on invoices and partners was added in Odoo 18 if you have the possibility to migrate


And as said before, you can use it to filter invoices.

0
Avatar
Descartar
Avatar
Asis
Autor Mejor respuesta

Thank you Joseph,

Not sure why Odoo would make such an assumption as most small to medium companies work in this manner (at least in Spain) not only with customer invoices but also with vendor invoices. By not having a payment method in these latter ones you run the risk of paying invoices twice i.e. vendor sends SEPA direct debit and until you reconcile the bank, you make a wire transfer.

Anyways, will move forward with including the custom field but will probably link it to the account.payment_method table for it to be dynamic.


0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
How can I edit the calendar view? Note: not the form but the view of the calendar labels of the project module
enterprise task calendarview 17.0
Avatar
Avatar
Avatar
2
ago 25
1772
Optional Products not showing when adding product to cart
enterprise products webshop 17.0
Avatar
Avatar
Avatar
Avatar
3
sept 24
3156
How do I Migrate from odoo online to odoo SH Resuelto
online migration enterprise 17.0
Avatar
Avatar
Avatar
2
jul 24
10789
Odoo 17 Pos Js development
17.0
Avatar
Avatar
1
ago 25
2488
How can I make the cost field on products readonly? Resuelto
17.0
Avatar
Avatar
Avatar
2
ago 25
1011
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now