diff --git a/quality_control/README.rst b/quality_control/README.rst index 62770fc461f..25db0fd2b20 100644 --- a/quality_control/README.rst +++ b/quality_control/README.rst @@ -2,9 +2,9 @@ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 -=================================== -Quality control management for Odoo -=================================== +=============== +Quality control +=============== This module provides a generic infrastructure for quality tests. The idea is that it can be later reused for doing quality inspections on production lots @@ -48,7 +48,7 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/129/8.0 + :target: https://runbot.odoo-community.org/runbot/129/9.0 Known issues / Roadmap @@ -73,6 +73,7 @@ Contributors * Pedro M. Baeza * Oihane Crucelaegui * Ana Juaristi +* Lois Rilo Maintainer ---------- diff --git a/quality_control/__openerp__.py b/quality_control/__openerp__.py index 4a9e3f2f398..ebf148b59f7 100644 --- a/quality_control/__openerp__.py +++ b/quality_control/__openerp__.py @@ -1,24 +1,21 @@ # -*- coding: utf-8 -*- -# (c) 2010 NaN Projectes de Programari Lliure, S.L. (http://www.NaN-tic.com) -# (c) 2014 Serv. Tec. Avanzados - Pedro M. Baeza -# (c) 2014 Oihane Crucelaegui - AvanzOSC -# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html +# Copyright 2010 NaN Projectes de Programari Lliure, S.L. +# Copyright 2014 Serv. Tec. Avanzados - Pedro M. Baeza +# Copyright 2014 Oihane Crucelaegui - AvanzOSC +# Copyright 2017 Eficent Business and IT Consulting Services S.L. +# License AGPL-3.0 - See http://www.gnu.org/licenses/agpl-3.0.html { "name": "Quality control", - "version": "8.0.1.3.0", + "version": "9.0.1.3.0", "category": "Quality control", "license": "AGPL-3", "author": "OdooMRP team, " "AvanzOSC, " "Serv. Tecnol. Avanzados - Pedro M. Baeza, " + "Eficent, " "Odoo Community Association (OCA)", "website": "http://www.odoomrp.com", - "contributors": [ - "Pedro M. Baeza ", - "Oihane Crucelaegui ", - "Ana Juaristi ", - ], "depends": [ "product", ], diff --git a/quality_control/data/quality_control_data.xml b/quality_control/data/quality_control_data.xml index 22e4d46e7ea..b5f10038969 100644 --- a/quality_control/data/quality_control_data.xml +++ b/quality_control/data/quality_control_data.xml @@ -1,5 +1,5 @@ - + Generic @@ -16,11 +16,6 @@ - - Quality inspection - qc.inspection - - Quality inspection qc.inspection @@ -28,4 +23,4 @@ 6 - + diff --git a/quality_control/models/product_category.py b/quality_control/models/product_category.py index 5cf22ff991a..cdb27382470 100644 --- a/quality_control/models/product_category.py +++ b/quality_control/models/product_category.py @@ -2,7 +2,7 @@ ############################################################################## # For copyright and license notices, see __openerp__.py file in root directory ############################################################################## -from openerp import models, fields +from openerp import fields, models class ProductCategory(models.Model): diff --git a/quality_control/models/product_product.py b/quality_control/models/product_product.py index 8eca86385f8..3577d365752 100644 --- a/quality_control/models/product_product.py +++ b/quality_control/models/product_product.py @@ -2,7 +2,7 @@ ############################################################################## # For copyright and license notices, see __openerp__.py file in root directory ############################################################################## -from openerp import models, fields +from openerp import fields, models class ProductProduct(models.Model): diff --git a/quality_control/models/product_template.py b/quality_control/models/product_template.py index de2641c3777..faaa124be98 100644 --- a/quality_control/models/product_template.py +++ b/quality_control/models/product_template.py @@ -2,7 +2,7 @@ ############################################################################## # For copyright and license notices, see __openerp__.py file in root directory ############################################################################## -from openerp import models, fields +from openerp import fields, models class ProductTemplate(models.Model): diff --git a/quality_control/models/qc_inspection.py b/quality_control/models/qc_inspection.py index b6df46170e1..85816e5d5c5 100644 --- a/quality_control/models/qc_inspection.py +++ b/quality_control/models/qc_inspection.py @@ -2,7 +2,7 @@ ############################################################################## # For copyright and license notices, see __openerp__.py file in root directory ############################################################################## -from openerp import models, fields, api, exceptions, _ +from openerp import api, exceptions, fields, models, _ import openerp.addons.decimal_precision as dp diff --git a/quality_control/models/qc_test.py b/quality_control/models/qc_test.py index 03b8c4f6f9d..3b269476e27 100644 --- a/quality_control/models/qc_test.py +++ b/quality_control/models/qc_test.py @@ -2,7 +2,7 @@ ############################################################################## # For copyright and license notices, see __openerp__.py file in root directory ############################################################################## -from openerp import models, fields, api, exceptions, _ +from openerp import api, exceptions, fields, models, _ import openerp.addons.decimal_precision as dp diff --git a/quality_control/models/qc_test_category.py b/quality_control/models/qc_test_category.py index bdb1bdfc307..36ee079ed99 100644 --- a/quality_control/models/qc_test_category.py +++ b/quality_control/models/qc_test_category.py @@ -2,7 +2,7 @@ ############################################################################## # For copyright and license notices, see __openerp__.py file in root directory ############################################################################## -from openerp import models, fields, api, exceptions, _ +from openerp import api, exceptions, fields, models, _ class QcTestTemplateCategory(models.Model): diff --git a/quality_control/models/qc_trigger.py b/quality_control/models/qc_trigger.py index 208e35e19e7..be722bf3c30 100644 --- a/quality_control/models/qc_trigger.py +++ b/quality_control/models/qc_trigger.py @@ -2,7 +2,7 @@ ############################################################################## # For copyright and license notices, see __openerp__.py file in root directory ############################################################################## -from openerp import models, fields +from openerp import fields, models class QcTrigger(models.Model): diff --git a/quality_control/models/qc_trigger_line.py b/quality_control/models/qc_trigger_line.py index 629bcb679eb..9b418919e61 100644 --- a/quality_control/models/qc_trigger_line.py +++ b/quality_control/models/qc_trigger_line.py @@ -2,7 +2,7 @@ ############################################################################## # For copyright and license notices, see __openerp__.py file in root directory ############################################################################## -from openerp import models, fields +from openerp import fields, models def _filter_trigger_lines(trigger_lines): diff --git a/quality_control/views/product_category_view.xml b/quality_control/views/product_category_view.xml index 79ef57ef9c7..f592aa95c26 100644 --- a/quality_control/views/product_category_view.xml +++ b/quality_control/views/product_category_view.xml @@ -1,26 +1,24 @@ - - - product.category.qc - product.category - - - - - - - - - - - - - - - - + + product.category.qc + product.category + + + + + + + + + + + + + + + + - diff --git a/quality_control/views/product_template_view.xml b/quality_control/views/product_template_view.xml index 3eb7082f12c..2d33d95e90c 100644 --- a/quality_control/views/product_template_view.xml +++ b/quality_control/views/product_template_view.xml @@ -1,26 +1,24 @@ - - + - - product.template.qc - product.template - - - - - - - - - - - - - - - - + + product.template.qc + product.template + + + + + + + + + + + + + + + + - - + diff --git a/quality_control/views/qc_inspection_view.xml b/quality_control/views/qc_inspection_view.xml index 74f8e31c69a..6d183f7b38d 100644 --- a/quality_control/views/qc_inspection_view.xml +++ b/quality_control/views/qc_inspection_view.xml @@ -1,254 +1,253 @@ - - + - - qc.inspection.form - qc.inspection - -
-
-
+ +
+
-

