Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5671 Widoki

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) 

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
maj 25
6414
1
mar 23
3104
0
lip 21
444
1
maj 22
4633
0
gru 21
3147