Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2323 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
cze 24
3355
2
sie 25
724
1
lis 24
1868
0
sie 24
1779
2
lip 24
2139