← Back to team overview

credativ team mailing list archive

[Bug 1226086] Re: [7.0] menu item does'nt appear correctly

 

Hi again !

I searched a little about my problem and I found one weird behaviour.

After upgrade, in ir_ui_menu, all my news items are without parent_left and parent_right values. 
in 7.0, 'ir.ui.menu' is _parent_store. (Not in 6.1). 

It appears that during the migration the compute of parent_left & right works for existing values but not for news.
[LOG during migration, at the beginning] : Computing parent left and right for table ir_ui_menu...

This 2 lines fix the bug but it's just a workaround. (I exactly don't know if the problem comes from openobject or openupgrade).
Maybe the problem can occur for other new _parent_store model too ...

### Workaround : 
# In the end of the migration (in the file "deffered_70.py" for exemple) : 
my_obj = pool.get('ir.ui.menu')
my_obj._parent_store_compute(cr)

-- 
You received this bug notification because you are a member of
OpenUpgrade Committers, which is subscribed to OpenUpgrade Server.
https://bugs.launchpad.net/bugs/1226086

Title:
  [7.0] menu item does'nt appear correctly

Status in OpenUpgrade Server:
  New

Bug description:
  Hi,

  I just discover a bug in the migration project. The new menu items
  don't seem to appear for users.

  Reproduce the bug : 
  - Create a 7.0 database and log into ; 
  - In the "Settings" menu, in "modules" submenu, there is a "Apps" item. -> OK

  - Create a 6.1 database ; 
  - do migration & connect to the database ; 
  - In the "Settings" menu, in "modules" submenu, there is no a "Apps" item. -> KO.

  More generally, the new menuitems don't appear for users.  
  (My problem is not for the "Apps" menu, but more for others . ;-) )

  Did you note the same behaviour ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/openupgrade-server/+bug/1226086/+subscriptions


References