From 492f3a606d64f51fd51afe7aba57397a23025d22 Mon Sep 17 00:00:00 2001 From: Ilyas Date: Mon, 9 Oct 2023 16:25:43 +0200 Subject: [PATCH] [MIG] subscription_oca: Migration to 14.0 --- setup/subscription_oca/odoo/addons/subscription_oca | 1 + setup/subscription_oca/setup.py | 6 ++++++ subscription_oca/README.rst | 12 ++++++------ subscription_oca/__manifest__.py | 2 +- subscription_oca/i18n/subscription_oca.pot | 2 +- subscription_oca/static/description/index.html | 6 +++--- subscription_oca/tests/test_subscription_oca.py | 4 ++-- 7 files changed, 20 insertions(+), 13 deletions(-) create mode 120000 setup/subscription_oca/odoo/addons/subscription_oca create mode 100644 setup/subscription_oca/setup.py diff --git a/setup/subscription_oca/odoo/addons/subscription_oca b/setup/subscription_oca/odoo/addons/subscription_oca new file mode 120000 index 000000000..55d96c3d7 --- /dev/null +++ b/setup/subscription_oca/odoo/addons/subscription_oca @@ -0,0 +1 @@ +../../../../subscription_oca \ No newline at end of file diff --git a/setup/subscription_oca/setup.py b/setup/subscription_oca/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/subscription_oca/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/subscription_oca/README.rst b/subscription_oca/README.rst index f8a70688f..45ce6eb3f 100644 --- a/subscription_oca/README.rst +++ b/subscription_oca/README.rst @@ -2,7 +2,7 @@ Subscription management ======================= -.. +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! @@ -17,13 +17,13 @@ Subscription management :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/15.0/subscription_oca + :target: https://github.com/OCA/contract/tree/14.0/subscription_oca :alt: OCA/contract .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-subscription_oca + :target: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-subscription_oca :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/contract&target_branch=15.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/contract&target_branch=14.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -64,7 +64,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 to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -99,6 +99,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/subscription_oca/__manifest__.py b/subscription_oca/__manifest__.py index fe221adda..d28042da5 100644 --- a/subscription_oca/__manifest__.py +++ b/subscription_oca/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Subscription management", "summary": "Generate recurring invoices.", - "version": "15.0.1.0.1", + "version": "14.0.1.0.0", "development_status": "Beta", "category": "Subscription Management", "website": "https://github.com/OCA/contract", diff --git a/subscription_oca/i18n/subscription_oca.pot b/subscription_oca/i18n/subscription_oca.pot index 60a026204..95d284dfb 100644 --- a/subscription_oca/i18n/subscription_oca.pot +++ b/subscription_oca/i18n/subscription_oca.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 15.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" diff --git a/subscription_oca/static/description/index.html b/subscription_oca/static/description/index.html index da81d249f..a86084dac 100644 --- a/subscription_oca/static/description/index.html +++ b/subscription_oca/static/description/index.html @@ -369,7 +369,7 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:42fc353409c68ca6defc36ba2273b97ae36edb6f629c0c041db1ef7f1e01ba00 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

This module allows creating subscriptions that generate recurring invoices or orders. It also enables the sale of products that generate subscriptions.

Table of contents

@@ -414,7 +414,7 @@ ul.auto-toc {

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 to smash it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -442,7 +442,7 @@ If you spotted it first, help us to smash 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/subscription_oca/tests/test_subscription_oca.py b/subscription_oca/tests/test_subscription_oca.py index 65f3b75d3..d02254072 100644 --- a/subscription_oca/tests/test_subscription_oca.py +++ b/subscription_oca/tests/test_subscription_oca.py @@ -4,10 +4,10 @@ from dateutil.relativedelta import relativedelta from odoo import fields -from odoo.tests import TransactionCase +from odoo.tests import SavepointCase -class TestSubscriptionOCA(TransactionCase): +class TestSubscriptionOCA(SavepointCase): @classmethod def setUpClass(cls): super().setUpClass()