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

Hi guys,

I’m using Docker as the virtual environment to develop on Odoo 18.

I want to add a few lines of text in the Employee form view of the Employees App, just to see how the form view is laid out.

However, I’ve run into a problem:

When I insert some <p> tags inside the view_employee_form record (specifically under the group) in hr/views/hr_employee_views.xml​, nothing changes in the UI.Even if I delete the entire views folder, the UI still looks the same. I’ve already tried restarting Docker, deleting the database, creating a new one, and reinstalling the Employees App, but the UI remains unchanged.

What I want to understand is this: why does modifying the source code under hr/views​ have no effect on the Employee App’s Employee UI? Even if I completely remove the hr/views​ folder and then reinstall the Employees App, the UI still loads correctly.

아바타
취소

Where is the folder you edit/delete? Is it inside the Docker? Are you sure, that you binded your volumes correctly?

작성자 베스트 답변

Thank you for your reply. I found the cause — when I updated the code, my Docker volume didn’t update, so it was still using the old one."

아바타
취소
관련 게시물 답글 화면 활동
1
8월 25
2111
0
10월 24
1604
5
8월 24
47488
2
4월 24
3017
3
6월 23
6802