6.0 addons update from r 4067->4077 introduced many bugs

Bug #695084 reported by Ferdinand
52
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
High
OpenERP R&D Addons Team 3
Odoo Server (MOVED TO GITHUB)
Fix Released
High
OpenERP's Framework R&D

Bug Description

views, permissions etc....

summary: - 6.0 addons update from r 4067->4067 introduced many bugs
+ 6.0 addons update from r 4067->4077 introduced many bugs
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thanks for reporting.
Assigning it to server and addons3(as account and HR breaks as a first point).Please escalate to addons 1 and 2 after fixing.

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Changed in openobject-server:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
Revision history for this message
OpenERP buildbot (openerp-buildbot) wrote : Re: [Bug 695084] Re: 6.0 addons update from r 4067->4077 introduced many bugs

On Tuesday 28 December 2010, you wrote:
> Thanks for reporting.
> Assigning it to server and addons3(as account and HR breaks as a first
> point).Please escalate to addons 1 and 2 after fixing.
>

Some fixes in:
lp:~xrg/openobject-addons/trunk-patch21

--
Say NO to spam and viruses. Stop using Microsoft Windows!

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Most errors stem from removal of a few groups to simplify configuration, unfortunately breaking some stuff in the process.
This being worked on at the moment, and the latest revisions should already have fixed many of the issues.

Revision history for this message
OpenBMS JSC (openbmsjsc) wrote :

Can we expect this get resolved soon as I'm facing more similar issues in various modules and really cannot proceed with further testing.

ValueError: No references to product.group_product_manager

If the issue cannot be solved quickly, is there any quick workaround?

Revision history for this message
Harry (OpenERP) (hmo-tinyerp) wrote :

Hello we are working on it.
It will be fixed soon.

On Wed, 2010-12-29 at 11:20 +0000, Phong Nguyen wrote:
> Can we expect this get resolved soon as I'm facing more similar issues
> in various modules and really cannot proceed with further testing.
>
> ValueError: No references to product.group_product_manager
>
> If the issue cannot be solved quickly, is there any quick workaround?
>
thanks
--
Harshad Modi <email address hidden>

Revision history for this message
Harry (OpenERP) (hmo-tinyerp) wrote :

Hello!

We have fixed most of blocking points into trunk-addons branch.

so I closed this bug. if you still have problem, you can reopen this bug.

Thanks

Changed in openobject-addons:
status: In Progress → Fix Released
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

As far as I can see, there is (was) nothing left to fix in the server regarding this, and most issues are already fixed in addons.

Changed in openobject-server:
milestone: none → 6.0-rc2
status: Confirmed → Fix Released
Revision history for this message
Kyle Waid (midwest) wrote :

Hi, I just downloaded sources today about an hour ago. I downloaded everything fresh and I still get the exact same error when trying to install addons modules.

  File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 813, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 426, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to product.group_product_manager

I cant do anything because it is impossible to install new modules or start over. Can someone tell me how to fix this? Thanks.

Revision history for this message
Kyle Waid (midwest) wrote :

From what I have read, the value is an access right for products. This value is missing, so do I have to rename it, or if I removed the value would my modules function properly? As is, I cant do anything with the program as our setup depends on these modules functioning. I know it has been reported that this issue is fixed, But I downloaded just today fresh sources from

lp:openobject-server
lp:openobject-addons

Correct me if im wrong, but many modules will now not function with the missing value definition.

Revision history for this message
Kyle Waid (midwest) wrote :

Temporary solution

Revert to a version not affected by this bug.

bzr clone lp:openobject-addons --revision 4070

Revision history for this message
OpenBMS JSC (openbmsjsc) wrote :
Download full text (3.7 KiB)

This doesn't work. Maybe we should revert back to 4059, just before the culprit version that breaks this.

