diff --git a/mgmtsystem_nonconformity_hr/README.rst b/mgmtsystem_nonconformity_hr/README.rst index 888189df398c..26543fdd7ef9 100644 --- a/mgmtsystem_nonconformity_hr/README.rst +++ b/mgmtsystem_nonconformity_hr/README.rst @@ -14,13 +14,13 @@ Management System - Nonconformity HR :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/11.0/mgmtsystem_nonconformity_hr + :target: https://github.com/OCA/management-system/tree/13.0/mgmtsystem_nonconformity_hr :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-11-0/management-system-11-0-mgmtsystem_nonconformity_hr + :target: https://translation.odoo-community.org/projects/management-system-13-0/management-system-13-0-mgmtsystem_nonconformity_hr :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/128/11.0 + :target: https://runbot.odoo-community.org/runbot/128/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -61,7 +61,7 @@ NC Department Changelog ========= -11.0.1.0.0 (2019-04-01) +13.0.1.0.0 (2020-04-01) ~~~~~~~~~~~~~~~~~~~~~~~ * [INI] Initial development @@ -72,7 +72,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. @@ -103,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 `_ project on GitHub. +This module is part of the `OCA/management-system `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/mgmtsystem_nonconformity_hr/__init__.py b/mgmtsystem_nonconformity_hr/__init__.py index 0792fc131fda..0650744f6bc6 100644 --- a/mgmtsystem_nonconformity_hr/__init__.py +++ b/mgmtsystem_nonconformity_hr/__init__.py @@ -1,4 +1 @@ - -from . import ( - models, -) +from . import models diff --git a/mgmtsystem_nonconformity_hr/__manifest__.py b/mgmtsystem_nonconformity_hr/__manifest__.py index 3a89bcff748b..970d6fcd873b 100644 --- a/mgmtsystem_nonconformity_hr/__manifest__.py +++ b/mgmtsystem_nonconformity_hr/__manifest__.py @@ -3,24 +3,16 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { - "name": "Management System - Nonconformity HR", - "summary": "Bridge module between hr and mgmsystem and", - "version": "11.0.1.0.0", - - "author": "Associazione PNLUG - Gruppo Odoo, Odoo Community Association (OCA)", - "website": "https://gitlab.com/PNLUG/Odoo/management-system-improvements/tree/" - "11.0/mgmtsystem_extended", - "license": "AGPL-3", - + "name": "Management System - Nonconformity HR", + "summary": "Bridge module between hr and mgmsystem and", + "version": "13.0.1.0.0", + "author": "Associazione PNLUG - Gruppo Odoo, Odoo Community Association (OCA)", + "website": "https://gitlab.com/PNLUG/Odoo", + "license": "AGPL-3", "category": "Management System", - "depends": [ - 'hr', - 'mgmtsystem_nonconformity', - ], - "data": [ - 'views/mgmtsystem_nonconformity_views.xml', - ], - 'application': False, - 'installable': True, - 'auto_install': True, + "depends": ["hr", "mgmtsystem_nonconformity"], + "data": ["views/mgmtsystem_nonconformity_views.xml"], + "application": False, + "installable": True, + "auto_install": True, } diff --git a/mgmtsystem_nonconformity_hr/models/__init__.py b/mgmtsystem_nonconformity_hr/models/__init__.py index cfbac6c09f8e..321ab30b4e59 100644 --- a/mgmtsystem_nonconformity_hr/models/__init__.py +++ b/mgmtsystem_nonconformity_hr/models/__init__.py @@ -1,2 +1 @@ - from . import mgmtsystem_nonconformity_hr diff --git a/mgmtsystem_nonconformity_hr/models/mgmtsystem_nonconformity_hr.py b/mgmtsystem_nonconformity_hr/models/mgmtsystem_nonconformity_hr.py index 318ced6df745..857bc1e448d0 100644 --- a/mgmtsystem_nonconformity_hr/models/mgmtsystem_nonconformity_hr.py +++ b/mgmtsystem_nonconformity_hr/models/mgmtsystem_nonconformity_hr.py @@ -10,8 +10,8 @@ class MgmtsystemMgmHR(models.Model): Extend nonconformity adding fields for department """ - _inherit = ['mgmtsystem.nonconformity'] + _inherit = ["mgmtsystem.nonconformity"] # new fields # department reference - department_id = fields.Many2one('hr.department', 'Department') + department_id = fields.Many2one("hr.department", "Department") diff --git a/mgmtsystem_nonconformity_hr/readme/HISTORY.rst b/mgmtsystem_nonconformity_hr/readme/HISTORY.rst index d8e256b7aa99..4d8e6c1ad15a 100644 --- a/mgmtsystem_nonconformity_hr/readme/HISTORY.rst +++ b/mgmtsystem_nonconformity_hr/readme/HISTORY.rst @@ -1,4 +1,4 @@ -11.0.1.0.0 (2019-04-01) +13.0.1.0.0 (2020-04-01) ~~~~~~~~~~~~~~~~~~~~~~~ * [INI] Initial development diff --git a/mgmtsystem_nonconformity_hr/static/description/index.html b/mgmtsystem_nonconformity_hr/static/description/index.html index c633a32b6f32..fda0848e31d0 100644 --- a/mgmtsystem_nonconformity_hr/static/description/index.html +++ b/mgmtsystem_nonconformity_hr/static/description/index.html @@ -367,7 +367,7 @@

Management System - Nonconformity HR

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/management-system Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/management-system Translate me on Weblate Try me on Runbot

This is a bridge module between Management System and Human Resource

This module contains some new features for Management System modules.

Nonconformity (NC)

@@ -381,7 +381,7 @@

Management System - Nonconformity HR

  • Configuration
  • Usage
  • Changelog
  • Bug Tracker
  • @@ -414,7 +414,7 @@

    Usage

    Changelog

    -

    11.0.1.0.0 (2019-04-01)

    +

    13.0.1.0.0 (2020-04-01)

    • [INI] Initial development
    @@ -425,7 +425,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.

    @@ -450,7 +450,7 @@

    Maintainers

    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 project on GitHub.

    +

    This module is part of the OCA/management-system project on GitHub.

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

    diff --git a/mgmtsystem_nonconformity_hr/views/mgmtsystem_nonconformity_views.xml b/mgmtsystem_nonconformity_hr/views/mgmtsystem_nonconformity_views.xml index 334b2c3a7fb0..84db17dea6d7 100644 --- a/mgmtsystem_nonconformity_hr/views/mgmtsystem_nonconformity_views.xml +++ b/mgmtsystem_nonconformity_hr/views/mgmtsystem_nonconformity_views.xml @@ -3,10 +3,10 @@ - + - view.mgmtsystem.nonconformity.department