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

How can i Print the Bank Account details on invoice??

Suscribirse

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

Se marcó esta pregunta
invoices
4 Respuestas
27045 Vistas
Avatar
sepuuya merit

I want to include the details of the bank account selected from the Invoice>>Other info(tab)>>Bank Account onto a printed invoice. I want to know the variable name of the bank account choosen so that i can do something like this on the invoice design:

[[ (o.partner_bank_id and o.partner_bank_id.note and format(o.partner_bank_id and o.partner_bank_id.note)) or removeParentNode('para') ]]

In summary i dont know the variable name to reference the bank account choosen.

0
Avatar
Descartar
Luke Branch

@sepuuya, I'm also interested in this. Please post back if you find a solution. I will do the same.

Luke Branch

@guillaume, Thanks for your help! Do you know how I would call this on in a QWeb format invoice? I've tried the following: Bank Name: Bank BIC/SWIFT: however i'm getting the following traceback: QWebException: ""'sale.order' object has no attribute 'partner_bank_id'" while evaluating 'o.partner_bank_id'" while evaluating "translate_doc(doc_id, doc_model, 'partner_id.lang', 'sale.report_saleorder_document')" I'm working in Odoo 8.0 (latest pull from github today).

Guillaume Seran

You have this error because partner_bank_id only exist in account.invoice not in sale.order !

Luke Branch

@Guillaume, Thanks for your help, I will try to add partner_bank_id to the saleorder document.

Avatar
Prajith
Mejor respuesta

Hi

If you are using odoo 12

If the Bank Account (partner_bank_id) field get data in the Other info tab

then try this

        


               

Bank Details

                Bank Name :
               

                Account Number :
               

                SWIFT Code :
               
       



0
Avatar
Descartar
Cameron

My apologies Prajith - I was trying to add my own answer, but but I could not display code. Tried to edit yours to see what to do, didint save changes , just cancelled, but then your code disappeared. :( Sorry

Avatar
Piotr Cierkosz
Mejor respuesta

See the video tutorial for Odoo 9, 10 and 11:

https://youtu.be/QJJd0XsK5-0

In Odoo 9.0 you can set the custom footer and insert the bank account details in there:

Settings/Companies/Report Configuration/Report Footer.

It can be also made from Accounting:

Accounting/Configuration/Accounting/Bank Accounts/Show in Invoices Footer


0
Avatar
Descartar
Avatar
José L. S. Alaguna
Mejor respuesta

Hi, 

If you are using Odoo 11, you can do it easily in Sale Orders:


<div class="row" t-if="doc.company_id.bank_ids">
<dl id="bank_account" t-foreach="doc.company_id.bank_ids" t-as="ba" class="dl-horizontal text-muted">
<dt>Bank:</dt>
<dd><span t-field="ba.bank_id.name"/></dd>
<dt>IBAN No.:</dt>
<dd><span t-field="ba.acc_number"/></dd>
<dt>Swift Code:</dt>
<dd><span t-field="ba.bank_id.bic"/></dd>
<dt>Country:</dt>
<dd><span t-field="ba.bank_id.country"/></dd>
</dl>
</div>

You can get all bank accounts from the company, the company is in this document the company_id; now well, in the res.partner model you can find the related bank accounts with the banks_id field; finally, you can iterate over them and getting all information that you need.

0
Avatar
Descartar
Avatar
Guillaume Seran
Mejor respuesta

hi, activate the developer mode! you will see the name of each field. if you write [[ o.partner_bank_id.field_name ]] it will print its value

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
Odoo-12 Invoices sequence skipped for no apparent reason
invoices
Avatar
Avatar
2
jun 25
1776
Invoice Wishlist percentage
invoices
Avatar
0
feb 24
1965
How to add invoice payment date and tax number in invoice tree view?
invoices
Avatar
Avatar
Avatar
Avatar
Avatar
5
ene 24
8247
SII Chilean invoice
invoices
Avatar
0
oct 23
2118
Repeated terms and conditions in invoice
invoices
Avatar
Avatar
1
may 23
3541
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