diff --git a/partner_contact_birthdate/README.rst b/partner_contact_birthdate/README.rst index 7be9848bf..fc5b380d9 100644 --- a/partner_contact_birthdate/README.rst +++ b/partner_contact_birthdate/README.rst @@ -14,13 +14,13 @@ Contact's birthdate :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/12.0/partner_contact_birthdate + :target: https://github.com/OCA/partner-contact/tree/13.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-12-0/partner-contact-12-0-partner_contact_birthdate + :target: https://translation.odoo-community.org/projects/partner-contact-13-0/partner-contact-13-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/12.0 + :target: https://runbot.odoo-community.org/runbot/134/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -49,7 +49,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -69,6 +69,7 @@ Contributors * Matjaž Mozetič * Rudolf Schnapka * Denis Leemann +* Tharathip Chaweewongphan Maintainers ~~~~~~~~~~~ @@ -83,6 +84,6 @@ 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 `_ project on GitHub. +This module is part of the `OCA/partner-contact `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/partner_contact_birthdate/__init__.py b/partner_contact_birthdate/__init__.py index 0650744f6..4b76c7b2d 100644 --- a/partner_contact_birthdate/__init__.py +++ b/partner_contact_birthdate/__init__.py @@ -1 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + from . import models diff --git a/partner_contact_birthdate/__manifest__.py b/partner_contact_birthdate/__manifest__.py index 0939a456f..07aacaf6b 100644 --- a/partner_contact_birthdate/__manifest__.py +++ b/partner_contact_birthdate/__manifest__.py @@ -4,17 +4,12 @@ { "name": "Contact's birthdate", - 'version': '12.0.1.0.0', - "author": "Tecnativa," - "Odoo Community Association (OCA)", + "version": "13.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", - ], + "depends": ["partner_contact_personal_information_page"], + "data": ["views/res_partner.xml"], "license": "AGPL-3", - 'installable': True, + "installable": True, } diff --git a/partner_contact_birthdate/models/__init__.py b/partner_contact_birthdate/models/__init__.py index 91fed54d4..284a83ff1 100644 --- a/partner_contact_birthdate/models/__init__.py +++ b/partner_contact_birthdate/models/__init__.py @@ -1 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + from . import res_partner diff --git a/partner_contact_birthdate/models/res_partner.py b/partner_contact_birthdate/models/res_partner.py index c994dfa09..d98e0d665 100644 --- a/partner_contact_birthdate/models/res_partner.py +++ b/partner_contact_birthdate/models/res_partner.py @@ -1,11 +1,13 @@ # Copyright (C) 2014-2015 Grupo ESOC # Copyright 2017-Apertoso N.V. () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + from odoo import fields, models class ResPartner(models.Model): """Partner with birth date in date format.""" + _inherit = "res.partner" birthdate_date = fields.Date("Birthdate") diff --git a/partner_contact_birthdate/readme/CONTRIBUTORS.rst b/partner_contact_birthdate/readme/CONTRIBUTORS.rst index 0615a1b5c..dc7f74d74 100644 --- a/partner_contact_birthdate/readme/CONTRIBUTORS.rst +++ b/partner_contact_birthdate/readme/CONTRIBUTORS.rst @@ -3,3 +3,4 @@ * Matjaž Mozetič * Rudolf Schnapka * Denis Leemann +* Tharathip Chaweewongphan diff --git a/partner_contact_birthdate/static/description/index.html b/partner_contact_birthdate/static/description/index.html index 866a4ac8a..d2b350774 100644 --- a/partner_contact_birthdate/static/description/index.html +++ b/partner_contact_birthdate/static/description/index.html @@ -3,7 +3,7 @@ - + Contact's birthdate