Skip to Content
Menu
This question has been flagged
1 Reply
100 Views

Hello everyone,

I'm working with an Odoo Online instance for a Spanish company and I'm facing a reporting challenge. I'm hoping someone can suggest an alternative or help with the setup.

The Situation:

  • The company uses the Spanish Chart of Accounts for its daily accounting.
  • However, for reporting purposes, they are required to generate a Trial Balance with Period Balance report using US accounting account codes.

My Proposed Idea:

Since there's no native mapping feature for this, I was thinking of adding a custom field to the accounting accounts to store the corresponding USA account code.

My Specific Problem:

I've hit a roadblock on how to get this custom field to display on the actual Trial Balance with Period Balance report. I need it to appear next to the Spanish account number or in a separate column.

Has anyone tackled a similar issue? Any guidance on:

  1. A better alternative to achieve this mapping?
  2. How to modify the standard report to include a custom field from the accounts?

Thank you in advance for your help!

Avatar
Discard
Best Answer

Hi,


You can handle this requirement in Odoo Online by adding a custom field to map Spanish accounts to their U.S. equivalents. Using Odoo Studio, create a new field (for example, x_us_account_code) on the Chart of Accounts model to store the corresponding U.S. account code for each Spanish account.


However, since Odoo Online doesn’t allow direct modifications to standard financial reports, you can’t add this field directly to the Trial Balance with Period Balance report. Instead, you can export the Trial Balance to Excel and manually merge it with your U.S. codes, or use Odoo Spreadsheets or Data Studio to build a custom report that displays both Spanish and U.S. account codes side by side.


If you ever migrate to Odoo.sh or an on-premise setup, you’ll have full access to extend the XML of the report. In that case, you can inherit the Trial Balance report and include the custom field directly in the output. In short, for Odoo Online, use custom fields with Spreadsheet or Excel export; for self-hosted setups, customize the report template itself.


Hope it helps

Avatar
Discard
Related Posts Replies Views Activity
1
Apr 25
1893
0
Mar 25
1691
2
Jan 25
1999
2
May 24
2441
0
Aug 23
2232