Recent changes break installation ValueError product.group_product_manager

Bug #695516 reported by Kyle Waid
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Magento OpenERP Connector
Fix Released
High
Unassigned

Bug Description

Over the weekend I used fresh sources and didnt have any problems installing OpenERP connector. However, Today when downloading latest sources I am unable to even install openerp6-module, base_sale_multichannels, or the openlabs images module. The relation is the ir.model.access.csv file around product.group_product_manager It raises a value error. I reported this to OpenERP but im not entirely sure the nature of the bug. So far the only way I could even install the modules listed here is by commenting out that file in the _openerp_.py file of each of the modules. I checked and its looking for some id that no longer exists. I am not sure the impact this has, or how to genuinely fix it. Ive confirmed it 3 times. Can anyone else confirm this error? I believe a name was changed
product.group_product_manager

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

I used the right branches

lp:openobject-server
lp:openobject-addons

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

I apologize, this is not a bug in the connector. The OpenERP R&D team removed some configurations in the trunk that caused this error. See here https://bugs.launchpad.net/openobject-addons/+bug/695084

Changed in magentoerpconnect:
status: New → Invalid
Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) wrote :

Kyle, you are probably right, since monday, we have seen that the regular addons of OpenERP were broken because of their smart experiments with access rights (hey how cool is that 2 days before RC2?), so we don't even tried to update further. My advice: don't even bother while addons are broken (eg use bzr revert to revert it to something that work like rev #4070 and then, after OpenERP stabilize to something that work at least for them, then we will look if what we will need to adapt.
I guess this show how hardcore it is to implement OpenERP in that battle field of regressions and changes...
(NB: opting for 5.0 is certainly not better as it might look more stable from the surface, but it's just that it doesn't receive sensible bugfix anymore).

Changed in magentoerpconnect:
status: Invalid → Confirmed
importance: Undecided → High
Revision history for this message
Kyle Waid (midwest) wrote :

I found the start of the error. In revision 4070 Fabien removed all references to product.group_product_manager and didnt replace it with anything. So I could remove these entries from the csv file to fix it?

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

No doesnt work, no suprise

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.

The access rights were removed and probably will not be replaced or returned. The solution to fix it would be to remove the access rights.

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

Alternatively, you can look at the revision and just add the access rights back. Just did it.

Changed in magentoerpconnect:
status: Confirmed → Fix Released
Revision history for this message
Freshweb (fiavanana) wrote :

I downloaded the last trunk today:

~openerp/openobject-server/trunk
~openerp/openobject-addons/trunk

I try to install base_sale_multichannels, and product_images_olbs (for magentoerpconnect modules), but I still get the same error: No references to product.group_product_manager.

I understand that the problem come from the file 'ir.model.access.csv' that make reference to product.group_product_manager. But I can't find a solution to fix that problem!

Can anyone else confirm this error? And how to fix it?

Revision history for this message
Gert-Jan Flapper (gflapper) wrote :

I try to install base_sale_multichannels, still same error also.

How to fix?

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

You must be using the wrong branch. Make sure you are using the right branches extra-addons/6.0

Revision history for this message
Gert-Jan Flapper (gflapper) wrote :

Hi thanks,

added extra-addons, installed all dependencies but still get error: No references to product.group_product_manager when installing magentoopenerpconnector

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.