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

18.0 mig partner contact birthdate #1942

Open
wants to merge 37 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
0f8c7fc
Add module partner_contact_birthdate.
May 19, 2015
ae00c0a
Translations and templates sync
sysadminmatmoz Aug 2, 2015
504e32d
Fix multiple tabs "contact information"
leemannd Jan 18, 2016
3bcb81c
Port of Birthdate
leemannd Jan 18, 2016
a8be9a6
[MIG] Migration partner_contact_birthdate partner_contact_gender part…
Nov 12, 2016
2a3a981
[FIX] partner_contact: Fix Travis
pedrobaeza May 31, 2017
7cece96
[MIG] partner_contact_birthdate: Migration to 11.0
Oct 31, 2017
9c9b317
[CHG] remove useless birthdate field; changes after review; fix pylin…
Olivier-LAURENT Feb 11, 2019
096b403
[MIG] partner_contact_birthdate: Migration to 12.0
oihane Mar 12, 2019
a8a97f3
Translated using Weblate (Danish)
hhgabelgaard Jul 30, 2019
24124a5
Translated using Weblate (Spanish)
eduardgm Aug 4, 2019
c32e266
Translated using Weblate (Portuguese (Brazil))
Sep 17, 2019
edc337f
Translated using Weblate (Croatian)
badbole Nov 18, 2019
5528117
[13.0][MIG] partner_contact_birthdate
newtratip Dec 20, 2019
7f39f35
[IMP] partner_contact_birthday: Add computed age field
ajayjaviya Apr 30, 2020
9bb5adb
Translated using Weblate (Portuguese (Brazil))
Aug 12, 2020
6244075
[MIG] partner_contact_birthdate: Migration to 14.0
newtratip Oct 15, 2020
0e0dde7
Translated using Weblate (Portuguese)
pedrocs-exo Nov 10, 2021
268227e
[IMP] partner_contact_birthdate: 15.0 mig changes
holdenrehg Nov 17, 2021
99ef2c1
Translated using Weblate (Catalan)
juliap98 Apr 7, 2022
4ed4c26
[FIX] black, isort, prettier
carmenbianca Sep 8, 2022
651c3b7
[MIG] partner_contact_birthdate: Migration to 16.0
carmenbianca Sep 8, 2022
a9dbe11
Translated using Weblate (German)
marylla Nov 4, 2022
6d6c539
Translated using Weblate (French)
PierrickBrun Nov 29, 2022
3bcb352
Translated using Weblate (Croatian)
badbole Jan 3, 2023
684388c
Translated using Weblate (Italian)
francesco-ooops Jul 6, 2023
ff613e9
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
8e45b3c
[IMP] partner_contact_birthdate: pre-commit execution
Daemo00 Nov 17, 2023
2449a45
[MIG] partner_contact_birthdate: Migration to 17.0
Daemo00 Nov 17, 2023
0ba6640
[UPD] Update partner_contact_birthdate.pot
Dec 4, 2023
aade092
[BOT] post-merge updates
OCA-git-bot Dec 4, 2023
fdc9be5
[REF] partner_contact_birthdate: Remove deprecation warning
Daemo00 Dec 6, 2023
db09c26
Translated using Weblate (Swedish)
jakobkrabbe Jun 5, 2024
205f5a6
[IMP] partner_contact_role: pre-commit execution
jdidderen-nsi Aug 7, 2024
3f70bef
[IMP] partner_contact_birthdate: Add birthdate in search view
cvinh Dec 10, 2024
83470f7
[BOT] post-merge updates
OCA-git-bot Dec 19, 2024
7608a8a
[MIG] partner_contact_birthdate: Migration to 18.0
jeromeguerriat-msf Dec 27, 2024
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
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:2fadc8fd9cb96b6fee87a511d8931cf036519e5c064489017e02271188cffc3b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/17.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-17-0/partner-contact-17-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=17.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/17.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:%2017.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/17.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.1.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
Loading