Skip to content

Commit

Permalink
[MIG] l10n_us_partner_legal_number: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lk-eska committed Oct 17, 2022
1 parent 1d3b7c6 commit 52ac003
Show file tree
Hide file tree
Showing 11 changed files with 529 additions and 12 deletions.
17 changes: 11 additions & 6 deletions l10n_us_partner_legal_number/README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
=====================================================
Localizations for North American Banking & Financials
=====================================================
========================================================
Add Legal Number for North American Banking & Financials
========================================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
Expand All @@ -14,13 +14,13 @@ Localizations for North American Banking & Financials
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--usa-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-usa/tree/12.0/account_banking_ach_base
:target: https://github.com/OCA/l10n-usa/tree/16.0/l10n_us_partner_legal_number
:alt: OCA/l10n-usa
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-usa-12-0/l10n-usa-12-0-account_banking_ach_base
:target: https://translation.odoo-community.org/projects/l10n-usa-16-0/l10n-usa-16-0-l10n_us_partner_legal_number
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/203/12.0
:target: https://runbot.odoo-community.org/runbot/203/16.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|
Expand All @@ -42,6 +42,8 @@ Bug Tracker

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-usa/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/l10n-usa/issues/new?body=module:%20l10n_us_partner_legal_number%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.

Expand All @@ -59,6 +61,7 @@ Contributors
* Chankya Soni <[email protected]>
* Maxime Chambreuil <[email protected]>
* Serpent Consulting Services Pvt. Ltd. <[email protected]>
* Levent Karakas <[email protected]>

Maintainers
~~~~~~~~~~~
Expand All @@ -73,4 +76,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/l10n-usa <https://github.com/OCA/l10n-usa/tree/16.0/l10n_us_partner_legal_number>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 3 additions & 2 deletions l10n_us_partner_legal_number/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
{
"name": "Add Legal Number for North American Banking & Financials",
"summary": "Add Legal Number for North American Banking & Financials",
"version": "14.0.1.0.0",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-usa",
"category": "Banking addons",
"depends": ["base"],
"depends": ["account"],
"data": ["views/res_partner.xml"],
"installable": True,
"external_dependencies": {"python": ["python-stdnum"]},
}
70 changes: 70 additions & 0 deletions l10n_us_partner_legal_number/i18n/l10n_us_partner_legal_number.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_us_partner_legal_number
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: l10n_us_partner_legal_number
#: code:addons/l10n_us_partner_legal_number/models/base.py:0
#, python-format
msgid "%s is not a valid EIN / SSN / Canadian Business Number"
msgstr ""

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

#. module: l10n_us_partner_legal_number
#: model:ir.model,name:l10n_us_partner_legal_number.model_countinghouse_legal_id_number
msgid "Countinghouse Legal Id Number"
msgstr ""

#. module: l10n_us_partner_legal_number
#: model:ir.model.fields,field_description:l10n_us_partner_legal_number.field_countinghouse_legal_id_number__display_name
#: model:ir.model.fields,field_description:l10n_us_partner_legal_number.field_res_partner__display_name
msgid "Display Name"
msgstr ""

#. module: l10n_us_partner_legal_number
#: model_terms:ir.ui.view,arch_db:l10n_us_partner_legal_number.view_partner_legal_id_number
msgid "EIN / SSN / BN"
msgstr ""

#. module: l10n_us_partner_legal_number
#: model:ir.model.fields,help:l10n_us_partner_legal_number.field_countinghouse_legal_id_number__legal_id_number
#: model:ir.model.fields,help:l10n_us_partner_legal_number.field_res_partner__legal_id_number
#: model:ir.model.fields,help:l10n_us_partner_legal_number.field_res_users__legal_id_number
msgid ""
"For US entities, enter valid EIN or Social Security Number.\n"
" Canadian entities, enter Canadian Business Number.\n"
" "
msgstr ""

#. module: l10n_us_partner_legal_number
#: model:ir.model.fields,field_description:l10n_us_partner_legal_number.field_countinghouse_legal_id_number__id
#: model:ir.model.fields,field_description:l10n_us_partner_legal_number.field_res_partner__id
msgid "ID"
msgstr ""

#. module: l10n_us_partner_legal_number
#: model:ir.model.fields,field_description:l10n_us_partner_legal_number.field_countinghouse_legal_id_number____last_update
#: model:ir.model.fields,field_description:l10n_us_partner_legal_number.field_res_partner____last_update
msgid "Last Modified on"
msgstr ""

#. module: l10n_us_partner_legal_number
#: model:ir.model.fields,field_description:l10n_us_partner_legal_number.field_countinghouse_legal_id_number__legal_id_number
#: model:ir.model.fields,field_description:l10n_us_partner_legal_number.field_res_partner__legal_id_number
#: model:ir.model.fields,field_description:l10n_us_partner_legal_number.field_res_users__legal_id_number
msgid "Legal ID"
msgstr ""
6 changes: 2 additions & 4 deletions l10n_us_partner_legal_number/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ def validate_legal_id_number(self):
continue
if not valid:
raise UserError(
_(
"%s is not a valid EIN / SSN / Canadian Business "
"Number" % self.legal_id_number
)
_("%s is not a valid EIN / SSN / Canadian Business Number")
% self.legal_id_number
)
4 changes: 4 additions & 0 deletions l10n_us_partner_legal_number/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* Chankya Soni <[email protected]>
* Maxime Chambreuil <[email protected]>
* Serpent Consulting Services Pvt. Ltd. <[email protected]>
* Levent Karakas <[email protected]>
1 change: 1 addition & 0 deletions l10n_us_partner_legal_number/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add Legal Number for North American Banking & Financials
1 change: 1 addition & 0 deletions l10n_us_partner_legal_number/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add Legal Number Field
Loading

0 comments on commit 52ac003

Please sign in to comment.