Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
2619 Переглядів

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!

Аватар
Відмінити
Найкраща відповідь

Hi,

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

Thanks

Аватар
Відмінити
Автор Найкраща відповідь

Thanks Niyas, that worked!

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
груд. 21
5705
1
серп. 24
2067
0
лип. 24
1103
1
вер. 24
7153
7
лют. 18
7795