Skip to content

Commit 3db0108

Browse files
committed
[MIG] base_rest_datamodel: Migration to 15.0
1 parent e6ff50c commit 3db0108

File tree

8 files changed

+19
-13
lines changed

8 files changed

+19
-13
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ exclude: |
44
^base_rest_auth_api_key/|
55
^base_rest_auth_jwt/|
66
^base_rest_auth_user_service/|
7-
^base_rest_datamodel/|
87
^base_rest_demo/|
98
^graphql_base/|
109
^graphql_demo/|

base_rest_datamodel/README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ Base Rest Datamodel
1414
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1515
:alt: License: LGPL-3
1616
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frest--framework-lightgray.png?logo=github
17-
:target: https://github.com/OCA/rest-framework/tree/14.0/base_rest_datamodel
17+
:target: https://github.com/OCA/rest-framework/tree/15.0/base_rest_datamodel
1818
:alt: OCA/rest-framework
1919
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20-
:target: https://translation.odoo-community.org/projects/rest-framework-14-0/rest-framework-14-0-base_rest_datamodel
20+
:target: https://translation.odoo-community.org/projects/rest-framework-15-0/rest-framework-15-0-base_rest_datamodel
2121
:alt: Translate me on Weblate
2222
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23-
:target: https://runbot.odoo-community.org/runbot/271/14.0
23+
:target: https://runbot.odoo-community.org/runbot/271/15.0
2424
:alt: Try me on Runbot
2525

2626
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -80,7 +80,7 @@ Bug Tracker
8080
Bugs are tracked on `GitHub Issues <https://github.com/OCA/rest-framework/issues>`_.
8181
In case of trouble, please check there if your issue has already been reported.
8282
If you spotted it first, help us smashing it by providing a detailed and welcomed
83-
`feedback <https://github.com/OCA/rest-framework/issues/new?body=module:%20base_rest_datamodel%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
83+
`feedback <https://github.com/OCA/rest-framework/issues/new?body=module:%20base_rest_datamodel%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
8484

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

@@ -110,6 +110,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
110110
mission is to support the collaborative development of Odoo features and
111111
promote its widespread use.
112112

113-
This module is part of the `OCA/rest-framework <https://github.com/OCA/rest-framework/tree/14.0/base_rest_datamodel>`_ project on GitHub.
113+
This module is part of the `OCA/rest-framework <https://github.com/OCA/rest-framework/tree/15.0/base_rest_datamodel>`_ project on GitHub.
114114

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

base_rest_datamodel/__manifest__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"name": "Base Rest Datamodel",
66
"summary": """
77
Datamodel binding for base_rest""",
8-
"version": "14.0.4.1.0",
8+
"version": "15.0.1.0.0",
99
"license": "LGPL-3",
1010
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
1111
"website": "https://github.com/OCA/rest-framework",
1212
"depends": ["base_rest", "datamodel"],
1313
"data": [],
1414
"demo": [],
1515
"external_dependencies": {"python": ["apispec", "marshmallow"]},
16-
"installable": False,
16+
"installable": True,
1717
}

base_rest_datamodel/i18n/base_rest_datamodel.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
msgid ""
66
msgstr ""
7-
"Project-Id-Version: Odoo Server 14.0\n"
7+
"Project-Id-Version: Odoo Server 15.0\n"
88
"Report-Msgid-Bugs-To: \n"
99
"Last-Translator: \n"
1010
"Language-Team: \n"

base_rest_datamodel/restapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright 2020 ACSONE SA/NV
22
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
3-
3+
# flake8: noqa
44
import marshmallow
55
from apispec.ext.marshmallow.openapi import OpenAPIConverter
66
from marshmallow.exceptions import ValidationError

base_rest_datamodel/static/description/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ <h1 class="title">Base Rest Datamodel</h1>
367367
!! This file is generated by oca-gen-addon-readme !!
368368
!! changes will be overwritten. !!
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
370-
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/rest-framework/tree/14.0/base_rest_datamodel"><img alt="OCA/rest-framework" src="https://img.shields.io/badge/github-OCA%2Frest--framework-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/rest-framework-14-0/rest-framework-14-0-base_rest_datamodel"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/271/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
370+
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/rest-framework/tree/15.0/base_rest_datamodel"><img alt="OCA/rest-framework" src="https://img.shields.io/badge/github-OCA%2Frest--framework-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/rest-framework-15-0/rest-framework-15-0-base_rest_datamodel"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/271/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
371371
<p>This addon allows you to use DataModel objects as params and/or response with your
372372
REST API methods.</p>
373373
<p><strong>Table of contents</strong></p>
@@ -427,7 +427,7 @@ <h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>
427427
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/rest-framework/issues">GitHub Issues</a>.
428428
In case of trouble, please check there if your issue has already been reported.
429429
If you spotted it first, help us smashing it by providing a detailed and welcomed
430-
<a class="reference external" href="https://github.com/OCA/rest-framework/issues/new?body=module:%20base_rest_datamodel%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
430+
<a class="reference external" href="https://github.com/OCA/rest-framework/issues/new?body=module:%20base_rest_datamodel%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
431431
<p>Do not contact contributors directly about support or help with technical issues.</p>
432432
</div>
433433
<div class="section" id="credits">
@@ -451,7 +451,7 @@ <h2><a class="toc-backref" href="#id6">Maintainers</a></h2>
451451
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
452452
mission is to support the collaborative development of Odoo features and
453453
promote its widespread use.</p>
454-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/rest-framework/tree/14.0/base_rest_datamodel">OCA/rest-framework</a> project on GitHub.</p>
454+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/rest-framework/tree/15.0/base_rest_datamodel">OCA/rest-framework</a> project on GitHub.</p>
455455
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
456456
</div>
457457
</div>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../base_rest_datamodel

setup/base_rest_datamodel/setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import setuptools
2+
3+
setuptools.setup(
4+
setup_requires=['setuptools-odoo'],
5+
odoo_addon=True,
6+
)

0 commit comments

Comments
 (0)