تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
2646 أدوات العرض

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!

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
ديسمبر 21
5717
1
أغسطس 24
2081
0
يوليو 24
1114
1
سبتمبر 24
7170
7
فبراير 18
7804