From 96573fb752b7af22d71493712e677298f170ea84 Mon Sep 17 00:00:00 2001
From: Joan Mateu Jordi
Date: Tue, 25 Jan 2022 09:53:36 +0100
Subject: [PATCH] [15.0][MIG] contract_sale: Migration to 15.0
---
contract_sale/README.rst | 12 ++++++------
contract_sale/__manifest__.py | 2 +-
contract_sale/i18n/contract_sale.pot | 2 +-
contract_sale/readme/CONTRIBUTORS.rst | 2 +-
contract_sale/static/description/index.html | 8 ++++----
contract_sale/tests/test_sale_contract.py | 5 +++--
6 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/contract_sale/README.rst b/contract_sale/README.rst
index c91844c28..902950a46 100644
--- a/contract_sale/README.rst
+++ b/contract_sale/README.rst
@@ -14,13 +14,13 @@ Contract from Sale
: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/14.0/contract_sale
+ :target: https://github.com/OCA/contract/tree/15.0/contract_sale
:alt: OCA/contract
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract_sale
+ :target: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract_sale
: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/14.0
+ :target: https://runbot.odoo-community.org/runbot/110/15.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.
@@ -73,7 +73,7 @@ Contributors
* Levent Karakaş
* Bejaoui Souheil
* Dhara Solanki
-* Joan Mateu
+* Joan Mateu
Maintainers
~~~~~~~~~~~
@@ -88,6 +88,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_sale/__manifest__.py b/contract_sale/__manifest__.py
index f817edd7b..6c18768fe 100644
--- a/contract_sale/__manifest__.py
+++ b/contract_sale/__manifest__.py
@@ -3,7 +3,7 @@
{
"name": "Contract from Sale",
- "version": "14.0.1.1.1",
+ "version": "15.0.1.0.0",
"category": "Sales",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/contract",
diff --git a/contract_sale/i18n/contract_sale.pot b/contract_sale/i18n/contract_sale.pot
index 4feab12a2..ca483b8c0 100644
--- a/contract_sale/i18n/contract_sale.pot
+++ b/contract_sale/i18n/contract_sale.pot
@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 14.0\n"
+"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
diff --git a/contract_sale/readme/CONTRIBUTORS.rst b/contract_sale/readme/CONTRIBUTORS.rst
index ec69c0662..daba1f437 100644
--- a/contract_sale/readme/CONTRIBUTORS.rst
+++ b/contract_sale/readme/CONTRIBUTORS.rst
@@ -7,4 +7,4 @@
* Levent Karakaş
* Bejaoui Souheil
* Dhara Solanki
-* Joan Mateu
+* Joan Mateu
diff --git a/contract_sale/static/description/index.html b/contract_sale/static/description/index.html
index 4842cdd48..77022eeb9 100644
--- a/contract_sale/static/description/index.html
+++ b/contract_sale/static/description/index.html
@@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

This module allows access to contracts for sale employees without account
permissions.
Employees in sale security group “User: Only Own Documents”, can only access
@@ -398,7 +398,7 @@ contracts created by themselves.
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.
@@ -431,7 +431,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_sale/tests/test_sale_contract.py b/contract_sale/tests/test_sale_contract.py
index 5ecc8bd36..c20d3b298 100644
--- a/contract_sale/tests/test_sale_contract.py
+++ b/contract_sale/tests/test_sale_contract.py
@@ -1,10 +1,11 @@
# Copyright 2022 ForgeFlow - Joan Mateu
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
-from odoo.tests.common import SavepointCase
+
+from odoo.odoo.tests import TransactionCase
-class TestSaleContract(SavepointCase):
+class TestSaleContract(TransactionCase):
@classmethod
def setUpClass(cls):
super(TestSaleContract, cls).setUpClass()