Environment Information :
System : Linux-2.6.32-27-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-27-generic
Operating System Version : #49-Ubuntu SMP Thu Dec 2 00:51:09 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : vi_VN.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1747 <email address hidden>
Traceback (most recent call last):
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 100, in upgrade_module
    _, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/addons/__init__.py", line 875, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/addons/__init__.py", line 742, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/addons/__init__.py", line 633, in load_init_update_xml
    tools.convert_csv_import(cr, m, os.path.basename(filename), fp.read(), idref, mode=mode, noupdate=noupdate)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/tools/convert.py", line 947, in convert_csv_import
    result, rows, warning_msg, dummy = pool.get(model).import_data(cr, uid, fields, datas,mode, module, noupdate, filename=fname_partial)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/orm.py", line 858, in import_data
    process_liness(self, datas, [], current_module, self._name, fields_def, position=position)
  File "/home/phongnt/Documents/Projects/openerp-trunk/server/bin/osv/orm.py", line 808, in process_liness
    res = _get_id(relation, line[i], curre...

Read more...

Revision history for this message
OpenBMS JSC (openbmsjsc) wrote :

Version 4057 seems working.

Revision history for this message
Kyle Waid (midwest) wrote :

Actually I just discovered that revision 4070 is the direct cause for the

product.group_product_manager value error. If you see the revision changes, Fabien removed all references to it in the product module and didnt replace it with anything. I am assuming this means this access right no longer exists? So I am assuming that I can safely remove references to it in my modules and it should work ok. Correct me if im wrong.

Revision history for this message
Kyle Waid (midwest) wrote :

Hi, I have a working solution. The reason it fails as I explained is because the access rights were removed from the product module in revision 4070. Download the latest sources, then download the addons branch from revision 4066 like this

bzr clone lp:openobject-addons revision: 4066
Take the prdouct module, and the mrp modules and copy them to your new addons folder. It will replace the missing access rights. Additionally you can look at all the revisions to that module and add the code yourself, keeping intact the access rights that are required for your modules to function.

There could be consequences of doing this but im not sure yet all I know is that I can install my module when I couldnt before.

Revision history for this message
OpenBMS JSC (openbmsjsc) wrote :

Thanks a lot for sharing this. I'll try it.

Happy New Year.

Phong.

----- Original Message ----
> From: Kyle Waid <email address hidden>
> To: <email address hidden>
> Sent: Sat, January 1, 2011 1:42:44 AM
> Subject: [Bug 695084] Re: 6.0 addons update from r 4067->4077 introduced many
>bugs
>
> Hi, I have a working solution. The reason it fails as I explained is
> because the access rights were removed from the product module in
> revision 4070. Download the latest sources, then download the addons
> branch from revision 4066 like this
>
> bzr clone lp:openobject-addons revision: 4066
> Take the prdouct module, and the mrp modules and copy them to your new addons
>folder. It will replace the missing access rights. Additionally you can look at
>all the revisions to that module and add the code yourself, keeping intact the
>access rights that are required for your modules to function.
>
> There could be consequences of doing this but im not sure yet all I know
> is that I can install my module when I couldnt before.
>
> --
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (695241).
> https://bugs.launchpad.net/bugs/695084
>
> Title:
> 6.0 addons update from r 4067->4077 introduced many bugs
>
> Status in OpenObject Addons Modules:
> Fix Released
> Status in OpenObject Server:
> Fix Released
>
> Bug description:
> views, permissions etc....
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openobject-addons/+bug/695084/+subscribe
>

Revision history for this message
picou (6-contact-pointpc-net) wrote :

This is still a problem on this date on a new install V6.0.1 stable with module magentoerpconnect.
good day

Revision history for this message
picou (6-contact-pointpc-net) wrote :

I tried to copy (merge) the product and the mrp from revision 4066 to the server addons folder (not knowing wich one, I pasted in two places server>addons.) under ubuntu restarted server and created new database install. I am getting this new error : You try to install module 'account' that depends on module 'product'.But the latter module is not available in your system. (I should have made a copy of those folders.) I guess I did not understand the above instructions for installing the module withought the error in this bug report. Could someone try a further explanation? Thanks

Revision history for this message
picou (6-contact-pointpc-net) wrote :

This action of replacing the product and mpr has completely broken the use of my software. I am trying to revert by installing latest v6 addons from bazaar, but this is not functioning. I am thinking that maybe there are folders with same name "products" in different places and I merged wrong ones. Please help...

Revision history for this message
OpenBMS JSC (openbmsjsc) wrote :

I think you only need to merge the access rights from 4066 to the released version. I'm not sure why access rights are not merge to the released version.

Revision history for this message
OpenBMS JSC (openbmsjsc) wrote :

This error still happen in the new stable 6.0.2 clean installation. How disappointing.

Revision history for this message
OpenBMS JSC (openbmsjsc) wrote :

I forgot to mention. Should I marked it as New for Addons?

ValueError: No references to product.group_product_manager

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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