← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 616411] Re: Two instances diferents and two attributes groups diferent

 

I am getting this error message when clicking on open magento fields in
product tab.


Environment Information : 
System : Windows-32bit
OS Name : nt
Operating System Release : 
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : fr_FR.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/share/pyshared/openerp-server/addons/magentoerpconnect-v6.zip/magentoerpconnect-v6/product.py", line 838, in fields_view_get
    view_part = self.redefine_prod_view(cr, uid, field_names, context) #.decode('utf8') It is not necessary, the translated view could be in UTF8
  File "/usr/share/pyshared/openerp-server/addons/magentoerpconnect-v6.zip/magentoerpconnect-v6/product.py", line 768, in redefine_prod_view
    group_name = attr_group_obj.read(cr, uid, oerp_group_id, ['attribute_group_name'])['attribute_group_name']
  File "/usr/share/pyshared/openerp-server/osv/orm.py", line 2921, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/usr/share/pyshared/openerp-server/osv/orm.py", line 2980, in _read_flat
    cr.execute(query, (tuple(sub_ids),))
  File "/usr/share/pyshared/openerp-server/sql_db.py", line 78, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/share/pyshared/openerp-server/sql_db.py", line 131, in execute
    res = self._obj.execute(query, params)
ProgrammingError: ERREUR:  l'opérateur n'existe pas : integer = boolean
LINE 1: ..._groups" WHERE magerp_product_attribute_groups.id IN (false)...
                                                             ^
HINT:  Aucun opérateur ne correspond au nom donné et aux types d'arguments.
Vous devez ajouter des conversions explicites de type.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/616411

Title:
  Two instances diferents and two attributes groups diferent

Status in Magento OpenERP Connector:
  New

Bug description:
  Tested when:

  * Two instances diferents 
  * Two attributes groups diferents

  This error is open product form with the second attributes (not
  default).

    File "/home/resteve/openerp-server/bin/addons/magentoerpconnect/product.py", line 792, in fields_view_get
      view_part = self.redefine_prod_view(cr, uid, field_names, context) #.decode('utf8') It is not necessary, the translated view could be in UTF8
    File "/home/resteve/openerp-server/bin/addons/magentoerpconnect/product.py", line 726, in redefine_prod_view
      group_name = attr_group_obj.read(cr, uid, oerp_group_id, ['attribute_group_name'])['attribute_group_name']
    File "/home/resteve/openerp-server/bin/osv/orm.py", line 2228, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/home/resteve/openerp-server/bin/osv/orm.py", line 2301, in _read_flat
      cr.execute(query, (tuple(sub_ids),))
    File "/home/resteve/openerp-server/bin/sql_db.py", line 77, in wrapper
      return f(self, *args, **kwargs)
    File "/home/resteve/openerp-server/bin/sql_db.py", line 122, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: operator does not exist: integer = boolean
  LINE 1: ...d FROM "magerp_product_attribute_groups" WHERE id in (false)...
                                                               ^
  HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/magentoerpconnect/+bug/616411/+subscriptions