Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
5668 Представления

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


Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
мая 25
6413
1
мар. 23
3104
0
июл. 21
444
1
мая 22
4631
0
дек. 21
3146