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

Hi, community!

Can anyone share their experience with customizing the Pivot table? I want to add an extra button next to the

, right after the field name that the table is grouped by.

I found the source code for Pivot in the web/static/src/views/pivot directory, where the view and JavaScript files for the table are located. However, I'm not quite sure how to extend this functionality.

If anyone has worked on something similar, I would appreciate your advice and examples.

Thank you!

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thanks a lot!

This video shows different ways to work with the Pivot table. However, it didn’t provide an answer to my question on how to add a button after (as shown in the video) the name, for example, Joel Willis.

I’m trying to customize the Pivot table itself, not any specific modules or models.

I would like to open a user form, project form, or other Many2One fields directly from the Pivot table.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,
Please refer this video which explain how to extend default sales report


you can also refer: https://www.youtube.com/watch?v=XTzLKzd9i5s (How To Create Pivot View in Odoo)


Hope this will help you
Thanks

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
3052
0
mar 15
3413
0
mar 15
2809
1
mar 15
2852
2
kwi 24
982