← Back to team overview

magentoerpconnect-community team mailing list archive

Re: firstname and lastname management in OpenERP

 

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
>
> ------------------------------
>
> _______________________________________________
> 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 SLjesteve@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

PNG image


Follow ups

References