Skip to Content
Menu
This question has been flagged
1 Reply
3356 Views

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
Discard
Best Answer

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
Discard
Author

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

Author

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

Related Posts Replies Views Activity
2
Sep 24
1563
2
Oct 23
2561
1
Aug 23
1343
1
Aug 23
3586
1
Apr 25
2342