Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
2062 Prikazi

Hi,

Using Odoo 14 Enterprise. When I go to Inventory\Reporting\Inventory Report I come to this adress.
xxxxxxx.se/web#action=412&model=stock.quant&view_type=list&cids=1&menu_id=248

But if I refresh the window using Internet brower refresh button, I am redirected to a different adress: xxxxxxx.se/web#action=412&cids=1&menu_id=248&model=stock.quant&view_type=list

Why is there 2 different windows for the Inventory Report? I want to modify the view using Studio, but the Studio-button is greyed out in the first view, hence I can only modify the second view, which then is only available after refreshing the window.


Can I somehow redirect the menu button to the second view directly, or are there any way I can modify the first view?


Regards,
Rickard

Avatar
Opusti
Best Answer

Hello Rickard Wallster,

For Inventory\Reporting\Inventory Report. On the first time when you open Inventory Report.
It has given URL: xxxxxxx.se/web#action=412&model=stock.quant&view_type=list&cids=1&menu_id=248
This time it will load with 'stock.view_stock_quant_tree_editable' this view id.(if you check list view id then it will be this one)

But when you refresh the window using the Internet browser refresh button, it will redirect you to a given address: xxxxxxx.se/web#action=412&cids=1&menu_id=248&model=stock.quant&view_type=list
This time it will load with 'stock.view_stock_quant_tree' this view id.

So I think you need to customised 'stock.view_stock_quant_tree_editable' view using Studio according to your requirement

Thanks & Regards,

Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

Avatar
Opusti
Avtor Best Answer

Hi Jainesh

Thanks a lot for your  answer.  It seems like you are right on spot with your observation. I really can't understand why Iam redirected to these 2 different views though.

I solved the problem by removing standard Inventory Report and instead creating a new menu button which links me to 'stock.view_stock_quant_tree'. Now I can configure the view as I wish.

Thanks,
Rickard

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
jun. 24
3185
1
nov. 24
1392
0
avg. 24
1483
2
jul. 24
1653
2
nov. 23
3330