콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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
5140
1
8월 24
1411
0
7월 24
684
1
9월 24
6500
7
2월 18
7404