Skip to Content
Menu
This question has been flagged
3 Replies
1503 Views

Well it's all on the title, I'd like to have in the Home a link, basically displayed like an app, that actually brings me to Inventory/Products/Products.

I tried to play a bit with Odoo Studio but I didn't manage to make a lot out of it tbh.

Avatar
Discard
Author

That's amazing, thanks a lot!

Best Answer

step 1 - turn on developer mode (on the bottom of settings)

step 2 - go to 'menu items' (just start typing on the main screen)

step 3 - make new menu item like this:

  • Menu: your name that you want to have displayed on home
  • Action: ir.actions.act_url
  • Sequence: the lower you get, the higher the icon will be

step 4 - save the menu item, so you can type in your custom product URL in the Action section after the 'ir.action.act_url' 

step 5 - name your new URL Action (like below for example 'MyCustomProductUrl' and hit 'Create and edit'

step 6 - get the link to your product - in my case odoo v18 online it will be odoo/action-281/1 (id of product is 1)

step 7 - put in the details as follows:

  • Binding Model: Product
  • Binding View Types: form
  • Action URL: odoo/action-281/1
  • Action Target: ## I think you will know which one you prefer


step 8 - access rights - depending on who you want to see the icon you can add groups (for example only for inventory supervisor, add the group in menu items)

step 9 - customization  - you can change icon if you want - if not it will be the 'boxed !'

if you want to use one of the existing odoo ones you can type in the location in odoo of it in the yellow field, or just upload a custom one from your hard drive.




hope this helps...



Edit:

to edit action you can click on the arrow icon

Avatar
Discard
Author

If you don't mind... how do I edit an URL?
If I go to Actions and open it, I only get the action name and type, I've found no way to modify an existing action, not even to just look at its current parameters...

Best Answer

Activate Developer Mode, and you have access to a selection field where you can define which Menu is shown to the User by default when they access Odoo:

Avatar
Discard
Best Answer

You can do this in Odoo Studio.

On the main screen enable Studio and click on "New App"

Name the new app and select an icon

Select "existing model" and Product

The Form View will be displayed.  Close Odoo Studio

Now the new app is available:

(I didn't change the icon)


Avatar
Discard

this is good, but sends you to all products. Also you can achieve this without studio with 'menu items' + 'action', for example when you don't want to install studio, to keep the odoo free with only the inventory app :)

Author

My intention was indeed to show all products, but yeah the "menu items / action" solution looks more desirable at the moment 👌🏼
(but thank you anyway)

Related Posts Replies Views Activity
1
Aug 25
859
2
Aug 25
346
2
Aug 25
457
3
Aug 25
1237
1
Aug 25
680