Skip to content

Commit

Permalink
[MIG] document_page_procedure: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
natuan9 committed Dec 2, 2024
1 parent f7f0fd3 commit 8f09173
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 49 deletions.
47 changes: 25 additions & 22 deletions document_page_procedure/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,22 @@ Document Management - Wiki - Procedures
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanagement--system-lightgray.png?logo=github
:target: https://github.com/OCA/management-system/tree/17.0/document_page_procedure
:target: https://github.com/OCA/management-system/tree/18.0/document_page_procedure
:alt: OCA/management-system
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/management-system-17-0/management-system-17-0-document_page_procedure
:target: https://translation.odoo-community.org/projects/management-system-18-0/management-system-18-0-document_page_procedure
: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/management-system&target_branch=17.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/management-system&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module provides a Procedure Template. If mgmtsystem_manual will be
installed you can change initial template.
This module provides a Procedure template.

- Go to Management Systems > Documentation > Procedures
- Create a new Procedure
- Fill in the title and the content

**Table of contents**

Expand All @@ -39,20 +42,19 @@ installed you can change initial template.
Configuration
=============

To be able configure your template of procedures, you need to install
mgmtsystem_manual:
To configure your template of procedures:

- go to Management Systems > Configuration > Categories
- select the Procedure category
- customize the template
- Go to Knowledge > Pages > Categories
- Select the Procedure category
- Customize the content

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/management-system/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 <https://github.com/OCA/management-system/issues/new?body=module:%20document_page_procedure%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/management-system/issues/new?body=module:%20document_page_procedure%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Expand All @@ -67,25 +69,26 @@ Authors
Contributors
------------

- Savoir-faire Linux <support@savoirfairelinux.com>
- Gervais Naoussi <gervaisnaoussi@gmail.com>
- Eugen Don <eugen.don@don-systems.de>
- Jose Maria Alzaga <jose.alzaga@aselcis.com>
- `Tecnativa <https://www.tecnativa.com>`__:
- Savoir-faire Linux <support@savoirfairelinux.com>
- Gervais Naoussi <gervaisnaoussi@gmail.com>
- Eugen Don <eugen.don@don-systems.de>
- Jose Maria Alzaga <jose.alzaga@aselcis.com>
- `Tecnativa <https://www.tecnativa.com>`__:

- Ernesto Tejeda
- Ernesto Tejeda

Trobz

- Dung Tran <dungtd@trobz.com>
- Yvan Dotet <yvan.dotet@logicasoft.eu>
- Dung Tran <dungtd@trobz.com>
- Yvan Dotet <yvan.dotet@logicasoft.eu>
- Tuan Nguyen <tuanna@trobz.com>

Other credits
-------------

The development of this module has been financially supported by:
The migration of this module has been financially supported by:

- Camptocamp
- Camptocamp

