impossible to open an existing resource from wizard

Bug #803869 reported by Lorenzo Battistini
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Web Client
Incomplete
Undecided
Unassigned

Bug Description

openobject-client-web/6.0 revno 4647
openobject-server/6.0 revno 3454
openobject-addons/6.0 revno 4680

Steps:

1 - Create new DB
2 - Install 'sale_crm'
3 - Open 'new opportunity' form
4 - Insert the opportunity name and fill the 'Customer' with an existing customer
5 - Click on 'Convert to Quote'
6 - Click on 'Create'

You get

[2011-06-30 14:41:11,565][test] WARNING:osv.browse_record.ir.ui.menu:No field_values found for ids [1] in browse_record(ir.ui.menu, 1)
[2011-06-30 14:41:11,566][test] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/orm.py", line 2944, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/orm.py", line 3064, in _read_flat
    res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
  File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/fields.py", line 800, in get
    res = self._fnct(obj, cr, user, ids, name, self._arg, context)
  File "/home/elbati/workspace/openerp/openerp6/server/bin/addons/base/ir/ir_ui_menu.py", line 132, in _get_full_name
    res[m.id] = self._get_one_full_name(m)
  File "/home/elbati/workspace/openerp/openerp6/server/bin/addons/base/ir/ir_ui_menu.py", line 138, in _get_one_full_name
    if menu.parent_id:
  File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/orm.py", line 294, in __getattr__
    raise AttributeError(e)
AttributeError: 'Field parent_id not found in browse_record(ir.ui.menu, 1)'

Revision history for this message
claude dunnigan (claudedunnigan) wrote :

Im getting the same thing since i updated revno, im on 6.0.2, web version 4649 running on ubuntu lts server

works on gtk

gives the error on web client but do convert it....

Revision history for this message
Lorenzo Battistini (elbati) wrote :

I confirm this problem does not occur with openerp-web 6.0.1

Revision history for this message
Quentin Peyramale (ADN) (peyramale-q) wrote :

It occurs on rev 4650 but not on 4633.

Revision history for this message
claude dunnigan (claudedunnigan) wrote :

was fixed on yesterday addons rev:4690 pull for me , im on (6.0.2)

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Lorenzo Battistini,

I have checked you issue with latest stable-6 and trunk both with gtk-client and web-client but I did't face
any problem. I have attached video for your reference so would please check it and notify us where you
face the problem.

Thanks and waiting for your reply.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :
Changed in openobject-client-web:
status: New → Incomplete
Revision history for this message
Lorenzo Battistini (elbati) wrote :

Hello Vishal Parmar,
I just tried with the latest code (openobject-client-web/6.0 revno 4658) and I got the same error.
Did you try with a fresh db? (as described in bug description)

Changed in openobject-client-web:
status: Incomplete → New
Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Lorenzo Battistini,

I have checked your issue again with latest updated code with stable6 and trunk, but I did't face any problem.
I have checked with Following revision:

Trunk :
=====
addons - 4877
web-client - 4670
server - 3504

stable6.0 :
======
addons - 4704
web-client - 4648
server - 3462

Thanks and waiting for your reply.

Changed in openobject-client-web:
status: New → Incomplete
Revision history for this message
Lorenzo Battistini (elbati) wrote :

Did you try with a new database?
I'm attaching video.
I just tried with latest stable-6

Changed in openobject-client-web:
status: Incomplete → New
Revision history for this message
Lorenzo Battistini (elbati) wrote :

This seems a consequence of the problem described here
https://bugs.launchpad.net/openobject-client-web/+bug/705312

as we solved using Rewrite instead of Proxy within apache

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :
Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Hello Lorenzo Battistini,

I have again checked your issue with latest updated code with stable6 and trunk both, still I did't face any problem.

I have attached a video for your reference. I have checked with following revision:

Server --> 3466

web-client --> 4648

addons -->4735

Would you please try with latest updated code with new database.

Thanks and waiting for your reply.

Changed in openobject-client-web:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.