~magentoerpconnect-core-editors/magentoerpconnect/module-magento-trunk

Viewing all changes in revision 28.

  • Committer: monahhas
  • Date: 2011-11-09 09:44:07 UTC
  • Revision ID: monahhas@midgard-20111109094407-6vr7ca0kocw4anym
[ADD] Compatibility with magento 1.3.x.x added, if version of magento is 1.3.x.x the module will :

- add an order attribute called 'imported' instead of column for magento 1.4.x.x and higher.
- add an observer for the event 'sales_order_place_after' which initialize the value of 'imported' to 0 every time an order is placed, if there any problem during the initialization, a log called OpenErp_Connector.log will be created in [yourmagento]/var/log/, this log contains information about the problem, increment_id, error message,...
- function retreive() compatibility with 1.3.x.x fixed
- allow you to initialize the value of the attribute 'imported' to 0 for all orders placed before installing the module, so they can be imported in OpenErp, this script can be called via this Url : http://[base_url]/index.php/connector/adminhtml_init/orders/

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: