diff --git a/document_page_tag/README.rst b/document_page_tag/README.rst
index af566f98..c2b53028 100644
--- a/document_page_tag/README.rst
+++ b/document_page_tag/README.rst
@@ -14,13 +14,13 @@ Document Page Tag
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github
- :target: https://github.com/OCA/knowledge/tree/12.0/document_page_tag
+ :target: https://github.com/OCA/knowledge/tree/13.0/document_page_tag
:alt: OCA/knowledge
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/knowledge-12-0/knowledge-12-0-document_page_tag
+ :target: https://translation.odoo-community.org/projects/knowledge-13-0/knowledge-13-0-document_page_tag
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
- :target: https://runbot.odoo-community.org/runbot/118/12.0
+ :target: https://runbot.odoo-community.org/runbot/118/13.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -55,7 +55,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.
@@ -72,6 +72,7 @@ Contributors
* Holger Brunn
* Marcel Savegnago
+* Manuel Regidor
Maintainers
~~~~~~~~~~~
@@ -86,6 +87,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/knowledge `_ project on GitHub.
+This module is part of the `OCA/knowledge `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/document_page_tag/__manifest__.py b/document_page_tag/__manifest__.py
index 10c9c1f6..0510a81a 100644
--- a/document_page_tag/__manifest__.py
+++ b/document_page_tag/__manifest__.py
@@ -2,14 +2,14 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Document Page Tag",
- "version": "12.0.1.0.0",
+ "version": "13.0.1.0.0",
"author": "Therp BV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/knowledge",
"license": "AGPL-3",
"category": "Knowledge Management",
"summary": "Allows you to assign tags or keywords to pages and search for "
"them afterwards",
- "depends": ["document_page",],
+ "depends": ["document_page"],
"data": [
"views/document_page_tag.xml",
"views/document_page.xml",
diff --git a/document_page_tag/i18n/document_page_tag.pot b/document_page_tag/i18n/document_page_tag.pot
index 99139350..31a92257 100644
--- a/document_page_tag/i18n/document_page_tag.pot
+++ b/document_page_tag/i18n/document_page_tag.pot
@@ -1,12 +1,12 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
-# * document_page_tag
+# * document_page_tag
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 12.0\n"
+"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
-"Last-Translator: <>\n"
+"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -24,6 +24,7 @@ msgid "Active"
msgstr ""
#. module: document_page_tag
+#: model_terms:ir.ui.view,arch_db:document_page_tag.view_document_page_tag_form
#: model_terms:ir.ui.view,arch_db:document_page_tag.view_document_page_tag_search
msgid "Archived"
msgstr ""
@@ -105,7 +106,6 @@ msgid "Tags"
msgstr ""
#. module: document_page_tag
-#: sql_constraint:document.page.tag:0
+#: model:ir.model.constraint,message:document_page_tag.constraint_document_page_tag_unique_name
msgid "Tags must me unique"
msgstr ""
-
diff --git a/document_page_tag/readme/CONTRIBUTORS.rst b/document_page_tag/readme/CONTRIBUTORS.rst
index 665c3d97..352d8eb9 100644
--- a/document_page_tag/readme/CONTRIBUTORS.rst
+++ b/document_page_tag/readme/CONTRIBUTORS.rst
@@ -1,2 +1,3 @@
* Holger Brunn
* Marcel Savegnago
+* Manuel Regidor
diff --git a/document_page_tag/static/description/index.html b/document_page_tag/static/description/index.html
index f01a6c2f..c449b79d 100644
--- a/document_page_tag/static/description/index.html
+++ b/document_page_tag/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 you to fill in keywords on your pages to simplify finding
them afterwards.
Table of contents
@@ -403,7 +403,7 @@ choose searching for keywords.
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.
@@ -419,6 +419,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
@@ -428,7 +429,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/knowledge project on GitHub.
+
This module is part of the OCA/knowledge project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/document_page_tag/tests/test_document_page_tag.py b/document_page_tag/tests/test_document_page_tag.py
index 34e10a67..6c95ecff 100644
--- a/document_page_tag/tests/test_document_page_tag.py
+++ b/document_page_tag/tests/test_document_page_tag.py
@@ -16,5 +16,6 @@ class TestDocumentPageTag(TransactionCase):
# check we can't create nonunique tags
with self.assertRaises(IntegrityError):
with mute_logger("odoo.sql_db"):
- testtag2 = self.env["document.page.tag"].create({"name": "test2",})
+ testtag2 = self.env["document.page.tag"].create({"name": "test2"})
testtag2.write({"name": "test"})
+ testtag2.flush()
diff --git a/document_page_tag/views/document_page_tag.xml b/document_page_tag/views/document_page_tag.xml
index 936fdb01..58536cc2 100644
--- a/document_page_tag/views/document_page_tag.xml
+++ b/document_page_tag/views/document_page_tag.xml
@@ -22,20 +22,15 @@