Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
6130 มุมมอง

I'm developing and testing my modules. Every time I make a change I need to update my module. Is it possible to make OpenERP 7 NOT to jump to Messaging every time I update my module? That is very annoying.

อวตาร
ละทิ้ง

This is the same issue as in the "Initial screen" question which still has yet to be answered and the corresponding bug in Launchpad which has since vanished.

คำตอบที่ดีที่สุด

Update your module by relaunching the server with -u

อวตาร
ละทิ้ง

In Odoo 14 there is no option -u for odoo-bin
I am running Odoo 14 development environment on Windows PC and each time i click the Upgrade button of a module, it redirects to Discuss. How to fix this? I want to stay in Apps.

คำตอบที่ดีที่สุด

Refresh with ctrl+r to stay on the same page.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Use ERPpeek in a separate terminal window and issue a client.upgrade command - See https://erppeek.readthedocs.org/en/latest/api.html#erppeek.Client.upgrade

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

you can apply this patch this changes in server it will open setting menu not messaging. when we "Apply Scheduled Upgrades" it will search for next TODO and if it will not get any TODO then it will search for menu which have not any parent and it will launch first from search result.

=== modified file 'openerp/addons/base/res/res_config.py' --- openerp/addons/base/res/res_config.py 2013-03-27 11:10:14 +0000

+++ openerp/addons/base/res/res_config.py 2013-04-03 06:28:07 +0000

@@ -74,10 +74,11 @@

     # reload the client; open the first available root menu

     menu_obj = self.pool['ir.ui.menu']

     menu_ids = menu_obj.search(cr, uid, [('parent_id', '=', False)], context=context)

++ setting_menu = self.pool['ir.model.data'].get_object(cr, uid, 'base', 'menu_administration')

     return {
         'type': 'ir.actions.client',
         'tag': 'reload',

+- 'params': {'menu_id': menu_ids and menu_ids[0] or False},

++ 'params': {'menu_id': setting_menu and setting_menu.id or False}, }

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ธ.ค. 23
1731
2
มิ.ย. 21
7770
1
มี.ค. 18
3817
2
มี.ค. 15
5267
1
มี.ค. 15
10304