Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged

I have been trying to add a custom report to my Odoo installation, but I keep running into an issue. When I try to load the XML record for the report, I get the error message "External ID not found in the system: sale.report_noodverlichting".

This is my XML code for the report:



Action




Template



Manifest

{
'name': "Vupa_custom_fields",
'depends': ['base', 'sale',],
'category': 'Sales/CRM',
'summary': 'Custom fields',
'sequence': 42,
'installable': True,
'application': False,
'license': 'LGPL-3',
'data': [
'views/res_partner.xml',
'views/sale_order.xml',
'data/klantnummer_sequence.xml',
'report/report.xml',
'report/noodverlichting.xml'
]
}


Can someone help me figure out why I'm getting this error message and how I can resolve it? I'm pretty new to Odoo development 😀 

Thank you!

Avatar
Zrušit
Nejlepší odpověď

Hi,

Change the usage of sale.report_noodverlichting to your_module.report_noodverlichting.

Thanks

Avatar
Zrušit
Autor Nejlepší odpověď

Thanks Niyas, that worked!

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
pro 21
5748
1
srp 24
2142
0
čvc 24
1152
1
zář 24
7235
7
úno 18
7865