c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #28938
[Bug 616411] Re: Two instances diferents and two attributes groups diferent
The reason you have this error is because magento stores the id's in
sequential order in each referential. When you import two of them they
are essentially the same so it cant tell which attribute set belongs to
which referential. I have a patch for this in base_sale_multichannels I
will paste it here later. Basically the error is only in the generation
of the view. Its not a functionality problem.
--
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