From 71e30f287202e71352576122c1bd3fd171434fe8 Mon Sep 17 00:00:00 2001 From: David Beal Date: Tue, 26 Mar 2019 10:01:46 +0100 Subject: [PATCH] PORT v12 mrp_usability --- mrp_usability/README.rst | 67 ++++ mrp_usability/__init__.py | 22 - mrp_usability/__manifest__.py | 24 +- mrp_usability/i18n/fr.po | 47 +++ mrp_usability/mrp.py | 1 - mrp_usability/mrp_view.xml | 17 +- mrp_usability/readme/CONTRIBUTORS.rst | 2 + mrp_usability/readme/DESCRIPTION.rst | 11 + mrp_usability/report/mrp_report.xml | 39 ++ mrp_usability/static/description/index.html | 419 ++++++++++++++++++++ 10 files changed, 591 insertions(+), 58 deletions(-) create mode 100644 mrp_usability/README.rst create mode 100644 mrp_usability/i18n/fr.po create mode 100644 mrp_usability/readme/CONTRIBUTORS.rst create mode 100644 mrp_usability/readme/DESCRIPTION.rst create mode 100644 mrp_usability/report/mrp_report.xml create mode 100644 mrp_usability/static/description/index.html diff --git a/mrp_usability/README.rst b/mrp_usability/README.rst new file mode 100644 index 0000000..4039657 --- /dev/null +++ b/mrp_usability/README.rst @@ -0,0 +1,67 @@ +============= +MRP Usability +============= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |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-akretion%2Fodoo--usability-lightgray.png?logo=github + :target: https://github.com/akretion/odoo-usability/tree/12.0/mrp_usability + :alt: akretion/odoo-usability + +|badge1| |badge2| |badge3| + +Small usability improvements on MRP: + +* order by id desc + +* show field date_start and date_finished on mrp.production form view + +* show more fields on stock move form + +* show bom type in tree view + add group by + +* complete Manufacturing Order report with unvailable products + +**Table of contents** + +.. contents:: + :local: + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion + +Contributors +~~~~~~~~~~~~ + +Alexis de Lattre + +Maintainers +~~~~~~~~~~~ + +This module is part of the `akretion/odoo-usability `_ project on GitHub. + +You are welcome to contribute. diff --git a/mrp_usability/__init__.py b/mrp_usability/__init__.py index 246b2eb..6a2984d 100644 --- a/mrp_usability/__init__.py +++ b/mrp_usability/__init__.py @@ -1,23 +1 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# MRP Usability module for Odoo -# Copyright (C) 2015 Akretion (http://www.akretion.com) -# @author Alexis de Lattre -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - from . import mrp diff --git a/mrp_usability/__manifest__.py b/mrp_usability/__manifest__.py index 2689c7f..64cba7d 100644 --- a/mrp_usability/__manifest__.py +++ b/mrp_usability/__manifest__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2015-2016 Akretion (http://www.akretion.com) # @author Alexis de Lattre # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). @@ -6,29 +5,16 @@ { 'name': 'MRP Usability', - 'version': '10.0.1.0.1', + 'version': '12.0.1.0.0', 'category': 'Manufacturing', 'license': 'AGPL-3', 'summary': 'Usability improvements on manufacturing', - 'description': """ -MRP Usability -============= - -Small usability improvements on MRP: - -* order by id desc - -* show field date_start and date_finished on mrp.production form view - -* show more fields on stock move form - -* show bom type in tree view + add group by - -This module has been written by Alexis de Lattre from Akretion . - """, 'author': 'Akretion', 'website': 'http://www.akretion.com', 'depends': ['mrp'], - 'data': ['mrp_view.xml'], + 'data': [ + 'mrp_view.xml', + 'report/mrp_report.xml' + ], 'installable': True, } diff --git a/mrp_usability/i18n/fr.po b/mrp_usability/i18n/fr.po new file mode 100644 index 0000000..3d80ab7 --- /dev/null +++ b/mrp_usability/i18n/fr.po @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mrp_usability +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-03-26 08:56+0000\n" +"PO-Revision-Date: 2019-03-26 08:56+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: mrp_usability +#: model_terms:ir.ui.view,arch_db:mrp_usability.mrp_production_form_view +msgid "Are you sure you want to cancel this manufacturing order?" +msgstr "Etes vous sur de vouloir annuler cet ordre de production" + +#. module: mrp_usability +#: model_terms:ir.ui.view,arch_db:mrp_usability.report_mrporder +msgid "Product" +msgstr "Article" + +#. module: mrp_usability +#: model:ir.model,name:mrp_usability.model_mrp_production +msgid "Production Order" +msgstr "Ordre de production" + +#. module: mrp_usability +#: model_terms:ir.ui.view,arch_db:mrp_usability.report_mrporder +msgid "Quantity" +msgstr "Quantité" + +#. module: mrp_usability +#: model_terms:ir.ui.view,arch_db:mrp_usability.report_mrporder +msgid "These products were unavailable while edition of this Manufacturing Order" +msgstr "Ces produits étaient indisponibles au moment de l'édition de l'Ordre de Production" + +#. module: mrp_usability +#: model_terms:ir.ui.view,arch_db:mrp_usability.view_mrp_bom_filter +msgid "Type" +msgstr "Type" + diff --git a/mrp_usability/mrp.py b/mrp_usability/mrp.py index a1d6f89..916b856 100644 --- a/mrp_usability/mrp.py +++ b/mrp_usability/mrp.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2015-2016 Akretion (http://www.akretion.com) # @author Alexis de Lattre # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/mrp_usability/mrp_view.xml b/mrp_usability/mrp_view.xml index 677bcc4..ba5c5c1 100644 --- a/mrp_usability/mrp_view.xml +++ b/mrp_usability/mrp_view.xml @@ -30,11 +30,10 @@ - mrp.usability.stock.move.form stock.move - + @@ -42,7 +41,6 @@ - mrp_usability.bom.tree mrp.bom @@ -53,7 +51,6 @@ - mrp_usability.bom.search mrp.bom @@ -63,16 +60,4 @@ - - mrp_usability.stock.quant.form - stock.quant - - - - - - - - - diff --git a/mrp_usability/readme/CONTRIBUTORS.rst b/mrp_usability/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..ebb4305 --- /dev/null +++ b/mrp_usability/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +Alexis de Lattre +David Béal diff --git a/mrp_usability/readme/DESCRIPTION.rst b/mrp_usability/readme/DESCRIPTION.rst new file mode 100644 index 0000000..197585f --- /dev/null +++ b/mrp_usability/readme/DESCRIPTION.rst @@ -0,0 +1,11 @@ +Small usability improvements on MRP: + +* order by id desc + +* show field date_start and date_finished on mrp.production form view + +* show more fields on stock move form + +* show bom type in tree view + add group by + +* complete Manufacturing Order report with unvailable products diff --git a/mrp_usability/report/mrp_report.xml b/mrp_usability/report/mrp_report.xml new file mode 100644 index 0000000..7714aac --- /dev/null +++ b/mrp_usability/report/mrp_report.xml @@ -0,0 +1,39 @@ + + + + + + diff --git a/mrp_usability/static/description/index.html b/mrp_usability/static/description/index.html new file mode 100644 index 0000000..81ed183 --- /dev/null +++ b/mrp_usability/static/description/index.html @@ -0,0 +1,419 @@ + + + + + + +MRP Usability + + + +
+

MRP Usability

+ + +

Beta License: AGPL-3 akretion/odoo-usability

+

Small usability improvements on MRP:

+
    +
  • order by id desc
  • +
  • show field date_start and date_finished on mrp.production form view
  • +
  • show more fields on stock move form
  • +
  • show bom type in tree view + add group by
  • +
  • complete Manufacturing Order report with unvailable products
  • +
+

Table of contents

+ +
+

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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
+
+ +
+

Maintainers

+

This module is part of the akretion/odoo-usability project on GitHub.

+

You are welcome to contribute.

+
+
+
+ +