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

Hello, i need help.


So i created a .csv file iin the data/ directory of my custom add on module like so:


/my_module

    /data

        model.name.csv

    /model

        model_name.py


In the __manifest__ file, i also added 

"data/model.name.csv"


However, i am still encountering an error upon installation of the module:

Exception: Module loading my_module failed: file my_module/data/module.name.csv could not be processed:
No matching record found for name 'data number 1' in field 'Module Name'

아바타
취소
작성자 베스트 답변

I forgot that the declaration of files in the manifest folder should be in order. Fixed this issue by re-ordering the data/ in the manifest file

아바타
취소
베스트 답변

Hi,

The exception is pointing that there is issue in the csv file that you are trying to import. Especially for the value data number 1 in the csv file, check whether the data number 1 value is correct and properly mapped to the field.


Thanks

아바타
취소
관련 게시물 답글 화면 활동
1
3월 15
8902
3
3월 15
10285
3
7월 17
4020
1
3월 15
6242
1
12월 22
16783