Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] partner_contact_birthdate #1368

Merged
merged 32 commits into from
Oct 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
84b065a
Add module partner_contact_birthdate.
May 19, 2015
a5a253f
Translations and templates sync
sysadminmatmoz Aug 2, 2015
9653b77
OCA Transbot updated translations from Transifex
oca-transbot Sep 1, 2015
6f3eb85
Fix multiple tabs "contact information"
leemannd Jan 18, 2016
77bc0e3
Port of Birthdate
leemannd Jan 18, 2016
4a5a463
OCA Transbot updated translations from Transifex
oca-transbot Aug 20, 2016
77fd113
[MIG] Migration partner_contact_birthdate partner_contact_gender part…
Nov 12, 2016
5335580
OCA Transbot updated translations from Transifex
oca-transbot Nov 29, 2016
5fe594c
[FIX] partner_contact: Fix Travis
pedrobaeza May 31, 2017
0e84a4d
OCA Transbot updated translations from Transifex
oca-transbot Jun 10, 2017
158c398
[MIG] partner_contact_birthdate: Migration to 11.0
Oct 31, 2017
40ad103
[CHG] remove useless birthdate field; changes after review; fix pylin…
Olivier-LAURENT Feb 11, 2019
ca547c5
Update translation files
oca-transbot Mar 3, 2019
3c57b70
[MIG] partner_contact_birthdate: Migration to 12.0
oihane Mar 12, 2019
5abce40
Update translation files
oca-transbot May 20, 2019
2569008
Translated using Weblate (Danish)
hhgabelgaard Jul 30, 2019
685602d
Translated using Weblate (Spanish)
eduardgm Aug 4, 2019
d6706c5
Translated using Weblate (Portuguese (Brazil))
Sep 17, 2019
cfa2d58
Translated using Weblate (Croatian)
badbole Nov 18, 2019
ad2b230
[13.0][MIG] partner_contact_birthdate
newtratip Dec 20, 2019
6f7fda2
pre-commit update
OCA-git-bot Mar 14, 2020
8335c30
[IMP] partner_contact_birthday: Add computed age field
ajayjaviya Apr 30, 2020
6cd0c44
partner_contact_birthdate 13.0.2.0.0
OCA-git-bot May 12, 2020
565669e
Update translation files
oca-transbot May 12, 2020
4c07225
Translated using Weblate (Portuguese (Brazil))
Aug 12, 2020
a781aa3
[MIG] partner_contact_birthdate: Migration to 14.0
newtratip Oct 15, 2020
ffd3b21
Translated using Weblate (Portuguese)
pedrocs-exo Nov 10, 2021
0e43cf3
[IMP] partner_contact_birthdate: black, isort, prettier
holdenrehg Nov 17, 2021
bdbfb90
[IMP] partner_contact_birthdate: 15.0 mig changes
holdenrehg Nov 17, 2021
54aabcb
Translated using Weblate (Catalan)
juliap98 Apr 7, 2022
1e38c38
[FIX] black, isort, prettier
carmenbianca Sep 8, 2022
79bdb20
[MIG] partner_contact_birthdate: Migration to 16.0
carmenbianca Sep 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions partner_contact_birthdate/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
===================
Contact's birthdate
===================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/15.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-15-0/partner-contact-15-0-partner_contact_birthdate
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/134/15.0
:alt: Try me on Runbot

|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:: https://raw.githubusercontent.com/OCA/partner-contact/15.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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_contact_birthdate%0Aversion:%2015.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>)

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.

This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/15.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
16 changes: 16 additions & 0 deletions partner_contact_birthdate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 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>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Contact's birthdate",
"version": "16.0.1.0.0",
"author": "Tecnativa, Odoo Community Association (OCA)",
"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"
40 changes: 40 additions & 0 deletions partner_contact_birthdate/i18n/da.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]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-08-18 02:46+0000\n"
"PO-Revision-Date: 2019-07-30 11:51+0000\n"
"Last-Translator: Hans Henrik Gabelgaard <[email protected]>\n"
"Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n"
"Language: da\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 3.7.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 "Fødselsdato"

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

#~ msgid "Partner"
#~ msgstr "Partner"
Loading