When I tried to Import Orders. I got an error in the log but the job was set to "DONE" even though there was an error.
Error Traceback:
2014-05-28 06:50:57,006 7165 INFO prestashop requests.packages.urllib3.connectionpool:
Starting new HTTP connection (1):
<?xml version="1.0" encoding="UTF-8"?>
<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
<errors>
<error>
<code><![CDATA[27]]></code>
<message><![CDATA[Resource of type "messages" does not exists. Did you mean: "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"]]></message>
</error>
</errors>
</prestashop>
and when I checked the backend adapter used for prestashop.mail.message as "messages".
@prestashop
class MailMessageAdapter(GenericAdapter):
_model_name = 'prestashop.mail.message'
_prestashop_model = 'messages'