Skip to content

Commit

Permalink
[MIG] mgmtsystem_review: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
natuan9 committed Nov 20, 2024
1 parent 0c1a0f1 commit 9566329
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 70 deletions.
62 changes: 35 additions & 27 deletions mgmtsystem_review/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ Management System - Review
: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/mgmtsystem_review
:target: https://github.com/OCA/management-system/tree/18.0/mgmtsystem_review
: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-mgmtsystem_review
:target: https://translation.odoo-community.org/projects/management-system-18-0/management-system-18-0-mgmtsystem_review
: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|
Expand All @@ -41,21 +41,21 @@ Usage

To use this module, you need to:

- go to Management Systems / Reviews
- create a new review with the date, the persons, the policies of your
systems, the KPI and survey results
- Discuss each problems and log your decision in the review lines with
an action or nonconformity
- Conclude your review with the date of the next one and save it
- Print the report
- go to Management Systems / Reviews
- create a new review with the date, the persons, the policies of your
systems, the KPI and survey results
- Discuss each problems and log your decision in the review lines with
an action or nonconformity
- Conclude your review with the date of the next one and save it
- Print the report

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:%20mgmtsystem_review%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:%20mgmtsystem_review%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 @@ -70,28 +70,36 @@ Authors
Contributors
------------

- Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>
- Loïc Faure-Lacroix <loic.lacroix@savoirfairelinux.com>
- Gervais Naoussi <gervaisnaoussi@gmail.com>
- Luk Vermeylen <luk@allmas-it.be>
- Eugen Don <eugen.don@don-systems.de>
- Jose Maria Alzaga <jose.alzaga@aselcis.com>
- Julien Coux <julien.coux@camptocamp.com>
- `Tecnativa <https://www.tecnativa.com>`__:
- Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>

- Ernesto Tejeda
- Loïc Faure-Lacroix <loic.lacroix@savoirfairelinux.com>

Trobz
- Gervais Naoussi <gervaisnaoussi@gmail.com>

- Dung Tran <dungtd@trobz.com>
- Yvan Dotet <yvan.dotet@logicasoft.eu>
- Luk Vermeylen <luk@allmas-it.be>

- Eugen Don <eugen.don@don-systems.de>

- Jose Maria Alzaga <jose.alzaga@aselcis.com>

- Julien Coux <julien.coux@camptocamp.com>

- `Tecnativa <https://www.tecnativa.com>`__:

- Ernesto Tejeda

- Yvan Dotet <yvan.dotet@logicasoft.eu>

