c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #28979
[Bug 616411] Re: Two instances diferents and two attributes groups diferent
I checked, this patch is already in the current branch. In product.py
if not oerp_group_id: #FIXME workaround in multi-Magento
instances (databases) where attribute group might not be found due to
the way we share attributes currently
787
for ref_id in
self.pool.get('external.referential').search(cr, uid, []):
788
if ref_id != attr_set.referential_id.id:
789
oerp_group_id =
attr_group_obj.extid_to_oeid(cr, uid, mag_group_id, ref_id)
790
if oerp_group_id:
791
break
--
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