Maintainers
-----------
Expand All @@ -100,6 +103,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/management-system <https://github.com/OCA/management-system/tree/17.0/document_page_procedure>`_ project on GitHub.
This module is part of the `OCA/management-system <https://github.com/OCA/management-system/tree/18.0/document_page_procedure>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 1 addition & 1 deletion document_page_procedure/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Document Management - Wiki - Procedures",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"author": "Savoir-faire Linux, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/management-system",
"license": "AGPL-3",
Expand Down
10 changes: 4 additions & 6 deletions document_page_procedure/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
To be able configure your template of procedures, you need to install
mgmtsystem_manual:

- go to Management Systems \> Configuration \> Categories
- select the Procedure category
- customize the template
To configure your template of procedures:
- Go to Knowledge \> Pages \> Categories
- Select the Procedure category
- Customize the content
1 change: 1 addition & 0 deletions document_page_procedure/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ Trobz

- Dung Tran \<<dungtd@trobz.com>\>
- Yvan Dotet \<<yvan.dotet@logicasoft.eu>\>
- Tuan Nguyen \<<tuanna@trobz.com>\>
2 changes: 1 addition & 1 deletion document_page_procedure/readme/CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
The development of this module has been financially supported by:
The migration of this module has been financially supported by:

- Camptocamp
6 changes: 4 additions & 2 deletions document_page_procedure/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
This module provides a Procedure Template. If mgmtsystem_manual will be
installed you can change initial template.
This module provides a Procedure template.
- Go to Management Systems \> Documentation \> Procedures
- Create a new Procedure
- Fill in the title and the content
37 changes: 22 additions & 15 deletions document_page_procedure/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@

/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
Expand Down Expand Up @@ -274,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }

pre.code .ln { color: grey; } /* line numbers */
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
Expand All @@ -300,7 +301,7 @@
span.pre {
white-space: pre }

span.problematic {
span.problematic, pre.problematic {
color: red }

span.section-subtitle {
Expand Down Expand Up @@ -368,9 +369,13 @@ <h1 class="title">Document Management - Wiki - Procedures</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0c824ca06c10b367a34e2b2984df8bd5659bc8b14ea054955ede5ac7f0ea03ef
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" 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 image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/management-system/tree/17.0/document_page_procedure"><img alt="OCA/management-system" src="https://img.shields.io/badge/github-OCA%2Fmanagement--system-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/management-system-17-0/management-system-17-0-document_page_procedure"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/management-system&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module provides a Procedure Template. If mgmtsystem_manual will be
installed you can change initial template.</p>
<p><a class="reference external image-reference" 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 image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/management-system/tree/18.0/document_page_procedure"><img alt="OCA/management-system" src="https://img.shields.io/badge/github-OCA%2Fmanagement--system-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/management-system-18-0/management-system-18-0-document_page_procedure"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/management-system&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module provides a Procedure template.</p>
<ul class="simple">
<li>Go to Management Systems &gt; Documentation &gt; Procedures</li>
<li>Create a new Procedure</li>
<li>Fill in the title and the content</li>
</ul>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -387,20 +392,19 @@ <h1 class="title">Document Management - Wiki - Procedures</h1>
</div>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<p>To be able configure your template of procedures, you need to install
mgmtsystem_manual:</p>
<p>To configure your template of procedures:</p>
<ul class="simple">
<li>go to Management Systems &gt; Configuration &gt; Categories</li>
<li>select the Procedure category</li>
<li>customize the template</li>
<li>Go to Knowledge &gt; Pages &gt; Categories</li>
<li>Select the Procedure category</li>
<li>Customize the content</li>
</ul>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/management-system/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/management-system/issues/new?body=module:%20document_page_procedure%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/management-system/issues/new?body=module:%20document_page_procedure%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand All @@ -427,23 +431,26 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<ul class="simple">
<li>Dung Tran &lt;<a class="reference external" href="mailto:dungtd&#64;trobz.com">dungtd&#64;trobz.com</a>&gt;</li>
<li>Yvan Dotet &lt;<a class="reference external" href="mailto:yvan.dotet&#64;logicasoft.eu">yvan.dotet&#64;logicasoft.eu</a>&gt;</li>
<li>Tuan Nguyen &lt;<a class="reference external" href="mailto:tuanna&#64;trobz.com">tuanna&#64;trobz.com</a>&gt;</li>
</ul>
</div>
<div class="section" id="other-credits">
<h2><a class="toc-backref" href="#toc-entry-6">Other credits</a></h2>
<p>The development of this module has been financially supported by:</p>
<p>The migration of this module has been financially supported by:</p>
<ul class="simple">
<li>Camptocamp</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/management-system/tree/17.0/document_page_procedure">OCA/management-system</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/management-system/tree/18.0/document_page_procedure">OCA/management-system</a> project on GitHub.</p>
<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>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions document_page_procedure/views/document_page_procedure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<record model="ir.actions.act_window" id="action_procedures">
<field name="name">Procedures</field>
<field name="res_model">document.page</field>
<field name="view_mode">tree,form</field>
<field name="view_mode">list,form</field>
<field name="help">Procedures of your management system.</field>
<field
name="domain"
Expand All @@ -16,7 +16,7 @@
</record>
<record id="action_procedures_tree" model="ir.actions.act_window.view">
<field name="sequence" eval="0" />
<field name="view_mode">tree</field>
<field name="view_mode">list</field>
<field name="view_id" ref="document_page.view_wiki_tree" />
<field name="act_window_id" ref="action_procedures" />
</record>
Expand Down

0 comments on commit 8f09173

Please sign in to comment.