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

Screenshot: 

https://pasteboard\.co/RjMunGJyRfoE\.png

Odoo\ 16\ on\ Odoo.sh, isn't the Document Layout field in Settings supposed to be a dropdown to select layouts?  I can't add my own custom layout because I can't select it.

아바타
취소

your custom layout is just a template. you need to add a corresponding value for that template in 'report.layout' (xml data file), alongside the existing options: Light, Boxed, Bold and Striped.

베스트 답변

Hi Ahlem,

With Odoo 16.0 in the web environment, how would you extend the list of 'report.layout'?

Thanks. 

아바타
취소
베스트 답변

Hi,

To achieve your purpose, there are two ways:

1. either, you add your custom layout directly to your reports and leave the configured settings as-is.

2. or, you add your custom layout (template) and extend the list of 'report.layout' options to include it alongside with: Light, Boxed, Bold and Striped. This way you can choose your custom layout from the available options.


Thanks.

아바타
취소
베스트 답변

Hi,

This seems to be updated from this commit: https://github.com/odoo/odoo/commit/03cffc460e620639db6dbe132aa0be073a6396f5

Now to change the Layout, click on Change Document Layout from settings and from the pop up select the layout needed.





Thanks

아바타
취소
작성자

Yes, that was always there, but how would you add a Custom Layout if this is the only way now?

관련 게시물 답글 화면 활동
9
4월 25
4020
0
1월 24
1454
1
10월 23
1975
2
4월 25
3276
2
12월 24
2738