This question has been flagged
3 Replies
3194 Views

Dear,

I need to create new menu "Sale Order". This menu just has sale order function. And after that, I need to assign this menu and permission creating order to user. Could you help me?


Thanks

Still

Avatar
Discard
Best Answer

Here you have to create a new group like this:

Then, create a new menu like this:

Then, Add your desired users into the group through settings menu.
Now you can see the menu. Also you need to give csv security if you have multiple group access on the same custom model.
Hope it may help you

Avatar
Discard
Author Best Answer

Dear,

I added user to group with custimized menu. But I get error as below when click new menu (customization menu)

Error: NameError: name 'active_id' is not defined

http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1326Traceback: PY_ensurepy@http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1326:65py.evaluate@http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1441:8py.evaluate@http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1449:96py.evaluate@http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1450:191py.eval@http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1454:281eval_contexts/<@http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1590:107iterator@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:14:183createReduce/<@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:17:8_.mixin/</_.prototype[name]@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:69:521eval_contexts@http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1588:124eval_contexts/<@http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1590:253iterator@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:14:183createReduce/<@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:17:8_.mixin/</_.prototype[name]@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:69:521eval_contexts@http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1588:124pyeval@http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1602:24ActionManager<.do_action@http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1648:213.on_menu_action/</<@http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1713:35Mutex.prototype.exec/<@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:3201:136.Deferred/promise.then/</</<@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:547:678jQuery.Callbacks/fire@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:541:281jQuery.Callbacks/self.add@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:542:467.Deferred/promise.then/</<@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:547:631.each@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:370:758.Deferred/promise.then/<@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:547:553.Deferred@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:548:189.Deferred/promise.then@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:547:518Mutex.prototype.exec@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:3201:98.on_menu_action/<@http://localhost:8069/web/content/663-8060d20/web.assets_backend.js:1712:180.Deferred/promise.then/</</<@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:547:678jQuery.Callbacks/fire@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:541:281jQuery.Callbacks/self.fireWith@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:546:198.Deferred/</deferred[tuple[0]]@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:548:31DropMisordered<.add/<@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:3217:259jQuery.Callbacks/fire@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:541:281jQuery.Callbacks/self.fireWith@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:546:198.Deferred/promise.then/</</<@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:547:849jQuery.Callbacks/fire@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:541:281jQuery.Callbacks/self.fireWith@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:546:198.Deferred/promise.then/</</<@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:547:849jQuery.Callbacks/fire@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:541:281jQuery.Callbacks/self.fireWith@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:546:198.Deferred/</deferred[tuple[0]]@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:548:31jQuery.Callbacks/fire@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:541:281jQuery.Callbacks/self.fireWith@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:546:198.Deferred/promise.then/</</<@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:547:849jQuery.Callbacks/fire@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:541:281jQuery.Callbacks/self.fireWith@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:546:198.Deferred/promise.then/</</<@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:547:849jQuery.Callbacks/fire@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:541:281jQuery.Callbacks/self.fireWith@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:546:198done@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:937:86.send/callback@http://localhost:8069/web/content/439-1efe2bc/web.assets_common.js:957:15

Avatar
Discard
Best Answer

Create a new group, give the access to menu and order's model to this group, add users to this group.

Avatar
Discard