Option 4 or 3 (with setup)
Eric CAUDAL

Eric Caudal
/CEO/
--
*Elico Corporation, Shanghai branch
/OpenERP Premium Certified Training Partner/  *
Cell: + 86 186 2136 1670
Office: + 86 21 6211 8017/27/37
Skype: elico.corp
eric.cau...@elico-corp.com  <mailto:eric.cau...@elico-corp.com>
http://www.elico-corp.com

Elico Corp
On 04/24/2014 09:31 PM, Lorenzo Battistini wrote:
On 04/24/2014 09:34 AM, Guewen Baconnier wrote:
Hi,

Following the question of [0] Jos De Graeve on the mapping of products,
I propose a vote.

The question is: should the core Magento Connector automatically link
new imported products on existing products having the same sku-default_code.

The arguments we had in a first place were that the default_code is not
unique in OpenERP, so the link on an existing product would not be
deterministic or would be arbitrary in case of multiple products with
same sku.

On the other hand, I think that most of the users expect to have this
behavior. And the users not wanting it could still void the mapping with
a custom mapper.

The options:

1. Keep the current behavior: all products are imported as new products
2. Link products having the same SKU, when several are found, take the
first found
3. Link products having the same SKU, when several are found, do not try
to guess and create a new product

Let me add an option:

4. Link products having the same SKU. When several are found, set the job 'failed'.

Moreover, there could be a boolean field on the backend configuration saying 'Link products having the same SKU'. When disabled, all products are imported as new products.


-- 
Mailing list: https://launchpad.net/~openerp-connector-community
Post to     : openerp-connector-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-connector-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to