跳至內容
選單
此問題已被標幟
1 回覆
5666 瀏覽次數

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) 

頭像
捨棄
作者 最佳答案

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


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
5月 25
6413
1
3月 23
3104
0
7月 21
444
1
5月 22
4631
0
12月 21
3146