Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Prestashop connector - Error while getting sales orders

By
ACLENYON Sprl
on 5/1/14, 7:17 AM 1,634 views

I am trying to get the Prestashop connector to work (it is the one from Akretion-Camp-to-camp). I have a very weird issue. OpenERP attemps to get "api/messages" from Prestashop. It replies such resources does not exist. Here is the trace back:

Traceback (most recent call last): File "/opt/openerp/server/openerp/addons/connector/queue/worker.py", line 122, in run_job job.perform(session) File "/opt/openerp/server/openerp/addons/connector/queue/job.py", line 460, in perform self.result = self.func(session, self.args, *self.kwargs) File "/opt/openerp/server/openerp/addons/prestashoperpconnect/unit/import_synchronizer.py", line 913, in import_orders_since import_batch(session, 'prestashop.mail.message', backend_id, filters, priority=10) File "/opt/openerp/server/openerp/addons/prestashoperpconnect/unit/import_synchronizer.py", line 860, in import_batch importer.run(filters=filters, *kwargs) File "/opt/openerp/server/openerp/addons/prestashoperpconnect/unit/import_synchronizer.py", line 182, in run record_ids = self._run_page(filters, *kwargs) File "/opt/openerp/server/openerp/addons/prestashoperpconnect/unit/import_synchronizer.py", line 190, in _run_page record_ids = self.backend_adapter.search(filters) File "/opt/openerp/server/openerp/addons/prestashoperpconnect/unit/backend_adapter.py", line 126, in search return api.search(self._prestashop_model, filters) File "/home/openerpdemo/openerp/src/prestapyt/prestapyt/prestapyt.py", line 494, in search search(resource, options=options) File "/home/openerpdemo/openerp/src/prestapyt/prestapyt/prestapyt.py", line 348, in search return self.get(resource, options=options) File "/home/openerpdemo/openerp/src/prestapyt/prestapyt/prestapyt.py", line 516, in get response = super(PrestaShopWebServiceDict, self).get(resource, resource_id=resource_id, options=options) File "/home/openerpdemo/openerp/src/prestapyt/prestapyt/prestapyt.py", line 366, in get return self.get_with_url(full_url) File "/home/openerpdemo/openerp/src/prestapyt/prestapyt/prestapyt.py", line 536, in get_with_url response = super(PrestaShopWebServiceDict, self).get_with_url(url) File "/home/openerpdemo/openerp/src/prestapyt/prestapyt/prestapyt.py", line 375, in get_with_url r = self._execute(url, 'GET') File "/home/openerpdemo/openerp/src/prestapyt/prestapyt/prestapyt.py", line 206, in _execute self._check_status_code(r.status_code, r.content) File "/home/openerpdemo/openerp/src/prestapyt/prestapyt/prestapyt.py", line 146, in _check_status_code status_code, ps_error_msg, ps_error_code) PrestaShopWebServiceError: 'Resource of type "messages" does not exists. Did you mean: "states"? The full list is: "addresses", "carriers", "cart_rules", "carts", "categories", "combinations", "configurations", "content_management_system", "countries", "currencies", "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"

anyboby encountered this?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 5/1/14, 7:17 AM
Seen: 1634 times
Last updated: 3/16/15, 8:10 AM