← Back to team overview

magentoerpconnect-community team mailing list archive

Re: firstname and lastname management in OpenERP

 

On the practical side, I would like to recommend adding a new field for the last name. This would help a lot when integrating with other system, for example e-mail maketing.

It is so much more profession to refer to someone just by their last name on the header of an e-mail marketing.

Now, I don't really now how this is going to impact other modules or funcionatilies on the erp.

Maybe we need to create a First_Name and a Last_Name field and map these variables to magento and map the  concatenation of these 2 string into the partner name so it does not affect other modules.



On Nov 3, 2010, at 10:00 PM, Sharoon Thomas wrote:

> Hi All,
> 
> Can we not just add the new field for lastname in the res.partner.address
> 
> Its duplicating functionality of other module, but the other modules are a bloat for the purpose?
> 
> Thanks,
> 
> On Wed, Nov 3, 2010 at 9:54 PM, Jordi Esteve <jesteve@xxxxxxxxxxxxxxx> wrote:
> +1 for the solution 3/. It is not a clean solution but it is simple.
> 
> Jordi
> 
> En/na Vianney ha escrit:
>> 
>> Hello community, 
>> 
>> As we are improving the connector by allowing an update of the partners from OpenERP to Magento, we are facing a little issue, linked with a question asked by Guewen : 
>> https://answers.launchpad.net/magentoerpconnect/+question/132197
>> 
>> When importing the partners from Magento, it concatenates the Magento fields firstname and lastname to the OpenERP field name, so, when updating the data in Magento we lost information (the separation between the firstname and the lastname) 
>> 
>> We thought of three solutions and we would like your opinion on that : 
>> 1/ we can, as suggested by Guewen, use the base_partner_surname module (in extra modules) but it is deprecated and the strongly suggest to use the base_contact module (in addons) instead. 
>> 2/ we can so use this base_contact module but we think it is a very heavy module and maybe it is not such a good idea to use it for such a little benefit
>> 3/ we can simply change the mapping in the magentoerpconnect module to insert a separator between first and last names such as ' / ' so in OpenERP it will look like 'John / Doe' (note that it is the solution used now but the separator is simply ' ' and so it will not separate properly the first and last names when the first name is composed (Roberto Carlos for instance))
>> 
>> We think that the solution 3/ is better because it won't add complexity in the connector and we don't think it is problematic to introduce this '/' in the name field because it is easy to remove if needed (like in reports). 
>> 
>> So, what do you think? 
>> 
>> -- 
>> Vianney 
>> www.akretion.com.br 
>> <Mail Attachment.png>
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~magentoerpconnect-community
>> Post to     : magentoerpconnect-community@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~magentoerpconnect-community
>> More help   : https://help.launchpad.net/ListHelp
>>   
> 
> 
> -- 
> Jordi Esteve
> Consultor Zikzakmedia SL
> jesteve@xxxxxxxxxxxxxxx
> Mòbil 679 170 693
> 
> Zikzakmedia SL
> Dr. Fleming, 28, baixos
> 08720 Vilafranca del Penedès
> Tel 93 890 2108
> 
> 
> 
> -- 
> Sharoon Thomas
> Business Analyst & Open Source ERP Consultant
> CEO @ http://openlabs.co.in
> _______________________________________________
> Mailing list: https://launchpad.net/~magentoerpconnect-community
> Post to     : magentoerpconnect-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~magentoerpconnect-community
> More help   : https://help.launchpad.net/ListHelp

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Follow ups

References