Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
1689 Представления

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
сент. 24
1544
1
апр. 24
4668
0
янв. 24
1332
0
окт. 23
1306
0
сент. 23
1029