-

+ string="Set test" /> + +

+

+ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
-
-
+ + + +
+ + +
+ + + - - qc.inspection.tree - qc.inspection - - + + qc.inspection.tree + qc.inspection + + + + + + + + + + + + + + + qc.inspection.search + qc.inspection + + + - - + - - - - - + + + + + + + + + + + + + + + + + + - - qc.inspection.search - qc.inspection - - - - - - - - - - - - - - - - - - - - - - - - - + + Inspections + qc.inspection + form + tree,form + - - Inspections - qc.inspection - form - tree,form - + - + + qc.inspection.line.tree + qc.inspection.line + + + + + + + + + + + + + + + + - - qc.inspection.line.tree - qc.inspection.line - - + + qc.inspection.line.search + qc.inspection.line + + + + - - - - - - - - - - - + + + + + + + + + + + + + + - - qc.inspection.line.search - qc.inspection.line - - - - - - - - - - - - - - - - - - - - - + + Inspection lines + qc.inspection.line + form + tree + - - Inspection lines - qc.inspection.line - form - tree - + - -
-
+ diff --git a/quality_control/views/qc_menus.xml b/quality_control/views/qc_menus.xml index 91e115f753e..4577244b5e7 100644 --- a/quality_control/views/qc_menus.xml +++ b/quality_control/views/qc_menus.xml @@ -1,21 +1,20 @@ - - + - + - + - - - + + + diff --git a/quality_control/views/qc_test_category_view.xml b/quality_control/views/qc_test_category_view.xml index 94765388b20..6fba55984c8 100644 --- a/quality_control/views/qc_test_category_view.xml +++ b/quality_control/views/qc_test_category_view.xml @@ -1,33 +1,31 @@ - - + - - qc.test.category.tree - qc.test.category - - - - - - - - - + + qc.test.category.tree + qc.test.category + + + + + + + + + - - Test categories - qc.test.category - form - tree,form - + + Test categories + qc.test.category + form + tree,form + - + - - + diff --git a/quality_control/views/qc_test_view.xml b/quality_control/views/qc_test_view.xml index 2a255f28b3e..3bf10f515c8 100644 --- a/quality_control/views/qc_test_view.xml +++ b/quality_control/views/qc_test_view.xml @@ -1,128 +1,125 @@ - - - qc.test.form - qc.test - -
- -
+ +
+
- - qc.test.tree - qc.test - - - - - - - - - - + + qc.test.tree + qc.test + + + + + + + + + + - - Tests - qc.test - form - tree,form - + + Tests + qc.test + form + tree,form + - - qc.test.question.form - qc.test.question - -
-