Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
2041 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Autor Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
jun 24
3178
1
nov 24
1377
0
ago 24
1461
2
jul 24
1635
2
nov 23
3305