You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.7 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License: AGPL-3
  3. Partner first name and last name
  4. ================================
  5. This module was written to extend the functionality of contacts to support
  6. having separate last name and first name.
  7. Usage
  8. =====
  9. The field *name* becomes a stored function field concatenating the *last name*
  10. and the *first name*. This avoids breaking compatibility with other modules.
  11. Users should fulfill manually the separate fields for *last name* and *first
  12. name*, but in case you edit just the *name* field in some unexpected module,
  13. there is an inverse function that tries to split that automatically. It assumes
  14. that you write the *name* in format *"Lastname Firstname"*, but it could lead to
  15. wrong splitting (because it's just blindly trying to guess what you meant), so
  16. you better specify it manually.
  17. For the same reason, after installing, previous names for contacts will stay in
  18. the *name* field, and the first time you edit any of them you will be asked to
  19. supply the *last name* and *first name* (just once per contact).
  20. You can use *_get_inverse_name* method to get lastname and firstname from a simple string
  21. and also *_get_computed_name* to get a name form the lastname and firstname.
  22. These methods can be overridden to change the format specified above
  23. For further information, please visit:
  24. * https://www.odoo.com/forum/help-1
  25. Credits
  26. =======
  27. Contributors
  28. ------------
  29. * Nicolas Bessi <nicolas.bessi@camptocamp.com>
  30. * Yannick Vaucher <yannick.vaucher@camptocamp.com>
  31. * Vincent Renaville <vincent.renaville@camptocamp.com>
  32. * Guewen Baconnier <guewen.baconnier@camptocamp.com>
  33. * Holger Brunn <hbrunn@terp.nl>
  34. * Jonathan Nemry <jonathan.nemry@acsone.eu>
  35. * Olivier Laurent <olivier.laurent@acsone.eu>
  36. * Sandy Carter <sandy.carter@savoirfairelinux.com>
  37. * Alexis de Lattre <alexis.delattre@akretion.fr>
  38. * Lorenzo Battistini <lorenzo.battistini@agilebg.com>
  39. * Hans Henrik Gabelgaard <hhg@gabelgaard.org>
  40. * Jairo Llopis <j.llopis@grupoesoc.es>
  41. * Adrien Peiffer <adrien.peiffer@acsone.eu>
  42. * Ronald Portier <ronald@therp.nl>
  43. * Sylvain Van Hoof
  44. * Pedro Baeza <pedro.baeza@serviciosbaeza.com>
  45. Translations
  46. ------------
  47. * Danish: Hans Henrik Gabelgaard
  48. * Italian: Leonardo Donelli
  49. * Spanish: Antonio Espinosa
  50. Maintainer
  51. ----------
  52. .. image:: http://odoo-community.org/logo.png
  53. :alt: Odoo Community Association
  54. :target: http://odoo-community.org
  55. This module is maintained by the OCA.
  56. OCA, or the Odoo Community Association, is a nonprofit organization whose
  57. mission is to support the collaborative development of Odoo features and
  58. promote its widespread use.
  59. To contribute to this module, please visit http://odoo-community.org.