Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Mejor respuesta

Hi,

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

Thanks

Avatar
Descartar
Autor Mejor respuesta

Thanks Niyas, that worked!

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
dic 21
5363
1
ago 24
1687
0
jul 24
884
1
sept 24
6795
7
feb 18
7549