- [Trobz] (https://trobz.com/):

- Dung Tran <dungtd@trobz.com>
- Tuan Nguyen <tuanna@trobz.com>

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

The development of this module has been financially supported by:

- Camptocamp
The migration of this module from 17.0 to 18.0 was financially supported
by Camptocamp.

Maintainers
-----------
Expand All @@ -106,6 +114,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/mgmtsystem_review>`_ project on GitHub.
This module is part of the `OCA/management-system <https://github.com/OCA/management-system/tree/18.0/mgmtsystem_review>`_ 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 mgmtsystem_review/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Management System - Review",
"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
8 changes: 4 additions & 4 deletions mgmtsystem_review/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
- Julien Coux \<<julien.coux@camptocamp.com>\>
- [Tecnativa](https://www.tecnativa.com):
- Ernesto Tejeda

Trobz

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

- [Trobz] (https://trobz.com/):
- Dung Tran \<<dungtd@trobz.com>\>
- Tuan Nguyen \<<tuanna@trobz.com>\>
4 changes: 1 addition & 3 deletions mgmtsystem_review/readme/CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
The development of this module has been financially supported by:

- Camptocamp
The migration of this module from 17.0 to 18.0 was financially supported by Camptocamp.
21 changes: 10 additions & 11 deletions mgmtsystem_review/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ <h1 class="title">Management System - Review</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:96b087d09286d648e4494f1ab0117413c8b44bc192fba98f89f0e6a7b8d551eb
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/mgmtsystem_review"><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-mgmtsystem_review"><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><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/mgmtsystem_review"><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-mgmtsystem_review"><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 was written to help you manage the top management reviews of
your systems.</p>
<p><strong>Table of contents</strong></p>
Expand Down Expand Up @@ -404,7 +404,7 @@ <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:%20mgmtsystem_review%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:%20mgmtsystem_review%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 @@ -429,19 +429,18 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<li>Ernesto Tejeda</li>
</ul>
</li>
</ul>
<p>Trobz</p>
<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>[Trobz] (<a class="reference external" href="https://trobz.com/">https://trobz.com/</a>):<ul>
<li>Dung Tran &lt;<a class="reference external" href="mailto:dungtd&#64;trobz.com">dungtd&#64;trobz.com</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>
</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>
<ul class="simple">
<li>Camptocamp</li>
</ul>
<p>The migration of this module from 17.0 to 18.0 was financially supported
by Camptocamp.</p>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
Expand All @@ -452,7 +451,7 @@ <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<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/mgmtsystem_review">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/mgmtsystem_review">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
35 changes: 13 additions & 22 deletions mgmtsystem_review/views/mgmtsystem_review.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,16 @@
<!-- Review Lines -->

<record id="view_mgmtsystem_review_line_tree" model="ir.ui.view">
<field name="name">mgmtsystem.review.line.tree</field>
<field name="name">mgmtsystem.review.line.list</field>
<field name="model">mgmtsystem.review.line</field>
<field name="type">tree</field>
<field name="type">list</field>
<field name="arch" type="xml">
<tree>
<list>
<field name="name" />
<field name="type" />
<field name="action_id" column_invisible="type != 'action'" />
<field
name="nonconformity_id"
column_invisible="type != 'nonconformity'"
/>
<field name="decision" />
<field name="company_id" groups="base.group_multi_company" />
</tree>
</list>
</field>
</record>

Expand Down Expand Up @@ -63,24 +58,24 @@
<record id="open_mgmtsystem_review_line_list" model="ir.actions.act_window">
<field name="name">Review Lines</field>
<field name="res_model">mgmtsystem.review.line</field>
<field name="view_mode">tree,form</field>
<field name="view_mode">list,form</field>
</record>

<!-- Reviews -->

<record id="view_mgmtsystem_review_tree" model="ir.ui.view">
<field name="name">mgmtsystem.review.tree</field>
<field name="name">mgmtsystem.review.list</field>
<field name="model">mgmtsystem.review</field>
<field name="type">tree</field>
<field name="type">list</field>
<field name="arch" type="xml">
<tree>
<list>
<field name="name" readonly="state == 'done'" />
<field name="date" readonly="state == 'done'" />
<field name="reference" readonly="1" />
<field name="company_id" groups="base.group_multi_company" />
<!-- Invisible fields below are to allow their use in domains of this view -->
<field name="state" readonly="1" column_invisible="1" />
</tree>
</list>
</field>
</record>

Expand Down Expand Up @@ -182,7 +177,7 @@
nolabel="1"
readonly="state == 'done'"
>
<tree create="true">
<list create="true">
<field name="survey_id" />
<field name="create_date" />
<field name="deadline" />
Expand All @@ -194,7 +189,7 @@
name="scoring_percentage"
groups="base.group_no_one"
/>
</tree>
</list>
</field>
</page>
<page string="Lines">
Expand All @@ -213,11 +208,7 @@
</page>
</notebook>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers" />
<field name="activity_ids" widget="mail_activity" />
<field name="message_ids" widget="mail_thread" />
</div>
<chatter />
</form>
</field>
</record>
Expand All @@ -238,7 +229,7 @@
<record id="open_mgmtsystem_review_list" model="ir.actions.act_window">
<field name="name">Reviews</field>
<field name="res_model">mgmtsystem.review</field>
<field name="view_mode">tree,form,calendar</field>
<field name="view_mode">list,form,calendar</field>
<field name="view_id" ref="view_mgmtsystem_review_tree" />
<field name="search_view_id" ref="view_mgmtsystem_review_filter" />
<field name="context">{"search_default_current":1}</field>
Expand Down
4 changes: 2 additions & 2 deletions mgmtsystem_review/views/res_users.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
>mgmtsystem.review.res.users.x2m.form (in mgmtsystem_review)</field>
<field name="model">res.users</field>
<field name="arch" type="xml">
<tree create="1" delete="1">
<list create="1" delete="1">
<field name="name" />
<field name="login" />
<field name="lang" />
<field name="login_date" />
</tree>
</list>
</field>
</record>
</odoo>

0 comments on commit 9566329

Please sign in to comment.