Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3363 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

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

Autore

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

Post correlati Risposte Visualizzazioni Attività
2
set 24
1570
2
ott 23
2562
1
ago 23
1348
1
ago 23
3589
1
apr 25
2345