Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5654 Lượt xem

If the user wants a specific header on SO and invoice reports, here is a basic use-case that shows how to customize it.

The purpose of the customization is displaying the sales team information (logo, name, email and website) 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Here below an example with a Sales Team named Flowers


1. Using Odoo Studio, create the needed fields on the Sales team.


2. In the General Settings, check which report is used by default.


3. Find the related view.


4. Create an inherited view.



5. Replace the "company" field by your "o.team_id" fields. For example :



6. Don't forget to manage the case in which your custom field does not exist in the model related to the report :

 

7. Include this customization in Studio


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 25
6408
1
thg 3 23
3100
0
thg 7 21
444
1
thg 5 22
4622
0
thg 12 21
3145