コンテンツへスキップ
メニュー
この質問にフラグが付けられました

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
12月 21
5720
1
8月 24
2089
0
7月 24
1116
1
9月 24
7182
7
2月 18
7807