Skip to content

Commit

Permalink
Merge pull request #1369 from OCA/18.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/partner-contact (18.0)
  • Loading branch information
bt-admin authored Feb 1, 2025
2 parents 6229c46 + c499387 commit 6f2a094
Show file tree
Hide file tree
Showing 71 changed files with 2,781 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ addon | version | maintainers | summary
[crm_partner_company_group](crm_partner_company_group/) | 18.0.1.0.0 | | Adds the possibility to add a company group to a company
[partner_company_group](partner_company_group/) | 18.0.1.0.0 | [![luisg123v](https://github.com/luisg123v.png?size=30px)](https://github.com/luisg123v) | Adds the possibility to add a company group to a company
[partner_contact_access_link](partner_contact_access_link/) | 18.0.1.0.0 | [![Yajo](https://github.com/Yajo.png?size=30px)](https://github.com/Yajo) | Allow to visit the full contact form from a company
[partner_contact_birthdate](partner_contact_birthdate/) | 18.0.1.0.0 | [![Daemo00](https://github.com/Daemo00.png?size=30px)](https://github.com/Daemo00) | Contact's birthdate
[partner_contact_personal_information_page](partner_contact_personal_information_page/) | 18.0.1.0.0 | [![Daemo00](https://github.com/Daemo00.png?size=30px)](https://github.com/Daemo00) | Add a page to contacts form to put personal information
[partner_fax](partner_fax/) | 18.0.1.0.0 | | Add fax number on partner
[partner_firstname](partner_firstname/) | 18.0.1.1.0 | | Split first name and last name for non company partners
Expand Down
108 changes: 108 additions & 0 deletions partner_contact_birthdate/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
===================
Contact's birthdate
===================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:404b83e69791f905c0d21c48f8b5085b6a47f811cb2ce9a5ea44b99ab6b00d01
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github
:target: https://github.com/OCA/partner-contact/tree/18.0/partner_contact_birthdate
:alt: OCA/partner-contact
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/partner-contact-18-0/partner-contact-18-0-partner_contact_birthdate
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module was written to extend the functionality of Odoo to support
setting a birthdate using a date format and allow you to benefit of a
clearer API and UI.

Add a computed age field on Partners

|image|

.. |image| image:: https://raw.githubusercontent.com/OCA/partner-contact/18.0/partner_contact_birthdate/static/description/age.png

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

- Edit or create a partner.
- Ensure it is **not** a company.
- Set the birthdate there.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/partner-contact/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_contact_birthdate%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Tecnativa

Contributors
------------

- EL Hadji DEM <[email protected]>
- Jairo Llopis <[email protected]>
- Matjaž Mozetič <[email protected]>
- Rudolf Schnapka <[email protected]>
- Denis Leemann <[email protected]>
- Tharathip Chaweewongphan <[email protected]>
- Druidoo (<https://www.druidoo.io>)
- Simone Rubino <[email protected]>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-Daemo00| image:: https://github.com/Daemo00.png?size=40px
:target: https://github.com/Daemo00
:alt: Daemo00

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-Daemo00|

This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/18.0/partner_contact_birthdate>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions partner_contact_birthdate/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
20 changes: 20 additions & 0 deletions partner_contact_birthdate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2014-2015 Grupo ESOC <www.grupoesoc.es>
# Copyright 2017-Apertoso N.V. (<http://www.apertoso.be>)
# Copyright 2019-2020: Druidoo (<https://www.druidoo.io>)
# Copyright 2023 Simone Rubino <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Contact's birthdate",
"version": "18.0.1.0.0",
"author": "Tecnativa, Odoo Community Association (OCA)",
"maintainers": [
"Daemo00",
],
"category": "Customer Relationship Management",
"website": "https://github.com/OCA/partner-contact",
"depends": ["partner_contact_personal_information_page"],
"data": ["views/res_partner.xml"],
"license": "AGPL-3",
"installable": True,
}
39 changes: 39 additions & 0 deletions partner_contact_birthdate/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_birthdate
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-10 03:39+0000\n"
"PO-Revision-Date: 2017-03-10 03:39+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: partner_contact_birthdate
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner__age
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users__age
msgid "Age"
msgstr ""

#. module: partner_contact_birthdate
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner__birthdate_date
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users__birthdate_date
msgid "Birthdate"
msgstr ""

#. module: partner_contact_birthdate
#: model:ir.model,name:partner_contact_birthdate.model_res_partner
msgid "Contact"
msgstr ""

#~ msgid "Partner"
#~ msgstr "ተባባሪ"
40 changes: 40 additions & 0 deletions partner_contact_birthdate/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_birthdate
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-10 03:39+0000\n"
"PO-Revision-Date: 2017-03-10 03:39+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: partner_contact_birthdate
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner__age
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users__age
msgid "Age"
msgstr ""

#. module: partner_contact_birthdate
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner__birthdate_date
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users__birthdate_date
msgid "Birthdate"
msgstr ""

#. module: partner_contact_birthdate
#: model:ir.model,name:partner_contact_birthdate.model_res_partner
msgid "Contact"
msgstr ""

#~ msgid "Partner"
#~ msgstr "الشريك"
39 changes: 39 additions & 0 deletions partner_contact_birthdate/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_birthdate
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-31 01:39+0000\n"
"PO-Revision-Date: 2016-12-31 01:39+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2016\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: partner_contact_birthdate
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner__age
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users__age
msgid "Age"
msgstr ""

#. module: partner_contact_birthdate
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner__birthdate_date
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users__birthdate_date
msgid "Birthdate"
msgstr ""

#. module: partner_contact_birthdate
#: model:ir.model,name:partner_contact_birthdate.model_res_partner
msgid "Contact"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Партньор"
40 changes: 40 additions & 0 deletions partner_contact_birthdate/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_birthdate
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-10 03:39+0000\n"
"PO-Revision-Date: 2017-03-10 03:39+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#. module: partner_contact_birthdate
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner__age
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users__age
msgid "Age"
msgstr ""

#. module: partner_contact_birthdate
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner__birthdate_date
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users__birthdate_date
msgid "Birthdate"
msgstr ""

#. module: partner_contact_birthdate
#: model:ir.model,name:partner_contact_birthdate.model_res_partner
msgid "Contact"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Partner"
40 changes: 40 additions & 0 deletions partner_contact_birthdate/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_birthdate
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-10 03:39+0000\n"
"PO-Revision-Date: 2022-04-07 14:05+0000\n"
"Last-Translator: juliap98 <[email protected]>\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: partner_contact_birthdate
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner__age
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users__age
msgid "Age"
msgstr "Any"

#. module: partner_contact_birthdate
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner__birthdate_date
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users__birthdate_date
msgid "Birthdate"
msgstr "Data de naixement"

#. module: partner_contact_birthdate
#: model:ir.model,name:partner_contact_birthdate.model_res_partner
msgid "Contact"
msgstr "Contacte"

#~ msgid "Partner"
#~ msgstr "Empresa"
39 changes: 39 additions & 0 deletions partner_contact_birthdate/i18n/cs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_birthdate
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-10 03:39+0000\n"
"PO-Revision-Date: 2017-03-10 03:39+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

#. module: partner_contact_birthdate
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner__age
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users__age
msgid "Age"
msgstr ""

#. module: partner_contact_birthdate
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_partner__birthdate_date
#: model:ir.model.fields,field_description:partner_contact_birthdate.field_res_users__birthdate_date
msgid "Birthdate"
msgstr ""

#. module: partner_contact_birthdate
#: model:ir.model,name:partner_contact_birthdate.model_res_partner
msgid "Contact"
msgstr ""

#~ msgid "Partner"
#~ msgstr "Společník"
Loading

0 comments on commit 6f2a094

Please sign in to comment.