Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4250 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
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

Publications associées Réponses Vues Activité
2
sept. 24
2193
2
oct. 23
3300
1
août 23
1968
1
août 23
4099
1
mai 25
2329