Error when importing Refunds

Asked by atchuthan

When I try to import the Refunds, I am getting the following error:

2014-02-28 13:26:06,003 15872 ERROR test2 openerp.addons.connector.queue.worker: Traceback (most recent call last):
  File "/opt/openerp/v7.0/custom_modules/launchpad_links/connector/queue/worker.py", line 122, in run_job
    job.perform(session)
  File "/opt/openerp/v7.0/custom_modules/launchpad_links/connector/queue/job.py", line 460, in perform
    self.result = self.func(session, *self.args, **self.kwargs)
  File "/opt/openerp/v7.0/custom_modules/launchpad_links/prestashoperpconnect/unit/import_synchronizer.py", line 795, in import_record
    importer.run(prestashop_id)
  File "/opt/openerp/v7.0/custom_modules/launchpad_links/prestashoperpconnect/unit/import_synchronizer.py", line 126, in run
    self.prestashop_record = self._get_prestashop_data()
  File "/opt/openerp/v7.0/custom_modules/launchpad_links/prestashoperpconnect/unit/import_synchronizer.py", line 62, in _get_prestashop_data
    return self.backend_adapter.read(self.prestashop_id)
  File "/opt/openerp/v7.0/custom_modules/launchpad_links/prestashoperpconnect/unit/backend_adapter.py", line 135, in read
    res = api.get(self._prestashop_model, id, options=attributes)
  File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 517, in get
    response = super(PrestaShopWebServiceDict, self).get(resource, resource_id=resource_id, options=options)
  File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 367, in get
    return self.get_with_url(full_url)
  File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 537, in get_with_url
    response = super(PrestaShopWebServiceDict, self).get_with_url(url)
  File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 376, in get_with_url
    r = self._execute(url, 'GET')
  File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 207, in _execute
    self._check_status_code(r.status_code, r.content)
  File "/usr/local/lib/python2.7/dist-packages/prestapyt-0.4.0-py2.7.egg/prestapyt/prestapyt.py", line 147, in _check_status_code
    status_code, ps_error_msg, ps_error_code)
PrestaShopWebServiceError: 'Resource of type "order_slips" does not exists. Did you mean: "order_states"? The full list is: "addresses", "carriers", "cart_rules", "carts", "categories", "combinations", "configurations", "contacts", "content_management_system", "countries", "currencies", "customer_messages", "customer_threads", "customers", "deliveries", "employees", "groups", "guests", "image_types", "images", "languages", "manufacturers", "order_carriers", "order_details", "order_discounts", "order_histories", "order_invoices", "order_payments", "order_states", "orders", "price_ranges", "product_feature_values", "product_features", "product_option_values", "product_options", "product_suppliers", "products", "search", "shop_groups", "shops", "specific_price_rules", "specific_prices", "states", "stock_availables", "stock_movement_reasons", "stock_movements", "stocks", "stores", "suppliers", "supply_order_details", "supply_order_histories", "supply_order_receipt_histories", "supply_order_states", "supply_orders", "tags", "tax_rule_groups", "tax_rules", "taxes", "translated_configurations", "warehouse_product_locations", "warehouses", "weight_ranges", "zones"'

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
Henry Mata (matahr) said :
#2

Same issue here, howto fix?

PrestaShopWebServiceError: 'Resource of type "order_slips" does not exists. Did you mean: "order_states"? The full list is: "addresses", "carriers", "cart_rules", "carts", "categories", "combinations", "configurations", "contacts", "content_management_system", "countries", "currencies", "customer_messages", "customer_threads", "customers", "deliveries", "employees", "groups", "guests", "image_types", "images", "languages", "manufacturers", "order_carriers", "order_details", "order_discounts", "order_histories", "order_invoices", "order_payments", "order_states", "orders", "price_ranges", "product_feature_values", "product_features", "product_option_values", "product_options", "product_suppliers", "products", "search", "shop_groups", "shops", "specific_price_rules", "specific_prices", "states", "stock_availables", "stock_movement_reasons", "stock_movements", "stocks", "stores", "suppliers", "supply_order_details", "supply_order_histories", "supply_order_receipt_histories", "supply_order_states", "supply_orders", "tags", "tax_rule_groups", "tax_rules", "taxes", "translated_configurations", "warehouse_product_locations", "warehouses", "weight_ranges", "zones"'

Revision history for this message
TuanNguyen (tuan-5) said :
#3

Hi,
the same issue

Resource of type "order_slips" does not exists. Did you mean: "order_states"? The full list is: "addresses", "carriers", "cart_rules", "carts", "categories", "combinations", "configurations", "contacts", "content_management_system", "countries", "currencies", "customer_messages", "customer_threads", "customers", "deliveries", "employees", "groups", "guests", "image_types", "images", "languages", "manufacturers", "order_carriers", "order_details", "order_discounts", "order_histories", "order_invoices", "order_payments", "order_states", "orders", "price_ranges", "product_feature_values", "product_features", "product_option_values", "product_options", "product_suppliers", "products", "search", "shop_groups", "shops", "specific_price_rules", "specific_prices", "states", "stock_availables", "stock_movement_reasons", "stock_movements", "stocks", "stores", "suppliers", "supply_order_details", "supply_order_histories", "supply_order_receipt_histories", "supply_order_states", "supply_orders", "tags", "tax_rule_groups", "tax_rules", "taxes", "translated_configurations", "warehouse_product_locations", "warehouses", "weight_ranges", "zones"'