Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

How can I hide the total table in the database currency on the invoice PDF? V17

Subscribe

Get notified when there's activity on this post

This question has been flagged
quickstartQuickstart
2 Replies
2282 Views
Avatar
Jorge Iván Reyes García (jirg)

In Odoo version 17, when using a currency different from the database currency to create an invoice (e.g., the base currency is MXN and an invoice is created in USD), the PDF document will include a table showing the amount in the base currency with the exchange rate of that day. This can cause confusion for both the issuer and the recipient of the invoice.

It is possible to hide this table by following these steps (the Studio application is required):

  1. Go to Accounting
  2. Open Studio
  3. Select the "Reports" button
  4. Select the "Invoices" report
  5. Enter the source editor

5.1 Inside the source editor, at the top, we will have the following information:


If in the white line (top left) we have: "report_invoice_document" It means we are in the base view of the report, so we will need to create an inherited view with the help of the Studio application to modify the report.

To create the inherited view:

5.2 Enter the PDF editor


5.3 Click where the "Invoice INV/2023/0001" field ends.

5.4 Add a space using the keyboard

5.5 Save 

5.5 If we re-enter the source editor, we should now have: "web_studio.report_editor_customization_full.view._account.report_invoice_document" This works with any customization made to the PDF using Studio, but it is recommended to do it this way to avoid modifications to the document structure.

Base view (report without modifications with Studio)

Inherited view (report with customization using Studio)


Once you have the inherited view:

6. In the source editor, click the “Format” button to view the code information in a more organized manner.



7. Search the code for the information we need to hide, which has the title: document_tax_totals_company_currency (approximately between lines 250 and 300, depending on previous customizations).


8. Add after to comment out the table so it won't be displayed in the PDF. As a good practice, it is suggested to include the name or ID of the person who made the change in the comment, along with a brief note about the action.



And that´s all! Now the table is hidden:


0
Avatar
Discard
Jorge Iván Reyes García (jirg)
Author

Spanish version of this post:
https://www.odoo.com/es_ES/forum/ayuda-1/como-puedo-esconder-la-tabla-del-total-en-la-moneda-de-la-base-de-datos-del-pdf-de-la-factura-v17-257690

Avatar
Juan Pablo Esquivel Chavez
Best Answer

Me funciona para facturas que no están timbradas, cuando las timbro vuelve a aparecer la tabla, ¿se te ocurre por qué?

0
Avatar
Discard
Jorge Iván Reyes García (jirg)
Author

Tal vez lo estás haciendo sobre la vista general del PDF y no sobre la vista heredada que es la que se muestra cuando está timbrada la factura :D

Avatar
Alfredo Antonio Ortiz Gorzo (aaog)
Best Answer

100% Helpful

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
How do I connect the Epson TM-T88VII to Odoo?
quickstart Quickstart
Avatar
Avatar
2
Oct 25
1077
How to Set Customer-Specific Product Names Solved
quickstart Quickstart
Avatar
1
Nov 25
1692
✅ Odoo E-commerce: How to discriminate deliveries based on the type of clients
quickstart Quickstart
Avatar
0
Aug 25
1543
How can Import an existing Spreadsheets with formulas with out doing it manually? Solved
quickstart Quickstart
Avatar
2
Aug 25
2030
Does Odoo manage WebP ? Solved
quickstart Quickstart
Avatar
Avatar
Avatar
3
Jul 25
4765
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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