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

Hi everyone i am using odoo 14 CE i have made a custom module in which there is a selection field items with options 
item = fields.Selection([('a', 'LAB Equipment’s'),
('b', 'Software Tools'),
('c', 'External Labs']),)

i am trying to inherit into that using another custom module 

item = fields.Selection(selection_add=[('mech', 'Mechanical'),
('rework', 'Rework')])

it works but everytime i restart my odoo server crashes and give me error 
Internal server error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application

How do i fix this using python code or xml how can i achieve this

아바타
취소
베스트 답변

Dear Jo,

>> your error is not coming at selection field. This error is occurring because the cookie has been saved.

>> To fix this problem, first uninstall your module.

>> After the module is uninstalled, navigate to your browser and clear your browser cache and cookies and reload the page.

>> After this, install your module again.



I hope this information will be helpful and your issue will be resolved.




Feel free for further assistance on contact@geminatecs.com

Thank you
Geminate Consultancy Services

아바타
취소
작성자

Hi i did the steps you have mentioned but still i am getting this error
ValueError: Wrong value for purchase.order.item: 'mech
its the key for the selection field like it gets added but everytime i restart my odoo server it shows this error

관련 게시물 답글 화면 활동
1
1월 22
2599
0
6월 21
3071
3
2월 24
5042
2
10월 23
3196
1
4월 23
3826