Mapper.convert() has been deprecated, use Mapper.map_record() then map_record.values()

Asked by ajiz

Hi everyone,

I got this problem. Any help?

Thanks in advance.

File "/opt/openerp/v7/prestashoperpconnect/prestashoperpconnect/prestashop_model.py", line 103, in synchronize_metadata
    import_batch(session, model, backend_id)
  File "/opt/openerp/v7/prestashoperpconnect/prestashoperpconnect/unit/import_synchronizer.py", line 663, in import_batch
    importer.run(filters=filters, **kwargs)
  File "/opt/openerp/v7/prestashoperpconnect/prestashoperpconnect/unit/import_synchronizer.py", line 176, in run
    record_ids = self._run_page(filters)
  File "/opt/openerp/v7/prestashoperpconnect/prestashoperpconnect/unit/import_synchronizer.py", line 186, in _run_page
    self._import_record(record_id, **kwargs)
  File "/opt/openerp/v7/prestashoperpconnect/prestashoperpconnect/unit/import_synchronizer.py", line 237, in _import_record
    record
  File "/opt/openerp/v7/prestashoperpconnect/prestashoperpconnect/unit/import_synchronizer.py", line 671, in import_record
    importer.run(prestashop_id)
  File "/opt/openerp/v7/prestashoperpconnect/prestashoperpconnect/unit/import_synchronizer.py", line 130, in run
    self.mapper.convert(self.prestashop_record)
  File "/opt/openerp/v7/openerp-connector/connector/unit/mapper.py", line 717, in convert
    raise DeprecationWarning('Mapper.convert() has been deprecated, '
DeprecationWarning: Mapper.convert() has been deprecated, use Mapper.map_record() then map_record.values()

Question information

Language:
English Edit question
Status:
Expired
For:
Prestashop OpenERP Connector Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
atchuthan (atchuthantu) said :
#2

I am also facing the same problem when I try to sync Prestashop with OpenERP 7...

Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) said :
#3