Skip to content

Commit

Permalink
Updated Website Membership Registration changes
Browse files Browse the repository at this point in the history
pre-commit fixes

pre-commit fixes
  • Loading branch information
ByteMeAsap committed Oct 15, 2024
1 parent ef2d7af commit 736c6a5
Show file tree
Hide file tree
Showing 171 changed files with 10,062 additions and 153 deletions.
1 change: 1 addition & 0 deletions partner_cde/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
13 changes: 13 additions & 0 deletions partner_cde/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "Partner extension for collaborative development environments",
"summary": "Allows to capture details of collaborative development environments for partners",
"category": "Membership",
"version": "16.0.1.0.0",
"author": "Onestein",
"website": "https://www.onestein.nl",
"license": "AGPL-3",
"depends": ["base"],
"data": [
"views/res_partner_view.xml",
],
}
1 change: 1 addition & 0 deletions partner_cde/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import res_partner
11 changes: 11 additions & 0 deletions partner_cde/models/res_partner.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from odoo import fields, models


class ResPartner(models.Model):
_inherit = "res.partner"

github_login = fields.Char(string="Github Username")
gitlab_email = fields.Char(help="Can be used to reconcile commits")
gitlab_username = fields.Char(
help="Can be used to reconcile merge requests, issues, comment, and reviews",
)
14 changes: 14 additions & 0 deletions partner_cde/views/res_partner_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_partner_form" model="ir.ui.view">
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='website']" position="after">
<field name="github_login" />
<field name="gitlab_username" />
<field name="gitlab_email" />
</xpath>
</field>
</record>
</odoo>
97 changes: 97 additions & 0 deletions partner_contact_birthdate/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
===================
Contact's birthdate
===================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:db7b80c505264ae253e70964033a5805613fd32ba70d9368a8e6ce22dd1b54a7
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/16.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-16-0/partner-contact-16-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=16.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:: https://raw.githubusercontent.com/OCA/partner-contact/16.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:%2016.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/16.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://www.onestein.nl",
"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: 2024-06-03 14:34+0000\n"
"Last-Translator: Eric Antones <[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.17\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 "Edat"

#. 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"
Loading

0 comments on commit 736c6a5

Please sign in to comment.