devendrapathi / sneldev-magento-openerp

Automatically exported from code.google.com/p/sneldev-magento-openerp
0 stars 1 forks source link

Xml menu error #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to install the module
2. Error araise on openerp-web: Error occurred while validating the field(s) 
parent_id: Error ! You can not create recursive Menu.
3. In the openerp server logs: ERROR:init:<menuitem name="Magento/Export 
categories and products to Magento" action="wizard_sneldev_products_export" 
type="wizard" id="menu_sneldev_products_export"/>

SO: Debian
Python: 2.6
Openerp: trunk

Best regards

Juan Jose

Original issue reported on code.google.com by jota.jot...@gmail.com on 9 Sep 2010 at 8:52

GoogleCodeExporter commented 8 years ago
We did not test the module in openerp-web yet. 
We will test as soon as possible.

Original comment by sneldev@gmail.com on 13 Sep 2010 at 6:21

GoogleCodeExporter commented 8 years ago
Hi thank you for the response, the error is in the server the web client only 
reflects the server error

Original comment by jota.jot...@gmail.com on 13 Sep 2010 at 6:35

GoogleCodeExporter commented 8 years ago
Hi Juan Jose,

What version did you use ? 
I just tested with server 5.0.14 and openerp-web 5.0.14 and I did not get any 
error.
Are you able to reproduce this issue consistently ?

Kind regards,
Nico

Original comment by sneldev@gmail.com on 14 Sep 2010 at 5:00

GoogleCodeExporter commented 8 years ago

Original comment by sneldev@gmail.com on 14 Sep 2010 at 5:15

GoogleCodeExporter commented 8 years ago
Hi Nico, the version of openerp server  I have used is: 6.0dev

Original comment by jota.jot...@gmail.com on 14 Sep 2010 at 5:50

GoogleCodeExporter commented 8 years ago
OK, never tried version 6 yet. I will try to have a look.

Original comment by sneldev@gmail.com on 14 Sep 2010 at 5:52

GoogleCodeExporter commented 8 years ago

Original comment by sneldev@gmail.com on 7 Oct 2010 at 3:15

GoogleCodeExporter commented 8 years ago
I'm having the same problem on OpenERP version 6.0

Original comment by neilbre...@gmail.com on 25 Jan 2011 at 2:30

GoogleCodeExporter commented 8 years ago
This problem is specific to OpenERP 6.0.
We will have look as soon as possible.
Our target is to have version 0.7.8 compatible with OpenERP 6.0

Original comment by sneldev@gmail.com on 27 Jan 2011 at 8:07

GoogleCodeExporter commented 8 years ago
Here is the traceback:
=================
Traceback (most recent call last):
  File "/home/jebba/devel/openerp/openerp-client-6.0.1/bin/widget/view/form_gtk/parser.py", line 123, in button_clicked
    model.get_button_action(self.form.screen, id, self.attrs)
  File "/home/jebba/devel/openerp/openerp-client-6.0.1/bin/widget/model/record.py", line 374, in get_button_action
    self.resource,attrs['name'], [id], context)
  File "/home/jebba/devel/openerp/openerp-client-6.0.1/bin/rpc.py", line 186, in rpc_exec_auth
    return sock.exec_auth(method, *args)
  File "/home/jebba/devel/openerp/openerp-client-6.0.1/bin/rpc.py", line 120, in exec_auth
    res = self.execute(method, self._uid, self._passwd, *args)
  File "/home/jebba/devel/openerp/openerp-client-6.0.1/bin/rpc.py", line 137, in execute
    raise e
tiny_socket.Myexception: ('warning -- ValidateError\n\nError occurred while 
validating the field(s) parent_id: Error ! You can not create recursive Menu.', 
'Traceback (most recent call last):\n  File 
"/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in 
dispatch\n    result = ExportService.getService(service_name).dispatch(method, 
auth, params)\n  File 
"/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py",
 line 599, in dispatch\n    res = fn(db, uid, *params)\n  File 
"/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 126, 
in wrapper\n    self.abortResponse(1, inst.name, \'warning\', inst.value)\n  
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 
70, in abortResponse\n    raise Exception("%s -- %s\\n\\n%s"%(origin, 
description, details))\nException: warning -- ValidateError\n\nError occurred 
while validating the field(s) parent_id: Error ! You can not create recursive 
Menu.\n')
=================

This appears related:
https://bugs.launchpad.net/openobject-server/+bug/655101

As a side note, perhaps a release that works with OpenERP 6 should be bumped 
more than 0.0.1.  :)   Thanks!

Original comment by moe@alephobjects.com on 6 Feb 2011 at 3:09

GoogleCodeExporter commented 8 years ago
Attached is a small one-liner patch to fix this error.

Original comment by moe@alephobjects.com on 6 Feb 2011 at 3:36

Attachments:

GoogleCodeExporter commented 8 years ago
Unfortunately this is not the only issue with OpenERP 6.0.
We are working on it for next version.

Original comment by sneldev@gmail.com on 6 Feb 2011 at 10:38

GoogleCodeExporter commented 8 years ago
Hi guys, 

any ETA for the 0.7.8 or the one working woth OpenERP v6? 
No rush, just asking. 

Tom

Original comment by netpt...@gmail.com on 15 Feb 2011 at 4:17

GoogleCodeExporter commented 8 years ago
This is now fixed.
Version 0.8.0 has been released today and should be fully supported in OpenERP 
6.0

Original comment by sneldev@gmail.com on 15 Feb 2011 at 10:29