From e4b86f6c711f7da7c750fb26c7cecc28bcc97d65 Mon Sep 17 00:00:00 2001 From: AmmarOfficewala Date: Thu, 15 Apr 2021 17:06:02 +0530 Subject: [PATCH] [14.0][MIG] Migarted contract_payment_mode module. --- contract_payment_mode/README.rst | 11 ++--- contract_payment_mode/__manifest__.py | 3 +- .../i18n/contract_payment_mode.pot | 17 +++++++- contract_payment_mode/i18n/es_AR.po | 42 +++++++++++++++++++ contract_payment_mode/i18n/it.po | 9 ++-- contract_payment_mode/readme/CONTRIBUTORS.rst | 1 + .../static/description/index.html | 7 ++-- .../tests/test_contract_payment.py | 4 +- 8 files changed, 78 insertions(+), 16 deletions(-) create mode 100644 contract_payment_mode/i18n/es_AR.po diff --git a/contract_payment_mode/README.rst b/contract_payment_mode/README.rst index 55f3fc028..2c61168f6 100644 --- a/contract_payment_mode/README.rst +++ b/contract_payment_mode/README.rst @@ -14,13 +14,13 @@ Contract Payment Mode :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github - :target: https://github.com/OCA/contract/tree/13.0/contract_payment_mode + :target: https://github.com/OCA/contract/tree/14.0/contract_payment_mode :alt: OCA/contract .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/contract-13-0/contract-13-0-contract_payment_mode + :target: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract_payment_mode :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/110/13.0 + :target: https://runbot.odoo-community.org/runbot/110/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -57,7 +57,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. @@ -79,6 +79,7 @@ Contributors * David Vidal * Carlos Dauden * Guillermo Llinares +* Amamr Officewala Maintainers ~~~~~~~~~~~ @@ -93,6 +94,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/contract `_ project on GitHub. +This module is part of the `OCA/contract `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/contract_payment_mode/__manifest__.py b/contract_payment_mode/__manifest__.py index 2326ae44c..50963dff3 100644 --- a/contract_payment_mode/__manifest__.py +++ b/contract_payment_mode/__manifest__.py @@ -3,12 +3,13 @@ # Copyright 2017 Tecnativa - David Vidal # Copyright 2017 Tecnativa - Carlos Dauden # Copyright 2017-2018 Tecnativa - Vicent Cubells +# Copyright (C) 2021 Open Source Integrators # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Contract Payment Mode", "summary": "Payment mode in contracts and their invoices", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "author": "Domatix, " "Tecnativa, " "Odoo Community Association (OCA)", "website": "https://github.com/OCA/contract", "depends": ["contract", "account_payment_partner"], diff --git a/contract_payment_mode/i18n/contract_payment_mode.pot b/contract_payment_mode/i18n/contract_payment_mode.pot index c3ce1c775..c716972d1 100644 --- a/contract_payment_mode/i18n/contract_payment_mode.pot +++ b/contract_payment_mode/i18n/contract_payment_mode.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -18,6 +18,21 @@ msgstr "" msgid "Contract" msgstr "" +#. module: contract_payment_mode +#: model:ir.model.fields,field_description:contract_payment_mode.field_contract_contract__display_name +msgid "Display Name" +msgstr "" + +#. module: contract_payment_mode +#: model:ir.model.fields,field_description:contract_payment_mode.field_contract_contract__id +msgid "ID" +msgstr "" + +#. module: contract_payment_mode +#: model:ir.model.fields,field_description:contract_payment_mode.field_contract_contract____last_update +msgid "Last Modified on" +msgstr "" + #. module: contract_payment_mode #: model:ir.model.fields,field_description:contract_payment_mode.field_contract_contract__payment_mode_id msgid "Payment Mode" diff --git a/contract_payment_mode/i18n/es_AR.po b/contract_payment_mode/i18n/es_AR.po new file mode 100644 index 000000000..8bbaab82e --- /dev/null +++ b/contract_payment_mode/i18n/es_AR.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_payment_mode +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2022-02-06 20:59+0000\n" +"Last-Translator: Ignacio Buioli \n" +"Language-Team: none\n" +"Language: es_AR\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: contract_payment_mode +#: model:ir.model,name:contract_payment_mode.model_contract_contract +msgid "Contract" +msgstr "Contrato" + +#. module: contract_payment_mode +#: model:ir.model.fields,field_description:contract_payment_mode.field_contract_contract__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: contract_payment_mode +#: model:ir.model.fields,field_description:contract_payment_mode.field_contract_contract__id +msgid "ID" +msgstr "ID" + +#. module: contract_payment_mode +#: model:ir.model.fields,field_description:contract_payment_mode.field_contract_contract____last_update +msgid "Last Modified on" +msgstr "Última Modificación el" + +#. module: contract_payment_mode +#: model:ir.model.fields,field_description:contract_payment_mode.field_contract_contract__payment_mode_id +msgid "Payment Mode" +msgstr "Modo de Pago" diff --git a/contract_payment_mode/i18n/it.po b/contract_payment_mode/i18n/it.po index 74477a877..901a6cf8e 100644 --- a/contract_payment_mode/i18n/it.po +++ b/contract_payment_mode/i18n/it.po @@ -10,19 +10,20 @@ msgstr "" "Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-05-29 10:30+0000\n" -"PO-Revision-Date: 2017-04-01 02:46+0000\n" -"Last-Translator: Stefano , 2017\n" +"PO-Revision-Date: 2022-03-27 00:17+0000\n" +"Last-Translator: Andrea Cometa \n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "Language: it\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" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: contract_payment_mode #: model:ir.model,name:contract_payment_mode.model_contract_contract msgid "Contract" -msgstr "" +msgstr "Contratto" #. module: contract_payment_mode #: model:ir.model.fields,field_description:contract_payment_mode.field_contract_contract__payment_mode_id diff --git a/contract_payment_mode/readme/CONTRIBUTORS.rst b/contract_payment_mode/readme/CONTRIBUTORS.rst index 6bf6c2898..1d3cc6dfd 100644 --- a/contract_payment_mode/readme/CONTRIBUTORS.rst +++ b/contract_payment_mode/readme/CONTRIBUTORS.rst @@ -4,3 +4,4 @@ * David Vidal * Carlos Dauden * Guillermo Llinares +* Amamr Officewala diff --git a/contract_payment_mode/static/description/index.html b/contract_payment_mode/static/description/index.html index 94dbd92d1..dadda4b5e 100644 --- a/contract_payment_mode/static/description/index.html +++ b/contract_payment_mode/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/contract Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/contract Translate me on Weblate Try me on Runbot

This module allows to set a payment mode on contract for creating the invoices with this payment mode.

Table of contents

@@ -407,7 +407,7 @@ corresponding field.

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.

@@ -428,6 +428,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • David Vidal <david.vidal@tecnativa.com>
  • Carlos Dauden <carlos.dauden@tecnativa.com>
  • Guillermo Llinares <guillermo@studio73.es>
  • +
  • Amamr Officewala <aofficewala@opensourceintegrators.com>
  • @@ -437,7 +438,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

    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/contract project on GitHub.

    +

    This module is part of the OCA/contract project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    diff --git a/contract_payment_mode/tests/test_contract_payment.py b/contract_payment_mode/tests/test_contract_payment.py index 3fb308741..c714b0ffe 100644 --- a/contract_payment_mode/tests/test_contract_payment.py +++ b/contract_payment_mode/tests/test_contract_payment.py @@ -4,12 +4,12 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). import odoo.tests +from odoo.tests import tagged from ..hooks import post_init_hook -@odoo.tests.post_install(True) -@odoo.tests.at_install(False) +@tagged("post_install", "-at_install") class TestContractPaymentInit(odoo.tests.HttpCase): def setUp(self): super().setUp()