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

Hello, I have added style and JavaScript files to Odoo as follows.
But they are not implemented. I can't figure out if they are not connected or if something went wrong. Is there a solution to find out if the files are added correctly or not?
They are not displayed in the 'inspect' either.

<templateid="assets_backend_btn"name="Btn assets"inherit_id="web.assets_backend">        <xpathexpr="script[last()]"position="after">            <linkrel="stylesheet"href="/be4energy_email/static/src/scss/theme.scss"/>            


I don't have any errors but the files don't work at all.

아바타
취소
베스트 답변

Hi,

Css and js files are stored as attachment records.

If you want to check that, you only need to write a Select query in your DB. 

select * from ir_attachment where mimetype='text/css'; 
...

Example:

So, if it's there then it exists and if it doesn't exist, go to developer Mode and select regenerate ressources


hope this helps.

아바타
취소