diff --git a/document_page_project/README.rst b/document_page_project/README.rst index a3677df7..7387e2a3 100644 --- a/document_page_project/README.rst +++ b/document_page_project/README.rst @@ -7,20 +7,20 @@ Document Page Project !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png :target: https://odoo-community.org/page/development-status - :alt: Beta + :alt: Production/Stable .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :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_project + :target: https://github.com/OCA/knowledge/tree/13.0/document_page_project :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_project + :target: https://translation.odoo-community.org/projects/knowledge-13-0/knowledge-13-0-document_page_project :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| @@ -44,7 +44,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. @@ -54,14 +54,14 @@ Credits Authors ~~~~~~~ -* Eficent +* ForgeFlow Contributors ~~~~~~~~~~~~ -* `Eficent `_: +* `Forgeflow `_: - * Lois Rilo + * Lois Rilo Maintainers ~~~~~~~~~~~ @@ -76,6 +76,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_project/__manifest__.py b/document_page_project/__manifest__.py index a98ea9a9..56f4b8ed 100644 --- a/document_page_project/__manifest__.py +++ b/document_page_project/__manifest__.py @@ -1,14 +1,13 @@ -# Copyright 2019 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) - Lois Rilo +# Copyright 2019 ForgeFlow S.L. (https://www.forgeflow.com) - Lois Rilo # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Document Page Project", "summary": "This module links document pages to projects", - "version": "12.0.1.0.0", - "development_status": "Beta", + "version": "13.0.1.0.1", + "development_status": "Production/Stable", "category": "Project", - "author": "Eficent, " "Odoo Community Association (OCA)", + "author": "ForgeFlow, Odoo Community Association (OCA)", "website": "https://github.com/OCA/knowledge", "license": "AGPL-3", "depends": ["project", "document_page"], diff --git a/document_page_project/i18n/document_page_project.pot b/document_page_project/i18n/document_page_project.pot index acaa8891..2d9a91e6 100644 --- a/document_page_project/i18n/document_page_project.pot +++ b/document_page_project/i18n/document_page_project.pot @@ -1,12 +1,12 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * document_page_project +# * document_page_project # 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" @@ -53,4 +53,3 @@ msgstr "" #: model_terms:ir.ui.view,arch_db:document_page_project.edit_project msgid "Wiki Pages" msgstr "" - diff --git a/document_page_project/models/document_page.py b/document_page_project/models/document_page.py index 0509b1a7..f819bb75 100644 --- a/document_page_project/models/document_page.py +++ b/document_page_project/models/document_page.py @@ -1,5 +1,4 @@ -# Copyright 2019 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) +# Copyright 2019 ForgeFlow S.L. (https://www.forgeflow.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import fields, models diff --git a/document_page_project/models/project_project.py b/document_page_project/models/project_project.py index a5d3a53b..259fdf5d 100644 --- a/document_page_project/models/project_project.py +++ b/document_page_project/models/project_project.py @@ -1,8 +1,7 @@ -# Copyright 2019 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) +# Copyright 2019 ForgeFlow S.L. (https://www.forgeflow.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -from odoo import api, fields, models +from odoo import fields, models class ProjectProject(models.Model): @@ -13,7 +12,6 @@ class ProjectProject(models.Model): ) document_page_count = fields.Integer(compute="_compute_document_page_count") - @api.multi def _compute_document_page_count(self): for rec in self: rec.document_page_count = len(rec.document_page_ids) diff --git a/document_page_project/readme/CONTRIBUTORS.rst b/document_page_project/readme/CONTRIBUTORS.rst index edfe8468..a17f4de9 100644 --- a/document_page_project/readme/CONTRIBUTORS.rst +++ b/document_page_project/readme/CONTRIBUTORS.rst @@ -1,3 +1,3 @@ -* `Eficent `_: +* `Forgeflow `_: - * Lois Rilo + * Lois Rilo diff --git a/document_page_project/static/description/index.html b/document_page_project/static/description/index.html index 6db9bcf6..1115549e 100644 --- a/document_page_project/static/description/index.html +++ b/document_page_project/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/knowledge Translate me on Weblate Try me on Runbot

+

Production/Stable License: AGPL-3 OCA/knowledge Translate me on Weblate Try me on Runbot

This module allow to link document pages to projects.

Table of contents

@@ -394,7 +394,7 @@ create new ones.

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.

@@ -402,14 +402,14 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

Authors

    -
  • Eficent
  • +
  • ForgeFlow

Contributors

diff --git a/document_page_project/views/document_page_views.xml b/document_page_project/views/document_page_views.xml index 19d0d23f..ad1be2d2 100644 --- a/document_page_project/views/document_page_views.xml +++ b/document_page_project/views/document_page_views.xml @@ -1,35 +1,36 @@ - + - document.page.form - document_page_project document.page - + - + - Project Wiki document.page - [('type','=','content'), ('project_id', '=', active_id)] + [('type','=','content'), ('project_id', '=', active_id)] { 'default_type': 'content', 'default_project_id': active_id} - form tree,form - - + (0,0,{'view_mode':'form', 'view_id': ref('document_page.view_wiki_form')})]" + /> +

Click to create a new web page.

-
diff --git a/document_page_project/views/project_project_views.xml b/document_page_project/views/project_project_views.xml index 9bbb9337..7b68782f 100644 --- a/document_page_project/views/project_project_views.xml +++ b/document_page_project/views/project_project_views.xml @@ -1,15 +1,22 @@ - + - project.project - + - +
- + Wiki Pages
@@ -17,19 +24,25 @@
- project.project.form - document_page_project project.project - +
-
-