Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3601 Weergaven

odoo 16 enterprise edition.

i want to create a new Model to add in CRM, so how i can do it and how to add model permissions in security ? and anything else necessary for it? 

please help.

regards


Avatar
Annuleer
Beste antwoord

Hi,

You can define the model in your module and if you need to show the menu related to newly created model inside an existing app, you can just set the parent of the new menu as a menu from CRM app.

Steps to do:

* create new model, and set its access rights

* define menu and its action

* set the parent as a menu from CRM app.


See this video explaining the same: How To Inherit And Add Menu To Existing Module In Odoo


Thanks 

Avatar
Annuleer
Auteur

thanks @Niyas Raphy for quick response, great idea... i want to create a List View and want to pass parameters through wizard, here i will have to create a TransienModel which will show the wizard as parameter form, on button i want to refresh the List View OR i have to create QWeb Report ? please if you have any video guide link to call report which uses parameters coming from Wizard, so please share the link, this will much helpful for us.

regards

You can create as follows:
1. Create a menu and wizard
2. Let user select the needed value in the wizard
3. After selecting the data, on button click, you can process the inputs and return the list view filtering the data using the domain

Auteur

thank you again, i googled and found the link of guide for parameterized qweb report, it very nice, here is the link for those who are searching for a detailed guide.

https://www.youtube.com/watch?v=3UJ8UfP48B4

regards

Gerelateerde posts Antwoorden Weergaven Activiteit
2
sep. 24
1745
2
okt. 23
2720
1
aug. 23
1476
1
aug. 23
3705
1
mei 25
1289