跳至內容
選單
此問題已被標幟
1 回覆
4243 瀏覽次數

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


頭像
捨棄
最佳答案

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 

頭像
捨棄
作者

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

作者

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

相關帖文 回覆 瀏覽次數 活動
2
9月 24
2177
2
10月 23
3287
1
8月 23
1958
1
8月 23
4083
1
5月 25
2316