← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

If anyone has this issue it is fixed, pull the recent source

** Changed in: magentoerpconnect
       Status: New => Incomplete

** Changed in: magentoerpconnect
       Status: Incomplete => Fix Released

-- 
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:
  Fix Released

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