跳至内容
菜单
此问题已终结
2 回复
1490 查看

Hi,


I've created an application from scratch on Odoo Studio 17 with a few menus with a list of addresses.

I don't know if it was when I uploaded some data or if it was when I modified some views, but now I can't open my application.

It just reloads the app selection screens without any error. Same on all browsers and on the mobile app.

I find no way to display any error logs in Odoo's interface.

On the developer panel in Firefox or Chrome, no issue detected. It ought to be a server side issue.

How to troubleshoot this ?


Thank you in advance

形象
丢弃
最佳答案

Just curious how you were able to get into the app to make a change to that menu?

I have the same problem and can't find a way to make any changes on the app.

Can this be done using Odoo hosted, or can you only make these sorts of changes on .sh or self-hosted?

形象
丢弃

Just a follow-up (esp. anyone reading this later) ... Thanks to the tips from Valentin (and some poking around) I figured out how to get into the app. and get it working.

The link on the app button was: /web#menu_id=728&action_id=3
I changed that to: /web#menu_id=729&action_id=3
(changed the 728 to 729)
And the app opened up.

Then I could open up the app in studio.

Then I edited the menu.

The root menu had no action associated with it.

So, as Valentin suggested,
I changed the action to "ir.actions.act_window" and then selected the first sub menu item (in the 2nd dropdown of the Action field - which isn't all that obvious at first) that linked to a data view, then everything worked properly.

Big Thanks to @Valentin for sharing this. Hope all this helps someone else resolve a similar issue.

编写者 最佳答案

OK, I finally found the issue.

It wasn't a crash but the loading of the app was made on the first parent menu : normal behaviour.

The odd part is that the action linked to this parent menu was ir.actions.act_url > Menu of the home page

I replaced it to ir.actions.act_window > My first submenu and it worked !

It's weird it happened, I never changed the actions of a menu. Ever.

形象
丢弃
相关帖文 回复 查看 活动
1
9月 24
1391
1
4月 24
4417
0
1月 24
1145
0
10月 23
1140
0
9月 23
881