From 7d3a4b6835f68ff9af8f1534f635758a4cff4b21 Mon Sep 17 00:00:00 2001 From: oihane Date: Fri, 22 Aug 2014 08:49:46 +0200 Subject: [PATCH 01/61] Modulos de calidad sin migrar --- quality_control_oca/__init__.py | 32 + quality_control_oca/__openerp__.py | 58 ++ .../data/quality_control_data.xml | 20 + quality_control_oca/i18n/ca.po | 559 +++++++++++++++ quality_control_oca/i18n/ca_ES.po | 553 +++++++++++++++ quality_control_oca/i18n/es.po | 570 ++++++++++++++++ quality_control_oca/i18n/es_ES.po | 558 +++++++++++++++ quality_control_oca/i18n/quality_control.pot | 553 +++++++++++++++ quality_control_oca/models/__init__.py | 31 + quality_control_oca/models/quality_control.py | 636 ++++++++++++++++++ .../security/ir.model.access.csv | 13 + .../security/quality_control_security.xml | 18 + .../views/quality_control_view.xml | 515 ++++++++++++++ quality_control_oca/wizard/__init__.py | 31 + quality_control_oca/wizard/qc_test_wizard.py | 70 ++ .../wizard/qc_test_wizard_view.xml | 35 + .../workflow/test_workflow.xml | 77 +++ 17 files changed, 4329 insertions(+) create mode 100644 quality_control_oca/__init__.py create mode 100644 quality_control_oca/__openerp__.py create mode 100644 quality_control_oca/data/quality_control_data.xml create mode 100644 quality_control_oca/i18n/ca.po create mode 100644 quality_control_oca/i18n/ca_ES.po create mode 100644 quality_control_oca/i18n/es.po create mode 100644 quality_control_oca/i18n/es_ES.po create mode 100644 quality_control_oca/i18n/quality_control.pot create mode 100644 quality_control_oca/models/__init__.py create mode 100644 quality_control_oca/models/quality_control.py create mode 100644 quality_control_oca/security/ir.model.access.csv create mode 100644 quality_control_oca/security/quality_control_security.xml create mode 100644 quality_control_oca/views/quality_control_view.xml create mode 100644 quality_control_oca/wizard/__init__.py create mode 100644 quality_control_oca/wizard/qc_test_wizard.py create mode 100644 quality_control_oca/wizard/qc_test_wizard_view.xml create mode 100644 quality_control_oca/workflow/test_workflow.xml diff --git a/quality_control_oca/__init__.py b/quality_control_oca/__init__.py new file mode 100644 index 00000000000..2868583fc94 --- /dev/null +++ b/quality_control_oca/__init__.py @@ -0,0 +1,32 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2010 NaN Projectes de Programari Lliure, S.L. +# All Rights Reserved. +# http://www.NaN-tic.com +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +from . import models +from . import wizard diff --git a/quality_control_oca/__openerp__.py b/quality_control_oca/__openerp__.py new file mode 100644 index 00000000000..839cfac3772 --- /dev/null +++ b/quality_control_oca/__openerp__.py @@ -0,0 +1,58 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2010 NaN Projectes de Programari Lliure, S.L. +# All Rights Reserved. +# http://www.NaN-tic.com +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +{ + "name": "Quality Control", + "version": "0.1", + "author": "NaN·tic", + "contributors": [ + "Oihane Crucelaegui ", + ], + "category": "Generic Modules/Others", + "summary": "Quality control", + "description": """ +This module provides a generic infrastructure for quality tests. The idea is +that it can be later be reused for doing quality tests in production lots but +also in any other areas a company may desire. + +Developed for Trod y Avia, S.L.""", + "depends": [ + 'product' + ], + "data": [ + 'data/quality_control_data.xml', + 'security/quality_control_security.xml', + 'security/ir.model.access.csv', + 'workflow/test_workflow.xml', + 'wizard/qc_test_wizard_view.xml', + 'views/quality_control_view.xml', + ], + "installable": True, +} diff --git a/quality_control_oca/data/quality_control_data.xml b/quality_control_oca/data/quality_control_data.xml new file mode 100644 index 00000000000..71ec8bd59d3 --- /dev/null +++ b/quality_control_oca/data/quality_control_data.xml @@ -0,0 +1,20 @@ + + + + + + Generic + + + Referenced + + + + + + Quality Control + + + + + diff --git a/quality_control_oca/i18n/ca.po b/quality_control_oca/i18n/ca.po new file mode 100644 index 00000000000..37cc89aa60c --- /dev/null +++ b/quality_control_oca/i18n/ca.po @@ -0,0 +1,559 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * quality_control +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 5.0.12\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2010-08-31 07:57+0000\n" +"PO-Revision-Date: 2012-07-11 11:40+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-07-26 04:59+0000\n" +"X-Generator: Launchpad (build 15679)\n" + +#. module: quality_control +#: view:qc.test.line:0 +msgid "Check Values" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,trig_on:0 +msgid "Trigger" +msgstr "" + +#. module: quality_control +#: view:qc.posible.value:0 +msgid "Posible Value" +msgstr "" + +#. module: quality_control +#: field:qc.test.set.template.wizard,test_template_id:0 +msgid "Template" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_new_test +#: view:qc.test:0 +#: field:qc.test,test_template_id:0 +#: field:qc.test.line,test_id:0 +msgid "Test" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_set_template_wizard_form +#: model:ir.model,name:quality_control.model_qc_test_set_template_wizard +msgid "qc.test.set.template.wizard" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,uom_id:0 +#: field:qc.test.template.line,uom_id:0 +msgid "Uom" +msgstr "" + +#. module: quality_control +#: model:ir.module.module,description:quality_control.module_meta_information +msgid "" +"This module provides a generic infrastructure for quality tests. The idea is " +"that it can be later be reused for doing quality tests in production lots " +"but also in any other areas a company may desire." +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_line +msgid "qc.test.template.line" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,fill_correct_values:0 +msgid "Fill With Correct Values" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof_synonym +msgid "qc.proof.synonym" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,object_id:0 +msgid "Reference Object" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_template_line_menu +msgid "Test Template Lines" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,success:0 +msgid "Success?" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template +#: model:ir.model,name:quality_control.model_qc_test_template +#: model:ir.ui.menu,name:quality_control.qc_test_template_menu +#: view:qc.test.template:0 +#: field:qc.test.template.line,test_template_id:0 +msgid "Test Template" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_trigger +#: model:ir.ui.menu,name:quality_control.qc_test_template_trigger_menu +#: view:qc.test.template.trigger:0 +msgid "Template Trigger" +msgstr "" + +#. module: quality_control +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Qualitative" +msgstr "" + +#. module: quality_control +#: view:qc.test.template.line:0 +msgid "proof Line" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,proof_type:0 +msgid "Proof Type" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_proof_menu +#: view:qc.proof:0 +#: field:qc.proof.synonym,proof_id:0 +#: field:qc.test.line,proof_id:0 +#: field:qc.test.template.line,proof_id:0 +msgid "Proof" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof +msgid "qc.proof" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_proof_method +msgid "Methods" +msgstr "" + +#. module: quality_control +#: field:qc.test,object_id:0 +msgid "Reference" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +msgid "Select Template" +msgstr "" + +#. module: quality_control +#: constraint:qc.test.template.category:0 +msgid "Error ! You can not create recursive categories." +msgstr "" + +#. module: quality_control +#: selection:qc.test.template,type:0 +msgid "Related" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test,test_external_note:0 +msgid "External Note" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test +msgid "qc.test" +msgstr "" + +#. module: quality_control +#: view:qc.proof.synonym:0 +msgid "Proof Synonym" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,max_value:0 +msgid "Maximum valid value if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: field:qc.posible.value,active:0 +#: field:qc.proof,active:0 +#: field:qc.proof.method,active:0 +#: field:qc.test.template,active:0 +#: field:qc.test.template.category,active:0 +#: field:qc.test.template.trigger,active:0 +msgid "Active" +msgstr "" + +#. module: quality_control +#: view:qc.proof.method:0 +msgid "Proof Method" +msgstr "" + +#. module: quality_control +#: constraint:ir.actions.act_window:0 +msgid "Invalid model name in the action definition." +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +msgid "Confirm" +msgstr "" + +#. module: quality_control +#: selection:qc.test.template,type:0 +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_generic +msgid "Generic" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.category,child_ids:0 +msgid "Child Categories" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,actual_value_ql:0 +msgid "Value of the result if it is a qualitative proof." +msgstr "" + +#. module: quality_control +#: field:qc.test,state:0 +msgid "State" +msgstr "" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Draft" +msgstr "" + +#. module: quality_control +#: view:qc.posible.value:0 +msgid "Proof Posible Value" +msgstr "" + +#. module: quality_control +#: view:qc.test.line:0 +msgid "Test Result" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_menu_config +msgid "Configuration" +msgstr "" + +#. module: quality_control +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_proof_synonym +msgid "Synonym" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.category,parent_id:0 +msgid "Parent Category" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_line +msgid "qc.test.line" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.category,complete_name:0 +msgid "Full Name" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,actual_value_ql:0 +msgid "Ql.Value" +msgstr "" + +#. module: quality_control +#: field:qc.proof,type:0 +#: field:qc.test.template,type:0 +#: field:qc.test.template.line,type:0 +msgid "Type" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_posible_value +#: model:ir.ui.menu,name:quality_control.qc_proof_posible_value_menu +#: field:qc.proof,value_ids:0 +msgid "Posible Values" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,category_id:0 +msgid "Category" +msgstr "" + +#. module: quality_control +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_referenced +msgid "referenced" +msgstr "" + +#. module: quality_control +#: model:ir.module.module,shortdesc:quality_control.module_meta_information +#: model:ir.ui.menu,name:quality_control.qc_menu +msgid "Quality Control" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.category,name:0 +msgid "Category Name" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof_method +#: model:ir.ui.menu,name:quality_control.qc_proof_method_menu +#: field:qc.test.line,method_id:0 +#: field:qc.test.template.line,method_id:0 +msgid "Method" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_menu +msgid "Tests" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_category +msgid "qc.test.template.category" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,actual_value_qt:0 +msgid "Value of the result if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: help:qc.test.line,min_value:0 +msgid "Minimum valid value if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: field:qc.test,name:0 +msgid "Date" +msgstr "" + +#. module: quality_control +#: view:qc.proof.method:0 +msgid "Test Method" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_trigger +msgid "qc.test.template.trigger" +msgstr "" + +#. module: quality_control +#: field:qc.test,success:0 +msgid "Success" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,test_uom_id:0 +msgid "UoM of the value of the result if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: field:qc.test,enabled:0 +msgid "Enabled" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,test_uom_id:0 +msgid "Uom Test" +msgstr "" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Waiting Supervisor Approval" +msgstr "" + +#. module: quality_control +#: help:qc.test,enabled:0 +msgid "" +"If a quality control test is not enabled it means it can not be moved from " +"\"Quality Success\" or \"Quality Failed\" state." +msgstr "" + +#. module: quality_control +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Quantitative" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_line +#: field:qc.test.line,test_template_line_id:0 +#: view:qc.test.template.line:0 +msgid "Test Template Line" +msgstr "" + +#. module: quality_control +#: field:qc.proof,ref:0 +msgid "Code" +msgstr "" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Quality Failed" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test,test_internal_note:0 +msgid "Internal Note" +msgstr "" + +#. module: quality_control +#: field:qc.proof,synonym_ids:0 +#: field:qc.proof,synonyms:0 +msgid "Synonyms" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,uom_id:0 +msgid "UoM for minimum and maximum values if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +#: view:qc.test.set.template.wizard:0 +msgid "Cancel" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_proof +msgid "proof" +msgstr "" + +#. module: quality_control +#: constraint:ir.model:0 +msgid "" +"The Object name must start with x_ and not contain any special character !" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,min_value:0 +#: field:qc.test.template.line,min_value:0 +msgid "Min" +msgstr "" + +#. module: quality_control +#: view:qc.test.line:0 +msgid "Test Values" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_posible_value +msgid "qc.posible.value" +msgstr "" + +#. module: quality_control +#: view:qc.proof.synonym:0 +msgid "Test Synonym" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_lines_menu +#: field:qc.test,test_line_ids:0 +msgid "Test Lines" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,max_value:0 +#: field:qc.test.template.line,max_value:0 +msgid "Max" +msgstr "" + +#. module: quality_control +#: help:qc.test,success:0 +msgid "This field will be active if all tests have succeeded." +msgstr "" + +#. module: quality_control +#: field:qc.test.line,notes:0 +#: field:qc.test.template.line,notes:0 +msgid "Notes" +msgstr "" + +#. module: quality_control +#: view:qc.test.set.template.wizard:0 +msgid "Select Test Template" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_line +#: view:qc.test.line:0 +msgid "Test Line" +msgstr "" + +#. module: quality_control +#: field:qc.posible.value,name:0 +#: field:qc.proof,name:0 +#: field:qc.proof.method,name:0 +#: field:qc.proof.synonym,name:0 +#: field:qc.test.template,name:0 +#: field:qc.test.template.trigger,name:0 +msgid "Name" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,test_template_line_ids:0 +msgid "Lines" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test.line,valid_value_ids:0 +#: field:qc.test.template.line,valid_value_ids:0 +msgid "Values" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +msgid "Approve" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,actual_value_qt:0 +msgid "Qt.Value" +msgstr "" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Quality Success" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.line,sequence:0 +msgid "Sequence" +msgstr "" + +#. module: quality_control +#: view:qc.test.set.template.wizard:0 +msgid "Accept" +msgstr "" + +#. module: quality_control +#: help:qc.test.template.category,active:0 +msgid "The active field allows you to hide the category without removing it." +msgstr "" diff --git a/quality_control_oca/i18n/ca_ES.po b/quality_control_oca/i18n/ca_ES.po new file mode 100644 index 00000000000..7a800bf63ed --- /dev/null +++ b/quality_control_oca/i18n/ca_ES.po @@ -0,0 +1,553 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * quality_control +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 5.0.12\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2010-08-31 07:57:32+0000\n" +"PO-Revision-Date: 2010-08-31 07:57:32+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: quality_control +#: view:qc.test.line:0 +msgid "Check Values" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,trig_on:0 +msgid "Trigger" +msgstr "" + +#. module: quality_control +#: view:qc.posible.value:0 +msgid "Posible Value" +msgstr "" + +#. module: quality_control +#: field:qc.test.set.template.wizard,test_template_id:0 +msgid "Template" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_new_test +#: view:qc.test:0 +#: field:qc.test,test_template_id:0 +#: field:qc.test.line,test_id:0 +msgid "Test" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_set_template_wizard_form +#: model:ir.model,name:quality_control.model_qc_test_set_template_wizard +msgid "qc.test.set.template.wizard" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,uom_id:0 +#: field:qc.test.template.line,uom_id:0 +msgid "Uom" +msgstr "" + +#. module: quality_control +#: model:ir.module.module,description:quality_control.module_meta_information +msgid "This module provides a generic infrastructure for quality tests. The idea is that it can be later be reused for doing quality tests in production lots but also in any other areas a company may desire." +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_line +msgid "qc.test.template.line" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,fill_correct_values:0 +msgid "Fill With Correct Values" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof_synonym +msgid "qc.proof.synonym" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,object_id:0 +msgid "Reference Object" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_template_line_menu +msgid "Test Template Lines" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,success:0 +msgid "Success?" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template +#: model:ir.model,name:quality_control.model_qc_test_template +#: model:ir.ui.menu,name:quality_control.qc_test_template_menu +#: view:qc.test.template:0 +#: field:qc.test.template.line,test_template_id:0 +msgid "Test Template" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_trigger +#: model:ir.ui.menu,name:quality_control.qc_test_template_trigger_menu +#: view:qc.test.template.trigger:0 +msgid "Template Trigger" +msgstr "" + +#. module: quality_control +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Qualitative" +msgstr "" + +#. module: quality_control +#: view:qc.test.template.line:0 +msgid "proof Line" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,proof_type:0 +msgid "Proof Type" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_proof_menu +#: view:qc.proof:0 +#: field:qc.proof.synonym,proof_id:0 +#: field:qc.test.line,proof_id:0 +#: field:qc.test.template.line,proof_id:0 +msgid "Proof" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof +msgid "qc.proof" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_proof_method +msgid "Methods" +msgstr "" + +#. module: quality_control +#: field:qc.test,object_id:0 +msgid "Reference" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +msgid "Select Template" +msgstr "" + +#. module: quality_control +#: constraint:qc.test.template.category:0 +msgid "Error ! You can not create recursive categories." +msgstr "" + +#. module: quality_control +#: selection:qc.test.template,type:0 +msgid "Related" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test,test_external_note:0 +msgid "External Note" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test +msgid "qc.test" +msgstr "" + +#. module: quality_control +#: view:qc.proof.synonym:0 +msgid "Proof Synonym" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,max_value:0 +msgid "Maximum valid value if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: field:qc.posible.value,active:0 +#: field:qc.proof,active:0 +#: field:qc.proof.method,active:0 +#: field:qc.test.template,active:0 +#: field:qc.test.template.category,active:0 +#: field:qc.test.template.trigger,active:0 +msgid "Active" +msgstr "" + +#. module: quality_control +#: view:qc.proof.method:0 +msgid "Proof Method" +msgstr "" + +#. module: quality_control +#: constraint:ir.actions.act_window:0 +msgid "Invalid model name in the action definition." +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +msgid "Confirm" +msgstr "" + +#. module: quality_control +#: selection:qc.test.template,type:0 +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_generic +msgid "Generic" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.category,child_ids:0 +msgid "Child Categories" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,actual_value_ql:0 +msgid "Value of the result if it is a qualitative proof." +msgstr "" + +#. module: quality_control +#: field:qc.test,state:0 +msgid "State" +msgstr "" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Draft" +msgstr "" + +#. module: quality_control +#: view:qc.posible.value:0 +msgid "Proof Posible Value" +msgstr "" + +#. module: quality_control +#: view:qc.test.line:0 +msgid "Test Result" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_menu_config +msgid "Configuration" +msgstr "" + +#. module: quality_control +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_proof_synonym +msgid "Synonym" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.category,parent_id:0 +msgid "Parent Category" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_line +msgid "qc.test.line" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.category,complete_name:0 +msgid "Full Name" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,actual_value_ql:0 +msgid "Ql.Value" +msgstr "" + +#. module: quality_control +#: field:qc.proof,type:0 +#: field:qc.test.template,type:0 +#: field:qc.test.template.line,type:0 +msgid "Type" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_posible_value +#: model:ir.ui.menu,name:quality_control.qc_proof_posible_value_menu +#: field:qc.proof,value_ids:0 +msgid "Posible Values" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,category_id:0 +msgid "Category" +msgstr "" + +#. module: quality_control +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_referenced +msgid "referenced" +msgstr "" + +#. module: quality_control +#: model:ir.module.module,shortdesc:quality_control.module_meta_information +#: model:ir.ui.menu,name:quality_control.qc_menu +msgid "Quality Control" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.category,name:0 +msgid "Category Name" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof_method +#: model:ir.ui.menu,name:quality_control.qc_proof_method_menu +#: field:qc.test.line,method_id:0 +#: field:qc.test.template.line,method_id:0 +msgid "Method" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_menu +msgid "Tests" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_category +msgid "qc.test.template.category" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,actual_value_qt:0 +msgid "Value of the result if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: help:qc.test.line,min_value:0 +msgid "Minimum valid value if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: field:qc.test,name:0 +msgid "Date" +msgstr "" + +#. module: quality_control +#: view:qc.proof.method:0 +msgid "Test Method" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_trigger +msgid "qc.test.template.trigger" +msgstr "" + +#. module: quality_control +#: field:qc.test,success:0 +msgid "Success" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,test_uom_id:0 +msgid "UoM of the value of the result if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: field:qc.test,enabled:0 +msgid "Enabled" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,test_uom_id:0 +msgid "Uom Test" +msgstr "" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Waiting Supervisor Approval" +msgstr "" + +#. module: quality_control +#: help:qc.test,enabled:0 +msgid "If a quality control test is not enabled it means it can not be moved from \"Quality Success\" or \"Quality Failed\" state." +msgstr "" + +#. module: quality_control +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Quantitative" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_line +#: field:qc.test.line,test_template_line_id:0 +#: view:qc.test.template.line:0 +msgid "Test Template Line" +msgstr "" + +#. module: quality_control +#: field:qc.proof,ref:0 +msgid "Code" +msgstr "" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Quality Failed" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test,test_internal_note:0 +msgid "Internal Note" +msgstr "" + +#. module: quality_control +#: field:qc.proof,synonym_ids:0 +#: field:qc.proof,synonyms:0 +msgid "Synonyms" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,uom_id:0 +msgid "UoM for minimum and maximum values if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +#: view:qc.test.set.template.wizard:0 +msgid "Cancel" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_proof +msgid "proof" +msgstr "" + +#. module: quality_control +#: constraint:ir.model:0 +msgid "The Object name must start with x_ and not contain any special character !" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,min_value:0 +#: field:qc.test.template.line,min_value:0 +msgid "Min" +msgstr "" + +#. module: quality_control +#: view:qc.test.line:0 +msgid "Test Values" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_posible_value +msgid "qc.posible.value" +msgstr "" + +#. module: quality_control +#: view:qc.proof.synonym:0 +msgid "Test Synonym" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_lines_menu +#: field:qc.test,test_line_ids:0 +msgid "Test Lines" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,max_value:0 +#: field:qc.test.template.line,max_value:0 +msgid "Max" +msgstr "" + +#. module: quality_control +#: help:qc.test,success:0 +msgid "This field will be active if all tests have succeeded." +msgstr "" + +#. module: quality_control +#: field:qc.test.line,notes:0 +#: field:qc.test.template.line,notes:0 +msgid "Notes" +msgstr "" + +#. module: quality_control +#: view:qc.test.set.template.wizard:0 +msgid "Select Test Template" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_line +#: view:qc.test.line:0 +msgid "Test Line" +msgstr "" + +#. module: quality_control +#: field:qc.posible.value,name:0 +#: field:qc.proof,name:0 +#: field:qc.proof.method,name:0 +#: field:qc.proof.synonym,name:0 +#: field:qc.test.template,name:0 +#: field:qc.test.template.trigger,name:0 +msgid "Name" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,test_template_line_ids:0 +msgid "Lines" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test.line,valid_value_ids:0 +#: field:qc.test.template.line,valid_value_ids:0 +msgid "Values" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +msgid "Approve" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,actual_value_qt:0 +msgid "Qt.Value" +msgstr "" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Quality Success" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.line,sequence:0 +msgid "Sequence" +msgstr "" + +#. module: quality_control +#: view:qc.test.set.template.wizard:0 +msgid "Accept" +msgstr "" + +#. module: quality_control +#: help:qc.test.template.category,active:0 +msgid "The active field allows you to hide the category without removing it." +msgstr "" + diff --git a/quality_control_oca/i18n/es.po b/quality_control_oca/i18n/es.po new file mode 100644 index 00000000000..da4a1ffe61c --- /dev/null +++ b/quality_control_oca/i18n/es.po @@ -0,0 +1,570 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * quality_control +# +# Jordi Pasquina , 2010. +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 5.0.12\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2010-08-31 07:57+0000\n" +"PO-Revision-Date: 2012-07-11 11:44+0000\n" +"Last-Translator: Urtzi Odriozola \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-07-26 04:59+0000\n" +"X-Generator: Launchpad (build 15679)\n" + +#. module: quality_control +#: view:qc.test.line:0 +msgid "Check Values" +msgstr "Comprobar los valores" + +#. module: quality_control +#: field:qc.test.template,trig_on:0 +msgid "Trigger" +msgstr "Disparador" + +#. module: quality_control +#: view:qc.posible.value:0 +msgid "Posible Value" +msgstr "Valor posible" + +#. module: quality_control +#: field:qc.test.set.template.wizard,test_template_id:0 +msgid "Template" +msgstr "Plantilla" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_new_test +#: view:qc.test:0 +#: field:qc.test,test_template_id:0 +#: field:qc.test.line,test_id:0 +msgid "Test" +msgstr "Test" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_set_template_wizard_form +#: model:ir.model,name:quality_control.model_qc_test_set_template_wizard +msgid "qc.test.set.template.wizard" +msgstr "qc.test.conjunto.plantilla.assistente" + +#. module: quality_control +#: field:qc.test.line,uom_id:0 +#: field:qc.test.template.line,uom_id:0 +msgid "Uom" +msgstr "Uom" + +#. module: quality_control +#: model:ir.module.module,description:quality_control.module_meta_information +msgid "" +"This module provides a generic infrastructure for quality tests. The idea is " +"that it can be later be reused for doing quality tests in production lots " +"but also in any other areas a company may desire." +msgstr "" +"Este módulo proporciona una infraestructura para las pruebas de calidad. La " +"idea es que se pueda volver a utilizarse más adelante para hacer pruebas de " +"calidad en los lotes de producción, pero también en otras áreas que una " +"empresa pueda desear." + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_line +msgid "qc.test.template.line" +msgstr "qc.test.plantilla.linea" + +#. module: quality_control +#: field:qc.test.template,fill_correct_values:0 +msgid "Fill With Correct Values" +msgstr "REllenar con los valores correctos" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof_synonym +msgid "qc.proof.synonym" +msgstr "qc.prueba.sinonimo" + +#. module: quality_control +#: field:qc.test.template,object_id:0 +msgid "Reference Object" +msgstr "Objeto referencia" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_template_line_menu +msgid "Test Template Lines" +msgstr "Líneas de la plantilla del test" + +#. module: quality_control +#: field:qc.test.line,success:0 +msgid "Success?" +msgstr "Éxito?" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template +#: model:ir.model,name:quality_control.model_qc_test_template +#: model:ir.ui.menu,name:quality_control.qc_test_template_menu +#: view:qc.test.template:0 +#: field:qc.test.template.line,test_template_id:0 +msgid "Test Template" +msgstr "Plantilla del test" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_trigger +#: model:ir.ui.menu,name:quality_control.qc_test_template_trigger_menu +#: view:qc.test.template.trigger:0 +msgid "Template Trigger" +msgstr "Plantilla Disparador" + +#. module: quality_control +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Qualitative" +msgstr "Cualitativo" + +#. module: quality_control +#: view:qc.test.template.line:0 +msgid "proof Line" +msgstr "Línea de la prueba" + +#. module: quality_control +#: field:qc.test.line,proof_type:0 +msgid "Proof Type" +msgstr "Tipo de Prueba" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_proof_menu +#: view:qc.proof:0 +#: field:qc.proof.synonym,proof_id:0 +#: field:qc.test.line,proof_id:0 +#: field:qc.test.template.line,proof_id:0 +msgid "Proof" +msgstr "Prueba" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof +msgid "qc.proof" +msgstr "qc.prueba" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_proof_method +msgid "Methods" +msgstr "Métodos" + +#. module: quality_control +#: field:qc.test,object_id:0 +msgid "Reference" +msgstr "Referencia" + +#. module: quality_control +#: view:qc.test:0 +msgid "Select Template" +msgstr "Seleccionar plantilla" + +#. module: quality_control +#: constraint:qc.test.template.category:0 +msgid "Error ! You can not create recursive categories." +msgstr "Error! No se pueden crear categorías recursivas." + +#. module: quality_control +#: selection:qc.test.template,type:0 +msgid "Related" +msgstr "Relacionado" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test,test_external_note:0 +msgid "External Note" +msgstr "Nota externa" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test +msgid "qc.test" +msgstr "qc.test" + +#. module: quality_control +#: view:qc.proof.synonym:0 +msgid "Proof Synonym" +msgstr "Prueba sinónima" + +#. module: quality_control +#: help:qc.test.line,max_value:0 +msgid "Maximum valid value if it is a quantitative proof." +msgstr "Máximo valor válido si se trata de una prueba cuantitativa." + +#. module: quality_control +#: field:qc.posible.value,active:0 +#: field:qc.proof,active:0 +#: field:qc.proof.method,active:0 +#: field:qc.test.template,active:0 +#: field:qc.test.template.category,active:0 +#: field:qc.test.template.trigger,active:0 +msgid "Active" +msgstr "Activo" + +#. module: quality_control +#: view:qc.proof.method:0 +msgid "Proof Method" +msgstr "Método de la prueba" + +#. module: quality_control +#: constraint:ir.actions.act_window:0 +msgid "Invalid model name in the action definition." +msgstr "Nombre del modelo inválido en la definición de la acción." + +#. module: quality_control +#: view:qc.test:0 +msgid "Confirm" +msgstr "Confirmar" + +#. module: quality_control +#: selection:qc.test.template,type:0 +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_generic +msgid "Generic" +msgstr "Genérico" + +#. module: quality_control +#: field:qc.test.template.category,child_ids:0 +msgid "Child Categories" +msgstr "Categorías inferiores" + +#. module: quality_control +#: help:qc.test.line,actual_value_ql:0 +msgid "Value of the result if it is a qualitative proof." +msgstr "Valor del resultado si se trata de una prueba cualitativa." + +#. module: quality_control +#: field:qc.test,state:0 +msgid "State" +msgstr "Estado" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Draft" +msgstr "Borrador" + +#. module: quality_control +#: view:qc.posible.value:0 +msgid "Proof Posible Value" +msgstr "Posible valor de la prueba" + +#. module: quality_control +#: view:qc.test.line:0 +msgid "Test Result" +msgstr "Resultado del test" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_menu_config +msgid "Configuration" +msgstr "Configuración" + +#. module: quality_control +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "XML inválido para la arquitectura de vistas!" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_proof_synonym +msgid "Synonym" +msgstr "Sinónimo" + +#. module: quality_control +#: field:qc.test.template.category,parent_id:0 +msgid "Parent Category" +msgstr "Categoría padre" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_line +msgid "qc.test.line" +msgstr "qc.test.linea" + +#. module: quality_control +#: field:qc.test.template.category,complete_name:0 +msgid "Full Name" +msgstr "Nombre completo" + +#. module: quality_control +#: field:qc.test.line,actual_value_ql:0 +msgid "Ql.Value" +msgstr "Ql.valor" + +#. module: quality_control +#: field:qc.proof,type:0 +#: field:qc.test.template,type:0 +#: field:qc.test.template.line,type:0 +msgid "Type" +msgstr "Tipo" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_posible_value +#: model:ir.ui.menu,name:quality_control.qc_proof_posible_value_menu +#: field:qc.proof,value_ids:0 +msgid "Posible Values" +msgstr "Valores posibles" + +#. module: quality_control +#: field:qc.test.template,category_id:0 +msgid "Category" +msgstr "Categoria" + +#. module: quality_control +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_referenced +msgid "referenced" +msgstr "referencia" + +#. module: quality_control +#: model:ir.module.module,shortdesc:quality_control.module_meta_information +#: model:ir.ui.menu,name:quality_control.qc_menu +msgid "Quality Control" +msgstr "Control de calidad" + +#. module: quality_control +#: field:qc.test.template.category,name:0 +msgid "Category Name" +msgstr "Nombre de la Categoría" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof_method +#: model:ir.ui.menu,name:quality_control.qc_proof_method_menu +#: field:qc.test.line,method_id:0 +#: field:qc.test.template.line,method_id:0 +msgid "Method" +msgstr "Método" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_menu +msgid "Tests" +msgstr "Tests" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_category +msgid "qc.test.template.category" +msgstr "qc.test.plantilla.categoria" + +#. module: quality_control +#: help:qc.test.line,actual_value_qt:0 +msgid "Value of the result if it is a quantitative proof." +msgstr "Valor del resultado si se trata de una prueba cuantitativa." + +#. module: quality_control +#: help:qc.test.line,min_value:0 +msgid "Minimum valid value if it is a quantitative proof." +msgstr "Mínimo valor válido si se trata de una prueba cuantitativa." + +#. module: quality_control +#: field:qc.test,name:0 +msgid "Date" +msgstr "Fecha" + +#. module: quality_control +#: view:qc.proof.method:0 +msgid "Test Method" +msgstr "Método del test" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_trigger +msgid "qc.test.template.trigger" +msgstr "qc.test.plantilla.disparador" + +#. module: quality_control +#: field:qc.test,success:0 +msgid "Success" +msgstr "Éxito" + +#. module: quality_control +#: help:qc.test.line,test_uom_id:0 +msgid "UoM of the value of the result if it is a quantitative proof." +msgstr "UoM del valor del resultado, si se trata de una prueba cuantitativa." + +#. module: quality_control +#: field:qc.test,enabled:0 +msgid "Enabled" +msgstr "Activado" + +#. module: quality_control +#: field:qc.test.line,test_uom_id:0 +msgid "Uom Test" +msgstr "Uom test" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Waiting Supervisor Approval" +msgstr "Esperando la aprobación del supervisor" + +#. module: quality_control +#: help:qc.test,enabled:0 +msgid "" +"If a quality control test is not enabled it means it can not be moved from " +"\"Quality Success\" or \"Quality Failed\" state." +msgstr "" +"Si una prueba de control de calidad no está habilitada, significa que no se " +"pueden mover del estado \"Calidad Correcta\" o \"Calidad Errónea\"." + +#. module: quality_control +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Quantitative" +msgstr "Cuantitativa" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_line +#: field:qc.test.line,test_template_line_id:0 +#: view:qc.test.template.line:0 +msgid "Test Template Line" +msgstr "Línea de la plantilla del test" + +#. module: quality_control +#: field:qc.proof,ref:0 +msgid "Code" +msgstr "Código" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Quality Failed" +msgstr "Calidad errónea" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test,test_internal_note:0 +msgid "Internal Note" +msgstr "Nota interna" + +#. module: quality_control +#: field:qc.proof,synonym_ids:0 +#: field:qc.proof,synonyms:0 +msgid "Synonyms" +msgstr "Sinónimos" + +#. module: quality_control +#: help:qc.test.line,uom_id:0 +msgid "UoM for minimum and maximum values if it is a quantitative proof." +msgstr "" +"UoM para el valor Máximo y Mínimo válido, si se trata de una prueba " +"cuantitativa." + +#. module: quality_control +#: view:qc.test:0 +#: view:qc.test.set.template.wizard:0 +msgid "Cancel" +msgstr "Cancelar" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_proof +msgid "proof" +msgstr "Prueba" + +#. module: quality_control +#: constraint:ir.model:0 +msgid "" +"The Object name must start with x_ and not contain any special character !" +msgstr "" +"El nombre del objeto debe empezar con x_ y no debe contener ningún carácter " +"especial!" + +#. module: quality_control +#: field:qc.test.line,min_value:0 +#: field:qc.test.template.line,min_value:0 +msgid "Min" +msgstr "Mínimo" + +#. module: quality_control +#: view:qc.test.line:0 +msgid "Test Values" +msgstr "Valores del Test" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_posible_value +msgid "qc.posible.value" +msgstr "qc.posible.valor" + +#. module: quality_control +#: view:qc.proof.synonym:0 +msgid "Test Synonym" +msgstr "Test Sinónimo" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_lines_menu +#: field:qc.test,test_line_ids:0 +msgid "Test Lines" +msgstr "Líneas del test" + +#. module: quality_control +#: field:qc.test.line,max_value:0 +#: field:qc.test.template.line,max_value:0 +msgid "Max" +msgstr "Máx" + +#. module: quality_control +#: help:qc.test,success:0 +msgid "This field will be active if all tests have succeeded." +msgstr "Este campo se activa si todas las pruebas han tenido éxito." + +#. module: quality_control +#: field:qc.test.line,notes:0 +#: field:qc.test.template.line,notes:0 +msgid "Notes" +msgstr "Notas" + +#. module: quality_control +#: view:qc.test.set.template.wizard:0 +msgid "Select Test Template" +msgstr "Seleccionar plantilla del test" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_line +#: view:qc.test.line:0 +msgid "Test Line" +msgstr "Línea del test" + +#. module: quality_control +#: field:qc.posible.value,name:0 +#: field:qc.proof,name:0 +#: field:qc.proof.method,name:0 +#: field:qc.proof.synonym,name:0 +#: field:qc.test.template,name:0 +#: field:qc.test.template.trigger,name:0 +msgid "Name" +msgstr "Nombre" + +#. module: quality_control +#: field:qc.test.template,test_template_line_ids:0 +msgid "Lines" +msgstr "Líneas" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test.line,valid_value_ids:0 +#: field:qc.test.template.line,valid_value_ids:0 +msgid "Values" +msgstr "Valores" + +#. module: quality_control +#: view:qc.test:0 +msgid "Approve" +msgstr "Aprobar" + +#. module: quality_control +#: field:qc.test.line,actual_value_qt:0 +msgid "Qt.Value" +msgstr "Qt.valor" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Quality Success" +msgstr "Calidad correcta" + +#. module: quality_control +#: field:qc.test.template.line,sequence:0 +msgid "Sequence" +msgstr "Secuencia" + +#. module: quality_control +#: view:qc.test.set.template.wizard:0 +msgid "Accept" +msgstr "Aceptar" + +#. module: quality_control +#: help:qc.test.template.category,active:0 +msgid "The active field allows you to hide the category without removing it." +msgstr "El campo activo le permite ocultar la categoría sin eliminarlo." diff --git a/quality_control_oca/i18n/es_ES.po b/quality_control_oca/i18n/es_ES.po new file mode 100644 index 00000000000..de2926bc268 --- /dev/null +++ b/quality_control_oca/i18n/es_ES.po @@ -0,0 +1,558 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * quality_control +# +# Jordi Pasquina , 2010. +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 5.0.12\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2010-08-31 07:57:32+0000\n" +"PO-Revision-Date: 2010-08-31 10:29+0200\n" +"Last-Translator: Jordi Pasquina \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" +"X-Generator: Lokalize 1.0\n" + +#. module: quality_control +#: view:qc.test.line:0 +msgid "Check Values" +msgstr "Comprobar los valores" + +#. module: quality_control +#: field:qc.test.template,trig_on:0 +msgid "Trigger" +msgstr "Disparador" + +#. module: quality_control +#: view:qc.posible.value:0 +msgid "Posible Value" +msgstr "Valor posible" + +#. module: quality_control +#: field:qc.test.set.template.wizard,test_template_id:0 +msgid "Template" +msgstr "Plantilla" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_new_test +#: view:qc.test:0 +#: field:qc.test,test_template_id:0 +#: field:qc.test.line,test_id:0 +msgid "Test" +msgstr "Test" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_set_template_wizard_form +#: model:ir.model,name:quality_control.model_qc_test_set_template_wizard +msgid "qc.test.set.template.wizard" +msgstr "qc.test.conjunto.plantilla.assistente" + +#. module: quality_control +#: field:qc.test.line,uom_id:0 +#: field:qc.test.template.line,uom_id:0 +msgid "Uom" +msgstr "Uom" + +#. module: quality_control +#: model:ir.module.module,description:quality_control.module_meta_information +msgid "This module provides a generic infrastructure for quality tests. The idea is that it can be later be reused for doing quality tests in production lots but also in any other areas a company may desire." +msgstr "" +"Este módulo proporciona una infraestructura para las pruebas de calidad. La idea es que se pueda volver a utilizarse más adelante para hacer pruebas de calidad en los lotes de producción, pero también en " +"otras áreas que una empresa pueda desear." + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_line +msgid "qc.test.template.line" +msgstr "qc.test.plantilla.linea" + +#. module: quality_control +#: field:qc.test.template,fill_correct_values:0 +msgid "Fill With Correct Values" +msgstr "REllenar con los valores correctos" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof_synonym +msgid "qc.proof.synonym" +msgstr "qc.prueba.sinonimo" + +#. module: quality_control +#: field:qc.test.template,object_id:0 +msgid "Reference Object" +msgstr "Objeto referencia" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_template_line_menu +msgid "Test Template Lines" +msgstr "Líneas de la plantilla del test" + +#. module: quality_control +#: field:qc.test.line,success:0 +msgid "Success?" +msgstr "Éxito?" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template +#: model:ir.model,name:quality_control.model_qc_test_template +#: model:ir.ui.menu,name:quality_control.qc_test_template_menu +#: view:qc.test.template:0 +#: field:qc.test.template.line,test_template_id:0 +msgid "Test Template" +msgstr "Plantilla del test" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_trigger +#: model:ir.ui.menu,name:quality_control.qc_test_template_trigger_menu +#: view:qc.test.template.trigger:0 +msgid "Template Trigger" +msgstr "Plantilla Disparador" + +#. module: quality_control +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Qualitative" +msgstr "Cualitativo" + +#. module: quality_control +#: view:qc.test.template.line:0 +msgid "proof Line" +msgstr "Línea de la prueba" + +#. module: quality_control +#: field:qc.test.line,proof_type:0 +msgid "Proof Type" +msgstr "Tipo de Prueba" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_proof_menu +#: view:qc.proof:0 +#: field:qc.proof.synonym,proof_id:0 +#: field:qc.test.line,proof_id:0 +#: field:qc.test.template.line,proof_id:0 +msgid "Proof" +msgstr "Prueba" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof +msgid "qc.proof" +msgstr "qc.prueba" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_proof_method +msgid "Methods" +msgstr "Métodos" + +#. module: quality_control +#: field:qc.test,object_id:0 +msgid "Reference" +msgstr "Referencia" + +#. module: quality_control +#: view:qc.test:0 +msgid "Select Template" +msgstr "Seleccionar plantilla" + +#. module: quality_control +#: constraint:qc.test.template.category:0 +msgid "Error ! You can not create recursive categories." +msgstr "Error! No se pueden crear categorías recursivas." + +#. module: quality_control +#: selection:qc.test.template,type:0 +msgid "Related" +msgstr "Relacionado" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test,test_external_note:0 +msgid "External Note" +msgstr "Nota externa" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test +msgid "qc.test" +msgstr "qc.test" + +#. module: quality_control +#: view:qc.proof.synonym:0 +msgid "Proof Synonym" +msgstr "Prueba sinónima" + +#. module: quality_control +#: help:qc.test.line,max_value:0 +msgid "Maximum valid value if it is a quantitative proof." +msgstr "Máximo valor válido si se trata de una prueba cuantitativa." + +#. module: quality_control +#: field:qc.posible.value,active:0 +#: field:qc.proof,active:0 +#: field:qc.proof.method,active:0 +#: field:qc.test.template,active:0 +#: field:qc.test.template.category,active:0 +#: field:qc.test.template.trigger,active:0 +msgid "Active" +msgstr "Activo" + +#. module: quality_control +#: view:qc.proof.method:0 +msgid "Proof Method" +msgstr "Método de la prueba" + +#. module: quality_control +#: constraint:ir.actions.act_window:0 +msgid "Invalid model name in the action definition." +msgstr "Nombre del modelo inválido en la definición de la acción." + +#. module: quality_control +#: view:qc.test:0 +msgid "Confirm" +msgstr "Confirmar" + +#. module: quality_control +#: selection:qc.test.template,type:0 +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_generic +msgid "Generic" +msgstr "Genérico" + +#. module: quality_control +#: field:qc.test.template.category,child_ids:0 +msgid "Child Categories" +msgstr "Categorías inferiores" + +#. module: quality_control +#: help:qc.test.line,actual_value_ql:0 +msgid "Value of the result if it is a qualitative proof." +msgstr "Valor del resultado si se trata de una prueba cualitativa." + +#. module: quality_control +#: field:qc.test,state:0 +msgid "State" +msgstr "Estado" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Draft" +msgstr "Borrador" + +#. module: quality_control +#: view:qc.posible.value:0 +msgid "Proof Posible Value" +msgstr "Posible valor de la prueba" + +#. module: quality_control +#: view:qc.test.line:0 +msgid "Test Result" +msgstr "Resultado del test" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_menu_config +msgid "Configuration" +msgstr "Configuración" + +#. module: quality_control +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "XML inválido para la arquitectura de vistas!" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_proof_synonym +msgid "Synonym" +msgstr "Sinónimo" + +#. module: quality_control +#: field:qc.test.template.category,parent_id:0 +msgid "Parent Category" +msgstr "Categoría padre" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_line +msgid "qc.test.line" +msgstr "qc.test.linea" + +#. module: quality_control +#: field:qc.test.template.category,complete_name:0 +msgid "Full Name" +msgstr "Nombre completo" + +#. module: quality_control +#: field:qc.test.line,actual_value_ql:0 +msgid "Ql.Value" +msgstr "Ql.valor" + +#. module: quality_control +#: field:qc.proof,type:0 +#: field:qc.test.template,type:0 +#: field:qc.test.template.line,type:0 +msgid "Type" +msgstr "Tipo" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_posible_value +#: model:ir.ui.menu,name:quality_control.qc_proof_posible_value_menu +#: field:qc.proof,value_ids:0 +msgid "Posible Values" +msgstr "Valores posibles" + +#. module: quality_control +#: field:qc.test.template,category_id:0 +msgid "Category" +msgstr "Categoria" + +#. module: quality_control +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_referenced +msgid "referenced" +msgstr "referencia" + +#. module: quality_control +#: model:ir.module.module,shortdesc:quality_control.module_meta_information +#: model:ir.ui.menu,name:quality_control.qc_menu +msgid "Quality Control" +msgstr "Control de calidad" + +#. module: quality_control +#: field:qc.test.template.category,name:0 +msgid "Category Name" +msgstr "Nombre de la Categoría" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof_method +#: model:ir.ui.menu,name:quality_control.qc_proof_method_menu +#: field:qc.test.line,method_id:0 +#: field:qc.test.template.line,method_id:0 +msgid "Method" +msgstr "Método" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_menu +msgid "Tests" +msgstr "Tests" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_category +msgid "qc.test.template.category" +msgstr "qc.test.plantilla.categoria" + +#. module: quality_control +#: help:qc.test.line,actual_value_qt:0 +msgid "Value of the result if it is a quantitative proof." +msgstr "Valor del resultado si se trata de una prueba cuantitativa." + +#. module: quality_control +#: help:qc.test.line,min_value:0 +msgid "Minimum valid value if it is a quantitative proof." +msgstr "Mínimo valor válido si se trata de una prueba cuantitativa." + +#. module: quality_control +#: field:qc.test,name:0 +msgid "Date" +msgstr "Fecha" + +#. module: quality_control +#: view:qc.proof.method:0 +msgid "Test Method" +msgstr "Método del test" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_trigger +msgid "qc.test.template.trigger" +msgstr "qc.test.plantilla.disparador" + +#. module: quality_control +#: field:qc.test,success:0 +msgid "Success" +msgstr "Éxito" + +#. module: quality_control +#: help:qc.test.line,test_uom_id:0 +msgid "UoM of the value of the result if it is a quantitative proof." +msgstr "UoM del valor del resultado, si se trata de una prueba cuantitativa." + +#. module: quality_control +#: field:qc.test,enabled:0 +msgid "Enabled" +msgstr "Activado" + +#. module: quality_control +#: field:qc.test.line,test_uom_id:0 +msgid "Uom Test" +msgstr "Uom test" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Waiting Supervisor Approval" +msgstr "Esperando la aprobación del supervisor" + +#. module: quality_control +#: help:qc.test,enabled:0 +msgid "If a quality control test is not enabled it means it can not be moved from \"Quality Success\" or \"Quality Failed\" state." +msgstr "Si una prueba de control de calidad no está habilitada, significa que no se pueden mover del estado \"Calidad Correcta\" o \"Calidad Errónea\"." + +#. module: quality_control +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Quantitative" +msgstr "Cuantitativa" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_line +#: field:qc.test.line,test_template_line_id:0 +#: view:qc.test.template.line:0 +msgid "Test Template Line" +msgstr "Línea de la plantilla del test" + +#. module: quality_control +#: field:qc.proof,ref:0 +msgid "Code" +msgstr "Código" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Quality Failed" +msgstr "Calidad errónea" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test,test_internal_note:0 +msgid "Internal Note" +msgstr "Nota interna" + +#. module: quality_control +#: field:qc.proof,synonym_ids:0 +#: field:qc.proof,synonyms:0 +msgid "Synonyms" +msgstr "Sinónimos" + +#. module: quality_control +#: help:qc.test.line,uom_id:0 +msgid "UoM for minimum and maximum values if it is a quantitative proof." +msgstr "UoM para el valor Máximo y Mínimo válido, si se trata de una prueba cuantitativa." + +#. module: quality_control +#: view:qc.test:0 +#: view:qc.test.set.template.wizard:0 +msgid "Cancel" +msgstr "Cancelar" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_proof +msgid "proof" +msgstr "Prueba" + +#. module: quality_control +#: constraint:ir.model:0 +msgid "The Object name must start with x_ and not contain any special character !" +msgstr "El nombre del objeto debe empezar con x_ y no debe contener ningún carácter especial!" + +#. module: quality_control +#: field:qc.test.line,min_value:0 +#: field:qc.test.template.line,min_value:0 +msgid "Min" +msgstr "Mínimo" + +#. module: quality_control +#: view:qc.test.line:0 +msgid "Test Values" +msgstr "Valores del Test" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_posible_value +msgid "qc.posible.value" +msgstr "qc.posible.valor" + +#. module: quality_control +#: view:qc.proof.synonym:0 +msgid "Test Synonym" +msgstr "Test Sinónimo" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_lines_menu +#: field:qc.test,test_line_ids:0 +msgid "Test Lines" +msgstr "Líneas del test" + +#. module: quality_control +#: field:qc.test.line,max_value:0 +#: field:qc.test.template.line,max_value:0 +msgid "Max" +msgstr "Máx" + +#. module: quality_control +#: help:qc.test,success:0 +msgid "This field will be active if all tests have succeeded." +msgstr "Este campo se activa si todas las pruebas han tenido éxito." + +#. module: quality_control +#: field:qc.test.line,notes:0 +#: field:qc.test.template.line,notes:0 +msgid "Notes" +msgstr "Notas" + +#. module: quality_control +#: view:qc.test.set.template.wizard:0 +msgid "Select Test Template" +msgstr "Seleccionar plantilla del test" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_line +#: view:qc.test.line:0 +msgid "Test Line" +msgstr "Línea del test" + +#. module: quality_control +#: field:qc.posible.value,name:0 +#: field:qc.proof,name:0 +#: field:qc.proof.method,name:0 +#: field:qc.proof.synonym,name:0 +#: field:qc.test.template,name:0 +#: field:qc.test.template.trigger,name:0 +msgid "Name" +msgstr "Nombre" + +#. module: quality_control +#: field:qc.test.template,test_template_line_ids:0 +msgid "Lines" +msgstr "Líneas" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test.line,valid_value_ids:0 +#: field:qc.test.template.line,valid_value_ids:0 +msgid "Values" +msgstr "Valores" + +#. module: quality_control +#: view:qc.test:0 +msgid "Approve" +msgstr "Aprobar" + +#. module: quality_control +#: field:qc.test.line,actual_value_qt:0 +msgid "Qt.Value" +msgstr "Qt.valor" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Quality Success" +msgstr "Calidad correcta" + +#. module: quality_control +#: field:qc.test.template.line,sequence:0 +msgid "Sequence" +msgstr "Secuencia" + +#. module: quality_control +#: view:qc.test.set.template.wizard:0 +msgid "Accept" +msgstr "Aceptar" + +#. module: quality_control +#: help:qc.test.template.category,active:0 +msgid "The active field allows you to hide the category without removing it." +msgstr "El campo activo le permite ocultar la categoría sin eliminarlo." + + diff --git a/quality_control_oca/i18n/quality_control.pot b/quality_control_oca/i18n/quality_control.pot new file mode 100644 index 00000000000..7a800bf63ed --- /dev/null +++ b/quality_control_oca/i18n/quality_control.pot @@ -0,0 +1,553 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * quality_control +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 5.0.12\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2010-08-31 07:57:32+0000\n" +"PO-Revision-Date: 2010-08-31 07:57:32+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: quality_control +#: view:qc.test.line:0 +msgid "Check Values" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,trig_on:0 +msgid "Trigger" +msgstr "" + +#. module: quality_control +#: view:qc.posible.value:0 +msgid "Posible Value" +msgstr "" + +#. module: quality_control +#: field:qc.test.set.template.wizard,test_template_id:0 +msgid "Template" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_new_test +#: view:qc.test:0 +#: field:qc.test,test_template_id:0 +#: field:qc.test.line,test_id:0 +msgid "Test" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_set_template_wizard_form +#: model:ir.model,name:quality_control.model_qc_test_set_template_wizard +msgid "qc.test.set.template.wizard" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,uom_id:0 +#: field:qc.test.template.line,uom_id:0 +msgid "Uom" +msgstr "" + +#. module: quality_control +#: model:ir.module.module,description:quality_control.module_meta_information +msgid "This module provides a generic infrastructure for quality tests. The idea is that it can be later be reused for doing quality tests in production lots but also in any other areas a company may desire." +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_line +msgid "qc.test.template.line" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,fill_correct_values:0 +msgid "Fill With Correct Values" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof_synonym +msgid "qc.proof.synonym" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,object_id:0 +msgid "Reference Object" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_template_line_menu +msgid "Test Template Lines" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,success:0 +msgid "Success?" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template +#: model:ir.model,name:quality_control.model_qc_test_template +#: model:ir.ui.menu,name:quality_control.qc_test_template_menu +#: view:qc.test.template:0 +#: field:qc.test.template.line,test_template_id:0 +msgid "Test Template" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_trigger +#: model:ir.ui.menu,name:quality_control.qc_test_template_trigger_menu +#: view:qc.test.template.trigger:0 +msgid "Template Trigger" +msgstr "" + +#. module: quality_control +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Qualitative" +msgstr "" + +#. module: quality_control +#: view:qc.test.template.line:0 +msgid "proof Line" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,proof_type:0 +msgid "Proof Type" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_proof_menu +#: view:qc.proof:0 +#: field:qc.proof.synonym,proof_id:0 +#: field:qc.test.line,proof_id:0 +#: field:qc.test.template.line,proof_id:0 +msgid "Proof" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof +msgid "qc.proof" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_proof_method +msgid "Methods" +msgstr "" + +#. module: quality_control +#: field:qc.test,object_id:0 +msgid "Reference" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +msgid "Select Template" +msgstr "" + +#. module: quality_control +#: constraint:qc.test.template.category:0 +msgid "Error ! You can not create recursive categories." +msgstr "" + +#. module: quality_control +#: selection:qc.test.template,type:0 +msgid "Related" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test,test_external_note:0 +msgid "External Note" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test +msgid "qc.test" +msgstr "" + +#. module: quality_control +#: view:qc.proof.synonym:0 +msgid "Proof Synonym" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,max_value:0 +msgid "Maximum valid value if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: field:qc.posible.value,active:0 +#: field:qc.proof,active:0 +#: field:qc.proof.method,active:0 +#: field:qc.test.template,active:0 +#: field:qc.test.template.category,active:0 +#: field:qc.test.template.trigger,active:0 +msgid "Active" +msgstr "" + +#. module: quality_control +#: view:qc.proof.method:0 +msgid "Proof Method" +msgstr "" + +#. module: quality_control +#: constraint:ir.actions.act_window:0 +msgid "Invalid model name in the action definition." +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +msgid "Confirm" +msgstr "" + +#. module: quality_control +#: selection:qc.test.template,type:0 +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_generic +msgid "Generic" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.category,child_ids:0 +msgid "Child Categories" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,actual_value_ql:0 +msgid "Value of the result if it is a qualitative proof." +msgstr "" + +#. module: quality_control +#: field:qc.test,state:0 +msgid "State" +msgstr "" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Draft" +msgstr "" + +#. module: quality_control +#: view:qc.posible.value:0 +msgid "Proof Posible Value" +msgstr "" + +#. module: quality_control +#: view:qc.test.line:0 +msgid "Test Result" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_menu_config +msgid "Configuration" +msgstr "" + +#. module: quality_control +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_proof_synonym +msgid "Synonym" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.category,parent_id:0 +msgid "Parent Category" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_line +msgid "qc.test.line" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.category,complete_name:0 +msgid "Full Name" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,actual_value_ql:0 +msgid "Ql.Value" +msgstr "" + +#. module: quality_control +#: field:qc.proof,type:0 +#: field:qc.test.template,type:0 +#: field:qc.test.template.line,type:0 +msgid "Type" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_posible_value +#: model:ir.ui.menu,name:quality_control.qc_proof_posible_value_menu +#: field:qc.proof,value_ids:0 +msgid "Posible Values" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,category_id:0 +msgid "Category" +msgstr "" + +#. module: quality_control +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_referenced +msgid "referenced" +msgstr "" + +#. module: quality_control +#: model:ir.module.module,shortdesc:quality_control.module_meta_information +#: model:ir.ui.menu,name:quality_control.qc_menu +msgid "Quality Control" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.category,name:0 +msgid "Category Name" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_proof_method +#: model:ir.ui.menu,name:quality_control.qc_proof_method_menu +#: field:qc.test.line,method_id:0 +#: field:qc.test.template.line,method_id:0 +msgid "Method" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_menu +msgid "Tests" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_category +msgid "qc.test.template.category" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,actual_value_qt:0 +msgid "Value of the result if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: help:qc.test.line,min_value:0 +msgid "Minimum valid value if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: field:qc.test,name:0 +msgid "Date" +msgstr "" + +#. module: quality_control +#: view:qc.proof.method:0 +msgid "Test Method" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_trigger +msgid "qc.test.template.trigger" +msgstr "" + +#. module: quality_control +#: field:qc.test,success:0 +msgid "Success" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,test_uom_id:0 +msgid "UoM of the value of the result if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: field:qc.test,enabled:0 +msgid "Enabled" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,test_uom_id:0 +msgid "Uom Test" +msgstr "" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Waiting Supervisor Approval" +msgstr "" + +#. module: quality_control +#: help:qc.test,enabled:0 +msgid "If a quality control test is not enabled it means it can not be moved from \"Quality Success\" or \"Quality Failed\" state." +msgstr "" + +#. module: quality_control +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Quantitative" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_line +#: field:qc.test.line,test_template_line_id:0 +#: view:qc.test.template.line:0 +msgid "Test Template Line" +msgstr "" + +#. module: quality_control +#: field:qc.proof,ref:0 +msgid "Code" +msgstr "" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Quality Failed" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test,test_internal_note:0 +msgid "Internal Note" +msgstr "" + +#. module: quality_control +#: field:qc.proof,synonym_ids:0 +#: field:qc.proof,synonyms:0 +msgid "Synonyms" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,uom_id:0 +msgid "UoM for minimum and maximum values if it is a quantitative proof." +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +#: view:qc.test.set.template.wizard:0 +msgid "Cancel" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_proof +msgid "proof" +msgstr "" + +#. module: quality_control +#: constraint:ir.model:0 +msgid "The Object name must start with x_ and not contain any special character !" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,min_value:0 +#: field:qc.test.template.line,min_value:0 +msgid "Min" +msgstr "" + +#. module: quality_control +#: view:qc.test.line:0 +msgid "Test Values" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_posible_value +msgid "qc.posible.value" +msgstr "" + +#. module: quality_control +#: view:qc.proof.synonym:0 +msgid "Test Synonym" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_lines_menu +#: field:qc.test,test_line_ids:0 +msgid "Test Lines" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,max_value:0 +#: field:qc.test.template.line,max_value:0 +msgid "Max" +msgstr "" + +#. module: quality_control +#: help:qc.test,success:0 +msgid "This field will be active if all tests have succeeded." +msgstr "" + +#. module: quality_control +#: field:qc.test.line,notes:0 +#: field:qc.test.template.line,notes:0 +msgid "Notes" +msgstr "" + +#. module: quality_control +#: view:qc.test.set.template.wizard:0 +msgid "Select Test Template" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_line +#: view:qc.test.line:0 +msgid "Test Line" +msgstr "" + +#. module: quality_control +#: field:qc.posible.value,name:0 +#: field:qc.proof,name:0 +#: field:qc.proof.method,name:0 +#: field:qc.proof.synonym,name:0 +#: field:qc.test.template,name:0 +#: field:qc.test.template.trigger,name:0 +msgid "Name" +msgstr "" + +#. module: quality_control +#: field:qc.test.template,test_template_line_ids:0 +msgid "Lines" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +#: field:qc.test.line,valid_value_ids:0 +#: field:qc.test.template.line,valid_value_ids:0 +msgid "Values" +msgstr "" + +#. module: quality_control +#: view:qc.test:0 +msgid "Approve" +msgstr "" + +#. module: quality_control +#: field:qc.test.line,actual_value_qt:0 +msgid "Qt.Value" +msgstr "" + +#. module: quality_control +#: selection:qc.test,state:0 +msgid "Quality Success" +msgstr "" + +#. module: quality_control +#: field:qc.test.template.line,sequence:0 +msgid "Sequence" +msgstr "" + +#. module: quality_control +#: view:qc.test.set.template.wizard:0 +msgid "Accept" +msgstr "" + +#. module: quality_control +#: help:qc.test.template.category,active:0 +msgid "The active field allows you to hide the category without removing it." +msgstr "" + diff --git a/quality_control_oca/models/__init__.py b/quality_control_oca/models/__init__.py new file mode 100644 index 00000000000..93bc89c589d --- /dev/null +++ b/quality_control_oca/models/__init__.py @@ -0,0 +1,31 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2010 NaN Projectes de Programari Lliure, S.L. +# All Rights Reserved. +# http://www.NaN-tic.com +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +from . import quality_control diff --git a/quality_control_oca/models/quality_control.py b/quality_control_oca/models/quality_control.py new file mode 100644 index 00000000000..dc6a4756c80 --- /dev/null +++ b/quality_control_oca/models/quality_control.py @@ -0,0 +1,636 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2010 NaN Projectes de Programari Lliure, S.L. +# All Rights Reserved. +# http://www.NaN-tic.com +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +from openerp.tools.translate import _ +from openerp.osv import orm, fields +import time + + +class QcProofMethod(orm.Model): + """ + This model stores a method for doing a test. Examples of methods are: + "Eu.Pharm.v.v. (2.2.32)" or "HPLC" + """ + _name = 'qc.proof.method' + _description = 'Method' + + _columns = { + 'name': fields.char('Name', size=100, required=True, select="1", + translate=True), + 'active': fields.boolean('Active', select="1"), + } + + _defaults = { + 'active': True, + } + + +class QcPosibleValue(orm.Model): + """ + This model stores all possible values of qualitative proof. + """ + _name = 'qc.posible.value' + + _columns = { + 'name': fields.char('Name', size=200, required=True, select="1", + translate=True), + 'active': fields.boolean('Active', select="1"), + } + + _defaults = { + 'active': True, + } + + def search(self, cr, uid, args, offset=0, limit=None, order=None, + context=None, count=False): + if context is None: + context = {} + if context.get('proof_id'): + ctx = context.copy() + del ctx['proof_id'] + proof = self.pool['qc.proof'].browse(cr, uid, context['proof_id'], + ctx) + result = [x.id for x in proof.value_ids] + args = args[:] + args.append(('id', 'in', result)) + return super(QcPosibleValue, self).search(cr, uid, args, offset, limit, + order, context, count) + + +class QcProof(orm.Model): + """ + This model stores proofs which will be part of a test. Proofs are + classified between qualitative (such as color) and quantitative (such as + density). + + Proof must be related with method, and Poof-Method relation must be unique + + A name_search on thish model will search on 'name' field but also on any of + its synonyms. + """ + _name = 'qc.proof' + + def _synonyms(self, cr, uid, ids, field_name, arg, context=None): + result = {} + for proof in self.browse(cr, uid, ids, context=context): + texts = [] + for syn in proof.synonym_ids: + texts.append(syn.name) + result[proof.id] = ', '.join(texts) + return result + + _columns = { + 'name': fields.char('Name', size=200, required=True, select="1", + translate=True), + 'ref': fields.char('Code', size=30, select="1"), + 'active': fields.boolean('Active', select="1"), + 'synonym_ids': fields.one2many('qc.proof.synonym', 'proof_id', + 'Synonyms'), + 'type': fields.selection([('qualitative', 'Qualitative'), + ('quantitative', 'Quantitative')], 'Type', + select="1", required=True), + 'value_ids': fields.many2many('qc.posible.value', + 'qc_proof_posible_value_rel', 'proof_id', + 'posible_value_id', 'Posible Values'), + 'synonyms': fields.function(_synonyms, method=True, type='char', + size='1000', string='Synonyms', + store=False), + } + + _defaults = { + 'active': lambda *a: True, + } + + _sql_constraints = [ + ('proof_method_unique', 'UNIQUE (id, method_id)', + _('Proof-Method relation alredy exists!')), + ] + + def name_search(self, cr, uid, name='', args=None, operator='ilike', + context=None, limit=None): + result = super(QcProof, self).name_search(cr, uid, name=name, + args=args, operator=operator, + context=context, limit=limit) + synonym_obj = self.pool['qc.proof.synonym'] + if name: + ids = [x[0] for x in result] + new_ids = [] + syns = synonym_obj.name_search(cr, uid, name=name, args=args, + operator=operator, context=context, + limit=limit) + syns = [x[0] for x in syns] + for syn in synonym_obj.browse(cr, uid, syns, context=context): + if not syn.proof_id.id in ids: + new_ids.append(syn.proof_id.id) + result += self.name_get(cr, uid, new_ids, context=context) + return result + +# def name_get(self, cr, uid, ids, context=None): +# result = [] +# for proof in self.browse(cr, uid, ids, context=context): +# text = proof.name +# if proof.synonym_ids: +# text += " [%s]" % proof.synonyms +# result.append((proof.id, text)) +# return result + + +class QcProofSynonym(orm.Model): + """ + Proofs may have synonyms. These are used because suppliers may use + different names for the same proof. + """ + _name = 'qc.proof.synonym' + + _columns = { + 'name': fields.char('Name', size=200, required=True, select="1", + translate=True), + 'proof_id': fields.many2one('qc.proof', 'Proof', required=True), + } + + +class QcTestTemplateCategory(orm.Model): + """ + This model is used to categorize proof templates. + """ + _name = 'qc.test.template.category' + _description = 'Test Template Category' + + def name_get(self, cr, uid, ids, context=None): + if not len(ids): + return [] + reads = self.read(cr, uid, ids, ['name', 'parent_id'], context=context) + res = [] + for record in reads: + name = record['name'] + if record['parent_id']: + name = record['parent_id'][1] + ' / ' + name + res.append((record['id'], name)) + return res + + def _name_get_fnc(self, cr, uid, ids, prop, unknow_none, context=None): + res = self.name_get(cr, uid, ids, context=context) + return dict(res) + + def _check_recursion(self, cr, uid, ids): + level = 100 + while len(ids): + cr.execute('SELECT DISTINCT parent_id FROM' + ' qc_test_template_category WHERE id IN (' + + ','.join(map(str, ids)) + ')') + ids = [x[0] for x in cr.fetchall() if x[0] is not None] + if not level: + return False + level -= 1 + return True + + _columns = { + 'name': fields.char('Category Name', required=True, size=64, + translate=True), + 'parent_id': fields.many2one('qc.test.template.category', + 'Parent Category', select=True), + 'complete_name': fields.function(_name_get_fnc, method=True, + type="char", string='Full Name'), + 'child_ids': fields.one2many('qc.test.template.category', 'parent_id', + 'Child Categories'), + 'active': fields.boolean('Active', + help="The active field allows you to hide the" + " category without removing it."), + } + + _constraints = [ + (_check_recursion, + _('Error ! You can not create recursive categories.'), ['parent_id']) + ] + + _defaults = { + 'active': 1, + } + + +class QcTestTemplateTrigger(orm.Model): + _name = 'qc.test.template.trigger' + _description = 'Test Template Trigger' + + _columns = { + 'name': fields.char('Name', size=64, required=True, readonly=False, + translate=True), + 'active': fields.boolean('Active', required=False), + } + + _defaults = { + 'active': 1, + } + + +class QcTestTemplate(orm.Model): + """ + A template is a group of proofs to with the values that make them valid. + """ + _name = 'qc.test.template' + _description = 'Test Template' + + def _links_get(self, cr, uid, context=None): + #TODO: Select models + link_obj = self.pool['res.request.link'] + ids = link_obj.search(cr, uid, [], context=context) + res = link_obj.read(cr, uid, ids, ['object', 'name'], context=context) + return [(r['object'], r['name']) for r in res] + + def _default_name(self, cr, uid, context=None): + if context and context.get('reference_model', False): + id = context.get('reference_id') + if not id: + id = context.get('active_id') + if id: + source = self.pool[context['reference_model']].browse( + cr, uid, id, context=context) + if hasattr(source, 'name'): + return source.name + + def _default_object_id(self, cr, uid, context=None): + if context and context.get('reference_model', False): + return '%s,%d' % (context['reference_model'], + context['reference_id']) + else: + return False + + def _default_type(self, cr, uid, context=None): + if context and context.get('reference_model'): + return 'related' + else: + return False + + _columns = { + 'active': fields.boolean('Active', select="1"), + 'name': fields.char('Name', size=200, required=True, translate=True, + select="1"), + 'test_template_line_ids': fields.one2many('qc.test.template.line', + 'test_template_id', 'Lines'), + 'object_id': fields.reference('Reference Object', selection=_links_get, + size=128), + 'fill_correct_values': fields.boolean('Fill With Correct Values'), + 'type': fields.selection([('generic', 'Generic'), + ('related', 'Related')], 'Type', select="1"), + 'category_id': fields.many2one('qc.test.template.category', + 'Category'), + 'trig_on': fields.many2one('qc.test.template.trigger', 'Trigger'), + } + + _defaults = { + 'name': _default_name, + 'active': True, + 'object_id': _default_object_id, + 'type': _default_type, + } + + +class QcTestTemplateLine(orm.Model): + """ + Each test template line has a reference to a proof and the valid + value/values. + """ + _name = 'qc.test.template.line' + _description = 'Test Template Line' + _order = 'sequence asc' + _rec_name = 'sequence' + + def onchange_proof_id(self, cr, uid, ids, proof_id, context=None): + if not proof_id: + return {} + proof = self.pool['qc.proof'].browse(cr, uid, proof_id, + context=context) + return {'value': {'type': proof.type}} + + _columns = { + 'sequence': fields.integer('Sequence', required=True), + 'test_template_id': fields.many2one('qc.test.template', + 'Test Template', select="1"), + 'proof_id': fields.many2one('qc.proof', 'Proof', required=True, + select="1"), + 'valid_value_ids': fields.many2many('qc.posible.value', + 'qc_template_value_rel', + 'template_line_id', 'value_id', + 'Values'), + 'method_id': fields.many2one('qc.proof.method', 'Method', select="1"), + 'notes': fields.text('Notes'), + 'min_value': fields.float('Min', digits=(16, 5)), # Quantitative only + 'max_value': fields.float('Max', digits=(15, 5)), # Quantitative only + 'uom_id': fields.many2one('product.uom', 'Uom'), # Quantitative only + 'type': fields.selection([('qualitative', 'Qualitative'), + ('quantitative', 'Quantitative')], + 'Type', select="1"), + } + + _defaults = { + 'sequence': 1, + } + + +class QcTest(orm.Model): + """ + This model contains an instance of a test template. + """ + _name = 'qc.test' + + def _success(self, cr, uid, ids, field_name, arg, context=None): + result = {} + for test in self.browse(cr, uid, ids, context=context): + success = False + if len(test.test_line_ids): + success = True + proof = {} + for line in test.test_line_ids: + proof[line.proof_id.id] = (proof.get(line.proof_id.id, + False) + or line.success) + for p in proof: + if not proof[p]: + success = False + break + result[test.id] = success + return result + + def _links_get(self, cr, uid, context=None): + # TODO: Select models + link_obj = self.pool['res.request.link'] + ids = link_obj.search(cr, uid, [], context=context) + res = link_obj.read(cr, uid, ids, ['object', 'name'], context=context) + return [(r['object'], r['name']) for r in res] + + def _default_object_id(self, cr, uid, context=None): + if context and context.get('reference_model', False): + return '%s,%d' % (context['reference_model'], + context['reference_id']) + else: + return False + + _columns = { + 'name': fields.datetime('Date', required=True, readonly=True, + states={'draft': [('readonly', False)]}, + select="1"), + 'object_id': fields.reference('Reference', selection=_links_get, + size=128, readonly=True, + states={'draft': [('readonly', False)]}, + select="1"), + 'test_template_id': fields.many2one('qc.test.template', 'Test', + states={'success': + [('readonly', True)], + 'failed': + [('readonly', True)]}, + select="1"), + 'test_line_ids': fields.one2many('qc.test.line', 'test_id', + 'Test Lines', + states={'success': + [('readonly', True)], + 'failed': + [('readonly', True)]}), + 'test_internal_note': fields.text('Internal Note', + states={'success': + [('readonly', True)], + 'failed': + [('readonly', True)]}), + 'test_external_note': fields.text('External Note', + states={'success': + [('readonly', True)], + 'failed': + [('readonly', True)]}), + 'state': fields.selection([ + ('draft', 'Draft'), + ('waiting', 'Waiting Supervisor Approval'), + ('success', 'Quality Success'), + ('failed', 'Quality Failed'), + ], 'State', readonly=True, select="1"), + 'success': fields.function(_success, method=True, type='boolean', + string='Success', + help='This field will be active if all' + ' tests have succeeded.', select="1", + store=True), + 'enabled': fields.boolean('Enabled', readonly=True, + help='If a quality control test is not' + ' enabled it means it can not be moved from' + ' "Quality Success" or "Quality Failed"' + ' state.', select="1"), + } + _defaults = { + 'name': lambda *a: time.strftime('%Y-%m-%d %H:%M:%S'), + 'state': 'draft', + 'object_id': _default_object_id, + 'enabled': True, + } + + def copy(self, cr, uid, id, default=None, context=None): + if context is None: + context = {} + + if default is None: + default = {} + default['name'] = time.strftime('%Y-%m-%d %H:%M:%S') + return super(QcTest, self).copy(cr, uid, id, default, context=context) + + def create(self, cr, uid, datas, context=None): + if context and context.get('reference_model', False): + datas['object_id'] = (context['reference_model'] + "," + + str(context['reference_id'])) + return super(orm.Model, self).create(cr, uid, datas, context=context) + + def qc_test_success(self, cr, uid, ids, context=None): + self.write(cr, uid, ids, { + 'state': 'success' + }, context=context) + return True + + def qc_test_failed(self, cr, uid, ids, context=None): + self.write(cr, uid, ids, { + 'state': 'failed' + }, context=context) + return True + + def test_state(self, cr, uid, ids, mode, *args): + quality_check = False + if mode == 'failed': + return not quality_check + if mode == 'success': + return quality_check + return False + + def set_test_template(self, cr, uid, ids, template_id, force_fill=False, + context=None): + if context is None: + context = {} + test_obj = self.pool['qc.test'] + test_line_obj = self.pool['qc.test.line'] + for id in ids: + test_obj.write(cr, uid, id, { + 'test_template_id': template_id + }, context) + test = test_obj.browse(cr, uid, id, context=context) + + if len(test.test_line_ids) > 0: + test_line_obj.unlink(cr, uid, + [x.id for x in test.test_line_ids], + context=context) + + fill = False + if test.test_template_id.fill_correct_values: + fill = True + for line in test.test_template_id.test_template_line_ids: + data = { + 'test_id': id, + 'method_id': line.method_id.id, + 'proof_id': line.proof_id.id, + 'test_template_line_id': line.id, + 'notes': line.notes, + 'min_value': line.min_value, + 'max_value': line.max_value, + 'uom_id': line.uom_id.id, + 'test_uom_id': line.uom_id.id, + 'proof_type': line.type, + } + if fill or force_fill: + if line.type == 'qualitative': + # Fill with the first correct value finded. + data['actual_value_ql'] = ( + len(line.valid_value_ids) and + line.valid_value_ids[0] and + line.valid_value_ids[0].id or False) + + else: + # Fill with value inside range. + data['actual_value_qt'] = line.min_value + data['test_uom_id'] = line.uom_id.id + + test_line_id = test_line_obj.create(cr, uid, data, + context=context) + test_line_obj.write( + cr, uid, [test_line_id], + {'valid_value_ids': + [(6, 0, [x.id for x in line.valid_value_ids])]}, + context=context) + + +class QcTestLine(orm.Model): + """ + Each test line has a value and a reference to a proof template line. + """ + _name = 'qc.test.line' + _rec_name = 'proof_id' + + def quality_test_check(self, cr, uid, ids, field_name, field_value, + context=None): + res = {} + lines = self.browse(cr, uid, ids, context=None) + for line in lines: + if line.proof_type == 'qualitative': + res[line.id] = self.quality_test_qualitative_check( + cr, uid, line, context=None) + else: + res[line.id] = self.quality_test_quantitative_check( + cr, uid, line, context=None) + return res + + def quality_test_qualitative_check(self, cr, uid, test_line, context=None): + if test_line.actual_value_ql in test_line.valid_value_ids: + return True + else: + return False + + def quality_test_quantitative_check(self, cr, uid, test_line, + context=None): + amount = self.pool['product.uom']._compute_qty( + cr, uid, test_line.uom_id.id, test_line.actual_value_qt, + test_line.test_uom_id.id) + if amount >= test_line.min_value and amount <= test_line.max_value: + return True + else: + return False + + _columns = { + 'test_id': fields.many2one('qc.test', 'Test'), + 'test_template_line_id': fields.many2one('qc.test.template.line', + 'Test Template Line', + readonly=True), + 'proof_id': fields.many2one('qc.proof', 'Proof', readonly=True), + 'method_id': fields.many2one('qc.proof.method', 'Method', + readonly=True), + 'valid_value_ids': fields.many2many('qc.posible.value', + 'qc_test_value_rel', + 'test_line_id', 'value_id', + 'Values'), + 'actual_value_qt': fields.float('Qt.Value', digits=(16, 5), + help="Value of the result if it is a" + " quantitative proof."), + 'actual_value_ql': fields.many2one('qc.posible.value', 'Ql.Value', + help="Value of the result if it is" + " a qualitative proof."), + 'notes': fields.text('Notes', readonly=True), + 'min_value': fields.float('Min', digits=(16, 5), readonly=True, + help="Minimum valid value if it is a" + " quantitative proof."), + 'max_value': fields.float('Max', digits=(16, 5), readonly=True, + help="Maximum valid value if it is a" + " quantitative proof."), + 'uom_id': fields.many2one('product.uom', 'Uom', readonly=True, + help="UoM for minimum and maximum values if" + " it is a quantitative proof."), + 'test_uom_id': fields.many2one('product.uom', 'Uom Test', + help="UoM of the value of the result" + " if it is a quantitative proof."), + 'proof_type': fields.selection([('qualitative', 'Qualitative'), + ('quantitative', 'Quantitative')], + 'Proof Type', readonly=True), + 'success': fields.function(quality_test_check, type='boolean', + method=True, string="Success?", select="1"), + } + + def onchange_actual_value_qt(self, cr, uid, ids, uom_id, test_uom_id, + actual_value_qt, min_value, max_value, + context=None): + res = {} + if actual_value_qt: + amount = self.pool['product.uom']._compute_qty(cr, uid, uom_id, + actual_value_qt, + test_uom_id) + if amount >= min_value and amount <= max_value: + res.update({'success': True}) + else: + res.update({'success': False}) + return {'value': res} + + def onchange_actual_value_ql(self, cr, uid, ids, actual_value_ql, + valid_value_ids, context=None): + res = {} + if actual_value_ql: + valid = valid_value_ids[0][2] + if actual_value_ql in valid: + res.update({'success': True}) + else: + res.update({'success': False}) + return {'value': res} diff --git a/quality_control_oca/security/ir.model.access.csv b/quality_control_oca/security/ir.model.access.csv new file mode 100644 index 00000000000..e1396873f9c --- /dev/null +++ b/quality_control_oca/security/ir.model.access.csv @@ -0,0 +1,13 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_user_qc_test,qc_test,quality_control.model_qc_test,quality_control.group_quality_control_user,1,1,1,1 +access_user_qc_test_line,qc_test_line,quality_control.model_qc_test_line,quality_control.group_quality_control_user,1,1,1,1 +access_user_qc_test_template,qc_test_template user,quality_control.model_qc_test_template,quality_control.group_quality_control_user,1,0,0,0 +access_user_qc_test_template_line,qc_test_template_line user,quality_control.model_qc_test_template_line,quality_control.group_quality_control_user,1,0,0,0 +access_manager_qc_test_template,qc_test_template manager,quality_control.model_qc_test_template,quality_control.group_quality_control_manager,1,1,1,1 +access_manager_qc_test_template_line,qc_test_template_line manager,quality_control.model_qc_test_template_line,quality_control.group_quality_control_manager,1,1,1,1 +access_manager_qc_proof_method,qc_proof_method,quality_control.model_qc_proof_method,quality_control.group_quality_control_manager,1,1,1,1 +access_manager_qc_posible_value,qc_posible_value,quality_control.model_qc_posible_value,quality_control.group_quality_control_manager,1,1,1,1 +access_manager_qc_proof,qc_proof,quality_control.model_qc_proof,quality_control.group_quality_control_manager,1,1,1,1 +access_manager_qc_proof_synonym,qc_proof_synonym,quality_control.model_qc_proof_synonym,quality_control.group_quality_control_manager,1,1,1,1 +access_manager_qc_test_template_category,qc_test_template_category,quality_control.model_qc_test_template_category,quality_control.group_quality_control_manager,1,1,1,1 +access_manager_qc_test_template_trigger,qc_test_template_trigger,quality_control.model_qc_test_template_trigger,quality_control.group_quality_control_manager,1,1,1,1 diff --git a/quality_control_oca/security/quality_control_security.xml b/quality_control_oca/security/quality_control_security.xml new file mode 100644 index 00000000000..2efdaaf2fcd --- /dev/null +++ b/quality_control_oca/security/quality_control_security.xml @@ -0,0 +1,18 @@ + + + + + + User + + + + + Manager + + + + + + + diff --git a/quality_control_oca/views/quality_control_view.xml b/quality_control_oca/views/quality_control_view.xml new file mode 100644 index 00000000000..f14ef2c6c57 --- /dev/null +++ b/quality_control_oca/views/quality_control_view.xml @@ -0,0 +1,515 @@ + + + + + + + + + + + qc.proof.method.form + qc.proof.method + +
+ + + + +
+
+
+ + qc.proof.method.tree + qc.proof.method + + + + + + + + Methods + qc.proof.method + form + tree,form + + + + + + + qc.posible.value.form + qc.posible.value + +
+ + + + +
+
+
+ + qc.posible_value.tree + qc.posible.value + + + + + + + + Posible Values + qc.posible.value + form + tree,form + + + + + + + qc.test.template.trigger.form + qc.test.template.trigger + +
+ + + + +
+
+
+ + qc.test.template.trigger.tree + qc.test.template.trigger + + + + + + + + Template Trigger + qc.test.template.trigger + form + tree,form + + + + + + + qc.proof.synonym + qc.proof.synonym + +
+ + + + +
+
+
+ + qc.proof.synonym.tree + qc.proof.synonym + + + + + + + + + Synonym + qc.proof.synonym + form + tree,form + + + + + + + qc.proof.form + qc.proof + +
+ + + + + + + + + + + + + + +
+
+
+ + qc.proof.tree + qc.proof + + + + + + + + + + Proof + qc.proof + form + tree,form + + + + + + qc.test.template.category.form + qc.test.template.category + +
+ + + + + + + + + + +
+
+
+ + + qc.test.template.category.tree + qc.test.template.category + + + + + + + + + + + + Test Template Category + qc.test.template.category + form + tree,form + + + + + + + + + qc.test.template.form + qc.test.template + 8 + +
+ +

+ +

+ + + + + + + + + + + + + +
+
+
+
+ + qc.test.template_tree + qc.test.template + + + + + + + + + + + + Test Template + qc.test.template + form + tree,form + + + + + + + qc.test.template.line.form + qc.test.template.line + form + +
+ + + + + + + + + + + + + + + + + + +
+
+ + qc.test.template,line.tree + qc.test.template.line + tree + + + + + + + + + + + + + + + + + Test Template Line + qc.test.template.line + form + tree,form + + + + + + + + qc.test.form + qc.test + form + +
+
+
+ +
+
+
+
+ + + + + + + + + + + + + + + + +
+ + + + +
+
+
+
+
+ + qc.test.tree + qc.test + tree + + + + + + + + + + + Test + qc.test + form + tree,form + + + + + + + qc.test.line.form + qc.test.line + form + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + qc.test.line.tree + qc.test.line + tree + + + + + + + + + + + + + + + + + + Test Line + qc.test.line + form + tree,form + + + + +
+
+ diff --git a/quality_control_oca/wizard/__init__.py b/quality_control_oca/wizard/__init__.py new file mode 100644 index 00000000000..7e105bf3fcc --- /dev/null +++ b/quality_control_oca/wizard/__init__.py @@ -0,0 +1,31 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2010 NaN Projectes de Programari Lliure, S.L. +# All Rights Reserved. +# http://www.NaN-tic.com +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +from . import qc_test_wizard diff --git a/quality_control_oca/wizard/qc_test_wizard.py b/quality_control_oca/wizard/qc_test_wizard.py new file mode 100644 index 00000000000..19c60c4d387 --- /dev/null +++ b/quality_control_oca/wizard/qc_test_wizard.py @@ -0,0 +1,70 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2010 NaN Projectes de Programari Lliure, S.L. +# All Rights Reserved. +# http://www.NaN-tic.com +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +from openerp.osv import orm, fields + + +class QcTestWizard(orm.TransientModel): + """ + This wizard is responsible for setting the proof template for a given test. + This will not only fill in the 'test_template_id' field, but will also fill + in all lines of the test with the corresponding lines of the template. + """ + _name = 'qc.test.set.template.wizard' + + def _default_test_template_id(self, cr, uid, context=None): + id = context.get('active_id', False) + test = self.pool['qc.test'].browse(cr, uid, id, context=context) + ids = self.pool['qc.test.template'].search(cr, uid, [('object_id', '=', + test.object_id)], + context=context) + return ids and ids[0] or False + + _columns = { + 'test_template_id': fields.many2one('qc.test.template', 'Template'), + } + + _defaults = { + 'test_template_id': _default_test_template_id, + } + + def action_create_test(self, cr, uid, ids, context=None): + wizard = self.browse(cr, uid, ids[0], context=context) + self.pool['qc.test'].set_test_template(cr, uid, [context['active_id']], + wizard.test_template_id.id, + context=context) + return { + 'type': 'ir.actions.act_window_close', + } + + def action_cancel(self, cr, uid, ids, context=None): + return { + 'type': 'ir.actions.act_window_close', + } diff --git a/quality_control_oca/wizard/qc_test_wizard_view.xml b/quality_control_oca/wizard/qc_test_wizard_view.xml new file mode 100644 index 00000000000..e88c6bc3513 --- /dev/null +++ b/quality_control_oca/wizard/qc_test_wizard_view.xml @@ -0,0 +1,35 @@ + + + + + + qc.test.set.template.wizard + qc.test.set.template.wizard + +
+ + + +
+
+
+
+
+ + + Select Test Template + ir.actions.act_window + qc.test.set.template.wizard + form + form + new + + +
+
diff --git a/quality_control_oca/workflow/test_workflow.xml b/quality_control_oca/workflow/test_workflow.xml new file mode 100644 index 00000000000..cdde507ae07 --- /dev/null +++ b/quality_control_oca/workflow/test_workflow.xml @@ -0,0 +1,77 @@ + + + + + quality.control.basic + qc.test + True + + + + + + True + draft + function + write({'state': 'draft'}) + subflow.draft + + + + waiting + function + write({'state': 'waiting'}) + subflow.waiting + + + + success + function + write({'state': 'success'}) + subflow.success + + + + failed + function + write({'state': 'failed'}) + subflow.failed + + + + + + + confirm + + + + + not success + approve + + + + + success + approve + + + + + cancel + + + + + enabled + cancel + + + + + enabled + cancel + + + From 4dde7df76425960e81058db7ff133d1fe9ff9ed5 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sun, 28 Sep 2014 18:02:50 +0200 Subject: [PATCH 02/61] quality_control * PEP8 * Travis * Size in field (deprecated) --- quality_control_oca/models/quality_control.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/quality_control_oca/models/quality_control.py b/quality_control_oca/models/quality_control.py index dc6a4756c80..61d6c78ad44 100644 --- a/quality_control_oca/models/quality_control.py +++ b/quality_control_oca/models/quality_control.py @@ -120,19 +120,13 @@ def _synonyms(self, cr, uid, ids, field_name, arg, context=None): 'qc_proof_posible_value_rel', 'proof_id', 'posible_value_id', 'Posible Values'), 'synonyms': fields.function(_synonyms, method=True, type='char', - size='1000', string='Synonyms', - store=False), + string='Synonyms', store=False), } _defaults = { 'active': lambda *a: True, } - _sql_constraints = [ - ('proof_method_unique', 'UNIQUE (id, method_id)', - _('Proof-Method relation alredy exists!')), - ] - def name_search(self, cr, uid, name='', args=None, operator='ilike', context=None, limit=None): result = super(QcProof, self).name_search(cr, uid, name=name, @@ -147,7 +141,7 @@ def name_search(self, cr, uid, name='', args=None, operator='ilike', limit=limit) syns = [x[0] for x in syns] for syn in synonym_obj.browse(cr, uid, syns, context=context): - if not syn.proof_id.id in ids: + if syn.proof_id.id not in ids: new_ids.append(syn.proof_id.id) result += self.name_get(cr, uid, new_ids, context=context) return result @@ -258,7 +252,7 @@ class QcTestTemplate(orm.Model): _description = 'Test Template' def _links_get(self, cr, uid, context=None): - #TODO: Select models + # TODO: Select models link_obj = self.pool['res.request.link'] ids = link_obj.search(cr, uid, [], context=context) res = link_obj.read(cr, uid, ids, ['object', 'name'], context=context) From a9f51c56c321e71dd1e0b6233c9e82e2597795a5 Mon Sep 17 00:00:00 2001 From: alfredoavanzosc Date: Thu, 9 Oct 2014 16:56:42 +0200 Subject: [PATCH 03/61] no msg --- quality_control_oca/i18n/ca.po | 559 ------------ quality_control_oca/i18n/ca_ES.po | 553 ------------ quality_control_oca/i18n/es.po | 844 ++++++++++-------- quality_control_oca/i18n/es_ES.po | 558 ------------ quality_control_oca/i18n/quality_control.pot | 621 ++++++++----- quality_control_oca/models/quality_control.py | 132 +-- .../views/quality_control_view.xml | 55 +- quality_control_oca/wizard/qc_test_wizard.py | 8 +- .../workflow/test_workflow.xml | 19 +- 9 files changed, 1010 insertions(+), 2339 deletions(-) delete mode 100644 quality_control_oca/i18n/ca.po delete mode 100644 quality_control_oca/i18n/ca_ES.po delete mode 100644 quality_control_oca/i18n/es_ES.po diff --git a/quality_control_oca/i18n/ca.po b/quality_control_oca/i18n/ca.po deleted file mode 100644 index 37cc89aa60c..00000000000 --- a/quality_control_oca/i18n/ca.po +++ /dev/null @@ -1,559 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * quality_control -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 5.0.12\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2010-08-31 07:57+0000\n" -"PO-Revision-Date: 2012-07-11 11:40+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-07-26 04:59+0000\n" -"X-Generator: Launchpad (build 15679)\n" - -#. module: quality_control -#: view:qc.test.line:0 -msgid "Check Values" -msgstr "" - -#. module: quality_control -#: field:qc.test.template,trig_on:0 -msgid "Trigger" -msgstr "" - -#. module: quality_control -#: view:qc.posible.value:0 -msgid "Posible Value" -msgstr "" - -#. module: quality_control -#: field:qc.test.set.template.wizard,test_template_id:0 -msgid "Template" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_new_test -#: view:qc.test:0 -#: field:qc.test,test_template_id:0 -#: field:qc.test.line,test_id:0 -msgid "Test" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_set_template_wizard_form -#: model:ir.model,name:quality_control.model_qc_test_set_template_wizard -msgid "qc.test.set.template.wizard" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,uom_id:0 -#: field:qc.test.template.line,uom_id:0 -msgid "Uom" -msgstr "" - -#. module: quality_control -#: model:ir.module.module,description:quality_control.module_meta_information -msgid "" -"This module provides a generic infrastructure for quality tests. The idea is " -"that it can be later be reused for doing quality tests in production lots " -"but also in any other areas a company may desire." -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_line -msgid "qc.test.template.line" -msgstr "" - -#. module: quality_control -#: field:qc.test.template,fill_correct_values:0 -msgid "Fill With Correct Values" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof_synonym -msgid "qc.proof.synonym" -msgstr "" - -#. module: quality_control -#: field:qc.test.template,object_id:0 -msgid "Reference Object" -msgstr "" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_template_line_menu -msgid "Test Template Lines" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,success:0 -msgid "Success?" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template -#: model:ir.model,name:quality_control.model_qc_test_template -#: model:ir.ui.menu,name:quality_control.qc_test_template_menu -#: view:qc.test.template:0 -#: field:qc.test.template.line,test_template_id:0 -msgid "Test Template" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_trigger -#: model:ir.ui.menu,name:quality_control.qc_test_template_trigger_menu -#: view:qc.test.template.trigger:0 -msgid "Template Trigger" -msgstr "" - -#. module: quality_control -#: selection:qc.proof,type:0 -#: selection:qc.test.line,proof_type:0 -#: selection:qc.test.template.line,type:0 -msgid "Qualitative" -msgstr "" - -#. module: quality_control -#: view:qc.test.template.line:0 -msgid "proof Line" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,proof_type:0 -msgid "Proof Type" -msgstr "" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_proof_menu -#: view:qc.proof:0 -#: field:qc.proof.synonym,proof_id:0 -#: field:qc.test.line,proof_id:0 -#: field:qc.test.template.line,proof_id:0 -msgid "Proof" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof -msgid "qc.proof" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_proof_method -msgid "Methods" -msgstr "" - -#. module: quality_control -#: field:qc.test,object_id:0 -msgid "Reference" -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -msgid "Select Template" -msgstr "" - -#. module: quality_control -#: constraint:qc.test.template.category:0 -msgid "Error ! You can not create recursive categories." -msgstr "" - -#. module: quality_control -#: selection:qc.test.template,type:0 -msgid "Related" -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -#: field:qc.test,test_external_note:0 -msgid "External Note" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test -msgid "qc.test" -msgstr "" - -#. module: quality_control -#: view:qc.proof.synonym:0 -msgid "Proof Synonym" -msgstr "" - -#. module: quality_control -#: help:qc.test.line,max_value:0 -msgid "Maximum valid value if it is a quantitative proof." -msgstr "" - -#. module: quality_control -#: field:qc.posible.value,active:0 -#: field:qc.proof,active:0 -#: field:qc.proof.method,active:0 -#: field:qc.test.template,active:0 -#: field:qc.test.template.category,active:0 -#: field:qc.test.template.trigger,active:0 -msgid "Active" -msgstr "" - -#. module: quality_control -#: view:qc.proof.method:0 -msgid "Proof Method" -msgstr "" - -#. module: quality_control -#: constraint:ir.actions.act_window:0 -msgid "Invalid model name in the action definition." -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -msgid "Confirm" -msgstr "" - -#. module: quality_control -#: selection:qc.test.template,type:0 -#: model:qc.test.template.category,name:quality_control.qc_test_template_category_generic -msgid "Generic" -msgstr "" - -#. module: quality_control -#: field:qc.test.template.category,child_ids:0 -msgid "Child Categories" -msgstr "" - -#. module: quality_control -#: help:qc.test.line,actual_value_ql:0 -msgid "Value of the result if it is a qualitative proof." -msgstr "" - -#. module: quality_control -#: field:qc.test,state:0 -msgid "State" -msgstr "" - -#. module: quality_control -#: selection:qc.test,state:0 -msgid "Draft" -msgstr "" - -#. module: quality_control -#: view:qc.posible.value:0 -msgid "Proof Posible Value" -msgstr "" - -#. module: quality_control -#: view:qc.test.line:0 -msgid "Test Result" -msgstr "" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_menu_config -msgid "Configuration" -msgstr "" - -#. module: quality_control -#: constraint:ir.ui.view:0 -msgid "Invalid XML for View Architecture!" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_proof_synonym -msgid "Synonym" -msgstr "" - -#. module: quality_control -#: field:qc.test.template.category,parent_id:0 -msgid "Parent Category" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_line -msgid "qc.test.line" -msgstr "" - -#. module: quality_control -#: field:qc.test.template.category,complete_name:0 -msgid "Full Name" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,actual_value_ql:0 -msgid "Ql.Value" -msgstr "" - -#. module: quality_control -#: field:qc.proof,type:0 -#: field:qc.test.template,type:0 -#: field:qc.test.template.line,type:0 -msgid "Type" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_posible_value -#: model:ir.ui.menu,name:quality_control.qc_proof_posible_value_menu -#: field:qc.proof,value_ids:0 -msgid "Posible Values" -msgstr "" - -#. module: quality_control -#: field:qc.test.template,category_id:0 -msgid "Category" -msgstr "" - -#. module: quality_control -#: model:qc.test.template.category,name:quality_control.qc_test_template_category_referenced -msgid "referenced" -msgstr "" - -#. module: quality_control -#: model:ir.module.module,shortdesc:quality_control.module_meta_information -#: model:ir.ui.menu,name:quality_control.qc_menu -msgid "Quality Control" -msgstr "" - -#. module: quality_control -#: field:qc.test.template.category,name:0 -msgid "Category Name" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof_method -#: model:ir.ui.menu,name:quality_control.qc_proof_method_menu -#: field:qc.test.line,method_id:0 -#: field:qc.test.template.line,method_id:0 -msgid "Method" -msgstr "" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_menu -msgid "Tests" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_category -msgid "qc.test.template.category" -msgstr "" - -#. module: quality_control -#: help:qc.test.line,actual_value_qt:0 -msgid "Value of the result if it is a quantitative proof." -msgstr "" - -#. module: quality_control -#: help:qc.test.line,min_value:0 -msgid "Minimum valid value if it is a quantitative proof." -msgstr "" - -#. module: quality_control -#: field:qc.test,name:0 -msgid "Date" -msgstr "" - -#. module: quality_control -#: view:qc.proof.method:0 -msgid "Test Method" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_trigger -msgid "qc.test.template.trigger" -msgstr "" - -#. module: quality_control -#: field:qc.test,success:0 -msgid "Success" -msgstr "" - -#. module: quality_control -#: help:qc.test.line,test_uom_id:0 -msgid "UoM of the value of the result if it is a quantitative proof." -msgstr "" - -#. module: quality_control -#: field:qc.test,enabled:0 -msgid "Enabled" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,test_uom_id:0 -msgid "Uom Test" -msgstr "" - -#. module: quality_control -#: selection:qc.test,state:0 -msgid "Waiting Supervisor Approval" -msgstr "" - -#. module: quality_control -#: help:qc.test,enabled:0 -msgid "" -"If a quality control test is not enabled it means it can not be moved from " -"\"Quality Success\" or \"Quality Failed\" state." -msgstr "" - -#. module: quality_control -#: selection:qc.proof,type:0 -#: selection:qc.test.line,proof_type:0 -#: selection:qc.test.template.line,type:0 -msgid "Quantitative" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_line -#: field:qc.test.line,test_template_line_id:0 -#: view:qc.test.template.line:0 -msgid "Test Template Line" -msgstr "" - -#. module: quality_control -#: field:qc.proof,ref:0 -msgid "Code" -msgstr "" - -#. module: quality_control -#: selection:qc.test,state:0 -msgid "Quality Failed" -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -#: field:qc.test,test_internal_note:0 -msgid "Internal Note" -msgstr "" - -#. module: quality_control -#: field:qc.proof,synonym_ids:0 -#: field:qc.proof,synonyms:0 -msgid "Synonyms" -msgstr "" - -#. module: quality_control -#: help:qc.test.line,uom_id:0 -msgid "UoM for minimum and maximum values if it is a quantitative proof." -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -#: view:qc.test.set.template.wizard:0 -msgid "Cancel" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_proof -msgid "proof" -msgstr "" - -#. module: quality_control -#: constraint:ir.model:0 -msgid "" -"The Object name must start with x_ and not contain any special character !" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,min_value:0 -#: field:qc.test.template.line,min_value:0 -msgid "Min" -msgstr "" - -#. module: quality_control -#: view:qc.test.line:0 -msgid "Test Values" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_posible_value -msgid "qc.posible.value" -msgstr "" - -#. module: quality_control -#: view:qc.proof.synonym:0 -msgid "Test Synonym" -msgstr "" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_lines_menu -#: field:qc.test,test_line_ids:0 -msgid "Test Lines" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,max_value:0 -#: field:qc.test.template.line,max_value:0 -msgid "Max" -msgstr "" - -#. module: quality_control -#: help:qc.test,success:0 -msgid "This field will be active if all tests have succeeded." -msgstr "" - -#. module: quality_control -#: field:qc.test.line,notes:0 -#: field:qc.test.template.line,notes:0 -msgid "Notes" -msgstr "" - -#. module: quality_control -#: view:qc.test.set.template.wizard:0 -msgid "Select Test Template" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_line -#: view:qc.test.line:0 -msgid "Test Line" -msgstr "" - -#. module: quality_control -#: field:qc.posible.value,name:0 -#: field:qc.proof,name:0 -#: field:qc.proof.method,name:0 -#: field:qc.proof.synonym,name:0 -#: field:qc.test.template,name:0 -#: field:qc.test.template.trigger,name:0 -msgid "Name" -msgstr "" - -#. module: quality_control -#: field:qc.test.template,test_template_line_ids:0 -msgid "Lines" -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -#: field:qc.test.line,valid_value_ids:0 -#: field:qc.test.template.line,valid_value_ids:0 -msgid "Values" -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -msgid "Approve" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,actual_value_qt:0 -msgid "Qt.Value" -msgstr "" - -#. module: quality_control -#: selection:qc.test,state:0 -msgid "Quality Success" -msgstr "" - -#. module: quality_control -#: field:qc.test.template.line,sequence:0 -msgid "Sequence" -msgstr "" - -#. module: quality_control -#: view:qc.test.set.template.wizard:0 -msgid "Accept" -msgstr "" - -#. module: quality_control -#: help:qc.test.template.category,active:0 -msgid "The active field allows you to hide the category without removing it." -msgstr "" diff --git a/quality_control_oca/i18n/ca_ES.po b/quality_control_oca/i18n/ca_ES.po deleted file mode 100644 index 7a800bf63ed..00000000000 --- a/quality_control_oca/i18n/ca_ES.po +++ /dev/null @@ -1,553 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * quality_control -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 5.0.12\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2010-08-31 07:57:32+0000\n" -"PO-Revision-Date: 2010-08-31 07:57:32+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: quality_control -#: view:qc.test.line:0 -msgid "Check Values" -msgstr "" - -#. module: quality_control -#: field:qc.test.template,trig_on:0 -msgid "Trigger" -msgstr "" - -#. module: quality_control -#: view:qc.posible.value:0 -msgid "Posible Value" -msgstr "" - -#. module: quality_control -#: field:qc.test.set.template.wizard,test_template_id:0 -msgid "Template" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_new_test -#: view:qc.test:0 -#: field:qc.test,test_template_id:0 -#: field:qc.test.line,test_id:0 -msgid "Test" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_set_template_wizard_form -#: model:ir.model,name:quality_control.model_qc_test_set_template_wizard -msgid "qc.test.set.template.wizard" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,uom_id:0 -#: field:qc.test.template.line,uom_id:0 -msgid "Uom" -msgstr "" - -#. module: quality_control -#: model:ir.module.module,description:quality_control.module_meta_information -msgid "This module provides a generic infrastructure for quality tests. The idea is that it can be later be reused for doing quality tests in production lots but also in any other areas a company may desire." -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_line -msgid "qc.test.template.line" -msgstr "" - -#. module: quality_control -#: field:qc.test.template,fill_correct_values:0 -msgid "Fill With Correct Values" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof_synonym -msgid "qc.proof.synonym" -msgstr "" - -#. module: quality_control -#: field:qc.test.template,object_id:0 -msgid "Reference Object" -msgstr "" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_template_line_menu -msgid "Test Template Lines" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,success:0 -msgid "Success?" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template -#: model:ir.model,name:quality_control.model_qc_test_template -#: model:ir.ui.menu,name:quality_control.qc_test_template_menu -#: view:qc.test.template:0 -#: field:qc.test.template.line,test_template_id:0 -msgid "Test Template" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_trigger -#: model:ir.ui.menu,name:quality_control.qc_test_template_trigger_menu -#: view:qc.test.template.trigger:0 -msgid "Template Trigger" -msgstr "" - -#. module: quality_control -#: selection:qc.proof,type:0 -#: selection:qc.test.line,proof_type:0 -#: selection:qc.test.template.line,type:0 -msgid "Qualitative" -msgstr "" - -#. module: quality_control -#: view:qc.test.template.line:0 -msgid "proof Line" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,proof_type:0 -msgid "Proof Type" -msgstr "" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_proof_menu -#: view:qc.proof:0 -#: field:qc.proof.synonym,proof_id:0 -#: field:qc.test.line,proof_id:0 -#: field:qc.test.template.line,proof_id:0 -msgid "Proof" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof -msgid "qc.proof" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_proof_method -msgid "Methods" -msgstr "" - -#. module: quality_control -#: field:qc.test,object_id:0 -msgid "Reference" -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -msgid "Select Template" -msgstr "" - -#. module: quality_control -#: constraint:qc.test.template.category:0 -msgid "Error ! You can not create recursive categories." -msgstr "" - -#. module: quality_control -#: selection:qc.test.template,type:0 -msgid "Related" -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -#: field:qc.test,test_external_note:0 -msgid "External Note" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test -msgid "qc.test" -msgstr "" - -#. module: quality_control -#: view:qc.proof.synonym:0 -msgid "Proof Synonym" -msgstr "" - -#. module: quality_control -#: help:qc.test.line,max_value:0 -msgid "Maximum valid value if it is a quantitative proof." -msgstr "" - -#. module: quality_control -#: field:qc.posible.value,active:0 -#: field:qc.proof,active:0 -#: field:qc.proof.method,active:0 -#: field:qc.test.template,active:0 -#: field:qc.test.template.category,active:0 -#: field:qc.test.template.trigger,active:0 -msgid "Active" -msgstr "" - -#. module: quality_control -#: view:qc.proof.method:0 -msgid "Proof Method" -msgstr "" - -#. module: quality_control -#: constraint:ir.actions.act_window:0 -msgid "Invalid model name in the action definition." -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -msgid "Confirm" -msgstr "" - -#. module: quality_control -#: selection:qc.test.template,type:0 -#: model:qc.test.template.category,name:quality_control.qc_test_template_category_generic -msgid "Generic" -msgstr "" - -#. module: quality_control -#: field:qc.test.template.category,child_ids:0 -msgid "Child Categories" -msgstr "" - -#. module: quality_control -#: help:qc.test.line,actual_value_ql:0 -msgid "Value of the result if it is a qualitative proof." -msgstr "" - -#. module: quality_control -#: field:qc.test,state:0 -msgid "State" -msgstr "" - -#. module: quality_control -#: selection:qc.test,state:0 -msgid "Draft" -msgstr "" - -#. module: quality_control -#: view:qc.posible.value:0 -msgid "Proof Posible Value" -msgstr "" - -#. module: quality_control -#: view:qc.test.line:0 -msgid "Test Result" -msgstr "" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_menu_config -msgid "Configuration" -msgstr "" - -#. module: quality_control -#: constraint:ir.ui.view:0 -msgid "Invalid XML for View Architecture!" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_proof_synonym -msgid "Synonym" -msgstr "" - -#. module: quality_control -#: field:qc.test.template.category,parent_id:0 -msgid "Parent Category" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_line -msgid "qc.test.line" -msgstr "" - -#. module: quality_control -#: field:qc.test.template.category,complete_name:0 -msgid "Full Name" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,actual_value_ql:0 -msgid "Ql.Value" -msgstr "" - -#. module: quality_control -#: field:qc.proof,type:0 -#: field:qc.test.template,type:0 -#: field:qc.test.template.line,type:0 -msgid "Type" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_posible_value -#: model:ir.ui.menu,name:quality_control.qc_proof_posible_value_menu -#: field:qc.proof,value_ids:0 -msgid "Posible Values" -msgstr "" - -#. module: quality_control -#: field:qc.test.template,category_id:0 -msgid "Category" -msgstr "" - -#. module: quality_control -#: model:qc.test.template.category,name:quality_control.qc_test_template_category_referenced -msgid "referenced" -msgstr "" - -#. module: quality_control -#: model:ir.module.module,shortdesc:quality_control.module_meta_information -#: model:ir.ui.menu,name:quality_control.qc_menu -msgid "Quality Control" -msgstr "" - -#. module: quality_control -#: field:qc.test.template.category,name:0 -msgid "Category Name" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof_method -#: model:ir.ui.menu,name:quality_control.qc_proof_method_menu -#: field:qc.test.line,method_id:0 -#: field:qc.test.template.line,method_id:0 -msgid "Method" -msgstr "" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_menu -msgid "Tests" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_category -msgid "qc.test.template.category" -msgstr "" - -#. module: quality_control -#: help:qc.test.line,actual_value_qt:0 -msgid "Value of the result if it is a quantitative proof." -msgstr "" - -#. module: quality_control -#: help:qc.test.line,min_value:0 -msgid "Minimum valid value if it is a quantitative proof." -msgstr "" - -#. module: quality_control -#: field:qc.test,name:0 -msgid "Date" -msgstr "" - -#. module: quality_control -#: view:qc.proof.method:0 -msgid "Test Method" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_trigger -msgid "qc.test.template.trigger" -msgstr "" - -#. module: quality_control -#: field:qc.test,success:0 -msgid "Success" -msgstr "" - -#. module: quality_control -#: help:qc.test.line,test_uom_id:0 -msgid "UoM of the value of the result if it is a quantitative proof." -msgstr "" - -#. module: quality_control -#: field:qc.test,enabled:0 -msgid "Enabled" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,test_uom_id:0 -msgid "Uom Test" -msgstr "" - -#. module: quality_control -#: selection:qc.test,state:0 -msgid "Waiting Supervisor Approval" -msgstr "" - -#. module: quality_control -#: help:qc.test,enabled:0 -msgid "If a quality control test is not enabled it means it can not be moved from \"Quality Success\" or \"Quality Failed\" state." -msgstr "" - -#. module: quality_control -#: selection:qc.proof,type:0 -#: selection:qc.test.line,proof_type:0 -#: selection:qc.test.template.line,type:0 -msgid "Quantitative" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_line -#: field:qc.test.line,test_template_line_id:0 -#: view:qc.test.template.line:0 -msgid "Test Template Line" -msgstr "" - -#. module: quality_control -#: field:qc.proof,ref:0 -msgid "Code" -msgstr "" - -#. module: quality_control -#: selection:qc.test,state:0 -msgid "Quality Failed" -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -#: field:qc.test,test_internal_note:0 -msgid "Internal Note" -msgstr "" - -#. module: quality_control -#: field:qc.proof,synonym_ids:0 -#: field:qc.proof,synonyms:0 -msgid "Synonyms" -msgstr "" - -#. module: quality_control -#: help:qc.test.line,uom_id:0 -msgid "UoM for minimum and maximum values if it is a quantitative proof." -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -#: view:qc.test.set.template.wizard:0 -msgid "Cancel" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_proof -msgid "proof" -msgstr "" - -#. module: quality_control -#: constraint:ir.model:0 -msgid "The Object name must start with x_ and not contain any special character !" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,min_value:0 -#: field:qc.test.template.line,min_value:0 -msgid "Min" -msgstr "" - -#. module: quality_control -#: view:qc.test.line:0 -msgid "Test Values" -msgstr "" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_posible_value -msgid "qc.posible.value" -msgstr "" - -#. module: quality_control -#: view:qc.proof.synonym:0 -msgid "Test Synonym" -msgstr "" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_lines_menu -#: field:qc.test,test_line_ids:0 -msgid "Test Lines" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,max_value:0 -#: field:qc.test.template.line,max_value:0 -msgid "Max" -msgstr "" - -#. module: quality_control -#: help:qc.test,success:0 -msgid "This field will be active if all tests have succeeded." -msgstr "" - -#. module: quality_control -#: field:qc.test.line,notes:0 -#: field:qc.test.template.line,notes:0 -msgid "Notes" -msgstr "" - -#. module: quality_control -#: view:qc.test.set.template.wizard:0 -msgid "Select Test Template" -msgstr "" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_line -#: view:qc.test.line:0 -msgid "Test Line" -msgstr "" - -#. module: quality_control -#: field:qc.posible.value,name:0 -#: field:qc.proof,name:0 -#: field:qc.proof.method,name:0 -#: field:qc.proof.synonym,name:0 -#: field:qc.test.template,name:0 -#: field:qc.test.template.trigger,name:0 -msgid "Name" -msgstr "" - -#. module: quality_control -#: field:qc.test.template,test_template_line_ids:0 -msgid "Lines" -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -#: field:qc.test.line,valid_value_ids:0 -#: field:qc.test.template.line,valid_value_ids:0 -msgid "Values" -msgstr "" - -#. module: quality_control -#: view:qc.test:0 -msgid "Approve" -msgstr "" - -#. module: quality_control -#: field:qc.test.line,actual_value_qt:0 -msgid "Qt.Value" -msgstr "" - -#. module: quality_control -#: selection:qc.test,state:0 -msgid "Quality Success" -msgstr "" - -#. module: quality_control -#: field:qc.test.template.line,sequence:0 -msgid "Sequence" -msgstr "" - -#. module: quality_control -#: view:qc.test.set.template.wizard:0 -msgid "Accept" -msgstr "" - -#. module: quality_control -#: help:qc.test.template.category,active:0 -msgid "The active field allows you to hide the category without removing it." -msgstr "" - diff --git a/quality_control_oca/i18n/es.po b/quality_control_oca/i18n/es.po index da4a1ffe61c..105f2544406 100644 --- a/quality_control_oca/i18n/es.po +++ b/quality_control_oca/i18n/es.po @@ -1,570 +1,702 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: # * quality_control # -# Jordi Pasquina , 2010. msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 5.0.12\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2010-08-31 07:57+0000\n" -"PO-Revision-Date: 2012-07-11 11:44+0000\n" -"Last-Translator: Urtzi Odriozola \n" -"Language-Team: Spanish \n" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-11-06 08:16+0000\n" +"PO-Revision-Date: 2014-11-06 09:17+0100\n" +"Last-Translator: Alfredo \n" +"Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-07-26 04:59+0000\n" -"X-Generator: Launchpad (build 15679)\n" +"Plural-Forms: \n" #. module: quality_control -#: view:qc.test.line:0 -msgid "Check Values" -msgstr "Comprobar los valores" +#: view:qc.test.set.template.wizard:quality_control.view_qc_test_set_template_wizard_form +msgid "Accept" +msgstr "Aceptado" #. module: quality_control -#: field:qc.test.template,trig_on:0 -msgid "Trigger" -msgstr "Disparador" +#: field:qc.posible.value,active:0 +#: field:qc.proof,active:0 +#: field:qc.proof.method,active:0 +#: field:qc.test.template,active:0 +#: field:qc.test.template.category,active:0 +#: field:qc.test.template.trigger,active:0 +msgid "Active" +msgstr "Activo" #. module: quality_control -#: view:qc.posible.value:0 -msgid "Posible Value" -msgstr "Valor posible" +#: field:qc.test.line,valid_value_ids:0 +#: field:qc.test.template.line,valid_value_ids:0 +msgid "Answers" +msgstr "Respuestas" #. module: quality_control -#: field:qc.test.set.template.wizard,test_template_id:0 -msgid "Template" -msgstr "Plantilla" +#: view:qc.test:quality_control.qc_test_form_view +msgid "Approve" +msgstr "Aprobado" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_new_test -#: view:qc.test:0 -#: field:qc.test,test_template_id:0 -#: field:qc.test.line,test_id:0 -msgid "Test" -msgstr "Test" +#: view:qc.test:quality_control.qc_test_form_view +#: view:qc.test.set.template.wizard:quality_control.view_qc_test_set_template_wizard_form +msgid "Cancel" +msgstr "Cancelar" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_set_template_wizard_form -#: model:ir.model,name:quality_control.model_qc_test_set_template_wizard -msgid "qc.test.set.template.wizard" -msgstr "qc.test.conjunto.plantilla.assistente" +#: selection:qc.test,state:0 +msgid "Canceled" +msgstr "Cancelado" #. module: quality_control -#: field:qc.test.line,uom_id:0 -#: field:qc.test.template.line,uom_id:0 -msgid "Uom" -msgstr "Uom" +#: field:qc.test.template,category_id:0 +msgid "Category" +msgstr "Categoría" #. module: quality_control -#: model:ir.module.module,description:quality_control.module_meta_information -msgid "" -"This module provides a generic infrastructure for quality tests. The idea is " -"that it can be later be reused for doing quality tests in production lots " -"but also in any other areas a company may desire." -msgstr "" -"Este módulo proporciona una infraestructura para las pruebas de calidad. La " -"idea es que se pueda volver a utilizarse más adelante para hacer pruebas de " -"calidad en los lotes de producción, pero también en otras áreas que una " -"empresa pueda desear." +#: field:qc.test.template.category,name:0 +msgid "Category Name" +msgstr "Descripción categoría" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_line -msgid "qc.test.template.line" -msgstr "qc.test.plantilla.linea" +#: view:qc.test.line:quality_control.qc_test_line_form_view +msgid "Check Values" +msgstr "Comprobar valores" #. module: quality_control -#: field:qc.test.template,fill_correct_values:0 -msgid "Fill With Correct Values" -msgstr "REllenar con los valores correctos" +#: view:qc.test.template.category:quality_control.qc_test_template_category_form_view +#: field:qc.test.template.category,child_ids:0 +msgid "Child Categories" +msgstr "Categorías hija" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof_synonym -msgid "qc.proof.synonym" -msgstr "qc.prueba.sinonimo" +#: field:qc.proof,ref:0 +msgid "Code" +msgstr "Referencia" #. module: quality_control -#: field:qc.test.template,object_id:0 -msgid "Reference Object" -msgstr "Objeto referencia" +#: model:ir.ui.menu,name:quality_control.qc_menu_config +msgid "Configuration" +msgstr "Configuración" #. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_template_line_menu -msgid "Test Template Lines" -msgstr "Líneas de la plantilla del test" +#: view:qc.test:quality_control.qc_test_form_view +msgid "Confirm" +msgstr "Confirmar" #. module: quality_control -#: field:qc.test.line,success:0 -msgid "Success?" -msgstr "Éxito?" +#: field:qc.posible.value,ok:0 +msgid "Correct answer" +msgstr "Correct answer" + +#. module: quality_control +#: field:qc.posible.value,create_uid:0 +#: field:qc.proof,create_uid:0 +#: field:qc.proof.method,create_uid:0 +#: field:qc.proof.synonym,create_uid:0 +#: field:qc.test,create_uid:0 +#: field:qc.test.line,create_uid:0 +#: field:qc.test.set.template.wizard,create_uid:0 +#: field:qc.test.template,create_uid:0 +#: field:qc.test.template.category,create_uid:0 +#: field:qc.test.template.line,create_uid:0 +#: field:qc.test.template.trigger,create_uid:0 +msgid "Created by" +msgstr "Creado por" + +#. module: quality_control +#: field:qc.posible.value,create_date:0 +#: field:qc.proof,create_date:0 +#: field:qc.proof.method,create_date:0 +#: field:qc.proof.synonym,create_date:0 +#: field:qc.test,create_date:0 +#: field:qc.test.line,create_date:0 +#: field:qc.test.set.template.wizard,create_date:0 +#: field:qc.test.template,create_date:0 +#: field:qc.test.template.category,create_date:0 +#: field:qc.test.template.line,create_date:0 +#: field:qc.test.template.trigger,create_date:0 +msgid "Created on" +msgstr "Creado el" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template -#: model:ir.model,name:quality_control.model_qc_test_template -#: model:ir.ui.menu,name:quality_control.qc_test_template_menu -#: view:qc.test.template:0 -#: field:qc.test.template.line,test_template_id:0 -msgid "Test Template" -msgstr "Plantilla del test" +#: field:qc.test,name:0 +msgid "Date" +msgstr "Fecha" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_trigger -#: model:ir.ui.menu,name:quality_control.qc_test_template_trigger_menu -#: view:qc.test.template.trigger:0 -msgid "Template Trigger" -msgstr "Plantilla Disparador" +#: help:qc.test,message_last_post:0 +msgid "Date of the last message posted on the record." +msgstr "Fecha del último mensaje publicado en el registro." #. module: quality_control -#: selection:qc.proof,type:0 -#: selection:qc.test.line,proof_type:0 -#: selection:qc.test.template.line,type:0 -msgid "Qualitative" -msgstr "Cualitativo" +#: view:qc.test:quality_control.qc_test_form_view +#: selection:qc.test,state:0 +msgid "Draft" +msgstr "Borrador" #. module: quality_control -#: view:qc.test.template.line:0 -msgid "proof Line" -msgstr "Línea de la prueba" +#: view:qc.test:quality_control.qc_test_search_view +#: field:qc.test,enabled:0 +msgid "Enabled" +msgstr "Habilitado" #. module: quality_control -#: field:qc.test.line,proof_type:0 -msgid "Proof Type" -msgstr "Tipo de Prueba" +#: code:addons/quality_control/models/quality_control.py:227 +#: constraint:qc.test.template.category:0 +#, python-format +msgid "Error ! You can not create recursive categories." +msgstr "Error ! No puede crear categorías recursivas." #. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_proof_menu -#: view:qc.proof:0 -#: field:qc.proof.synonym,proof_id:0 -#: field:qc.test.line,proof_id:0 -#: field:qc.test.template.line,proof_id:0 -msgid "Proof" -msgstr "Prueba" +#: view:qc.test:quality_control.qc_test_form_view +#: field:qc.test,test_external_note:0 +msgid "External Note" +msgstr "Nota externa" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof -msgid "qc.proof" -msgstr "qc.prueba" +#: field:qc.test.template,fill_correct_values:0 +msgid "Fill With Correct Values" +msgstr "Pre-rellenar con valores correctos" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_proof_method -msgid "Methods" -msgstr "Métodos" +#: field:qc.test,message_follower_ids:0 +msgid "Followers" +msgstr "Seguidores" #. module: quality_control -#: field:qc.test,object_id:0 -msgid "Reference" -msgstr "Referencia" +#: field:qc.test.template.category,complete_name:0 +msgid "Full Name" +msgstr "Descripción completa" #. module: quality_control -#: view:qc.test:0 -msgid "Select Template" -msgstr "Seleccionar plantilla" +#: selection:qc.test.template,type:0 +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_generic +msgid "Generic" +msgstr "Genérico" #. module: quality_control -#: constraint:qc.test.template.category:0 -msgid "Error ! You can not create recursive categories." -msgstr "Error! No se pueden crear categorías recursivas." +#: view:qc.test:quality_control.qc_test_search_view +msgid "Group By..." +msgstr "Agrupar Por..." #. module: quality_control -#: selection:qc.test.template,type:0 -msgid "Related" -msgstr "Relacionado" +#: help:qc.test,message_summary:0 +msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views." +msgstr "Contiene el resumen del chater (número de mensajes, ...). Este resumen viene directamente en formato HTML para poder ser insertado en vistas kanban." #. module: quality_control -#: view:qc.test:0 -#: field:qc.test,test_external_note:0 -msgid "External Note" -msgstr "Nota externa" +#: field:qc.posible.value,id:0 +#: field:qc.proof,id:0 +#: field:qc.proof.method,id:0 +#: field:qc.proof.synonym,id:0 +#: field:qc.test,id:0 +#: field:qc.test.line,id:0 +#: field:qc.test.set.template.wizard,id:0 +#: field:qc.test.template,id:0 +#: field:qc.test.template.category,id:0 +#: field:qc.test.template.line,id:0 +#: field:qc.test.template.trigger,id:0 +msgid "ID" +msgstr "ID" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test -msgid "qc.test" -msgstr "qc.test" - -#. module: quality_control -#: view:qc.proof.synonym:0 -msgid "Proof Synonym" -msgstr "Prueba sinónima" +#: help:qc.test,enabled:0 +msgid "If a quality control test is not enabled it means it can not be moved from \"Quality Success\" or \"Quality Failed\" state." +msgstr "Si una prueba de control de calidad no está activa significa que no se puede mover desde el estado \"Calidad Correcta\" or \"Calidad Errónea\"." #. module: quality_control -#: help:qc.test.line,max_value:0 -msgid "Maximum valid value if it is a quantitative proof." -msgstr "Máximo valor válido si se trata de una prueba cuantitativa." +#: help:qc.test,message_unread:0 +msgid "If checked new messages require your attention." +msgstr "Si se marca nuevos mensajes requieren su atención." #. module: quality_control -#: field:qc.posible.value,active:0 -#: field:qc.proof,active:0 -#: field:qc.proof.method,active:0 -#: field:qc.test.template,active:0 -#: field:qc.test.template.category,active:0 -#: field:qc.test.template.trigger,active:0 -msgid "Active" -msgstr "Activo" +#: view:qc.test:quality_control.qc_test_form_view +#: field:qc.test,test_internal_note:0 +msgid "Internal Note" +msgstr "Nota interna" #. module: quality_control -#: view:qc.proof.method:0 -msgid "Proof Method" -msgstr "Método de la prueba" +#: field:qc.test,message_is_follower:0 +msgid "Is a Follower" +msgstr "Es un seguidor" #. module: quality_control -#: constraint:ir.actions.act_window:0 -msgid "Invalid model name in the action definition." -msgstr "Nombre del modelo inválido en la definición de la acción." +#: field:qc.test,message_last_post:0 +msgid "Last Message Date" +msgstr "Última fecha mensaje" #. module: quality_control -#: view:qc.test:0 -msgid "Confirm" -msgstr "Confirmar" +#: field:qc.posible.value,write_uid:0 +#: field:qc.proof,write_uid:0 +#: field:qc.proof.method,write_uid:0 +#: field:qc.proof.synonym,write_uid:0 +#: field:qc.test,write_uid:0 +#: field:qc.test.line,write_uid:0 +#: field:qc.test.set.template.wizard,write_uid:0 +#: field:qc.test.template,write_uid:0 +#: field:qc.test.template.category,write_uid:0 +#: field:qc.test.template.line,write_uid:0 +#: field:qc.test.template.trigger,write_uid:0 +msgid "Last Updated by" +msgstr "Última actualización por" #. module: quality_control -#: selection:qc.test.template,type:0 -#: model:qc.test.template.category,name:quality_control.qc_test_template_category_generic -msgid "Generic" -msgstr "Genérico" +#: field:qc.posible.value,write_date:0 +#: field:qc.proof,write_date:0 +#: field:qc.proof.method,write_date:0 +#: field:qc.proof.synonym,write_date:0 +#: field:qc.test,write_date:0 +#: field:qc.test.line,write_date:0 +#: field:qc.test.set.template.wizard,write_date:0 +#: field:qc.test.template,write_date:0 +#: field:qc.test.template.category,write_date:0 +#: field:qc.test.template.line,write_date:0 +#: field:qc.test.template.trigger,write_date:0 +msgid "Last Updated on" +msgstr "Última actualización el" #. module: quality_control -#: field:qc.test.template.category,child_ids:0 -msgid "Child Categories" -msgstr "Categorías inferiores" +#: field:qc.test.template,test_template_line_ids:0 +msgid "Lines" +msgstr "Líneas" #. module: quality_control -#: help:qc.test.line,actual_value_ql:0 -msgid "Value of the result if it is a qualitative proof." -msgstr "Valor del resultado si se trata de una prueba cualitativa." +#: model:res.groups,name:quality_control.group_quality_control_manager +msgid "Manager" +msgstr "Responsable" #. module: quality_control -#: field:qc.test,state:0 -msgid "State" -msgstr "Estado" +#: field:qc.test.line,max_value:0 +#: field:qc.test.template.line,max_value:0 +msgid "Max" +msgstr "Max" #. module: quality_control -#: selection:qc.test,state:0 -msgid "Draft" -msgstr "Borrador" +#: help:qc.test.line,max_value:0 +msgid "Maximum valid value if it is a quantitative proof." +msgstr "El valor máximo válido si se trata de una prueba cuantitativa." #. module: quality_control -#: view:qc.posible.value:0 -msgid "Proof Posible Value" -msgstr "Posible valor de la prueba" +#: field:qc.test,message_ids:0 +msgid "Messages" +msgstr "Mensajes" #. module: quality_control -#: view:qc.test.line:0 -msgid "Test Result" -msgstr "Resultado del test" +#: help:qc.test,message_ids:0 +msgid "Messages and communication history" +msgstr "Mensajes e historial de la comunicación" #. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_menu_config -msgid "Configuration" -msgstr "Configuración" +#: model:ir.model,name:quality_control.model_qc_proof_method +#: model:ir.ui.menu,name:quality_control.qc_proof_method_menu +#: field:qc.test.line,method_id:0 +#: field:qc.test.template.line,method_id:0 +msgid "Method" +msgstr "Método" #. module: quality_control -#: constraint:ir.ui.view:0 -msgid "Invalid XML for View Architecture!" -msgstr "XML inválido para la arquitectura de vistas!" +#: model:ir.actions.act_window,name:quality_control.action_qc_proof_method +msgid "Methods" +msgstr "Métodos" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_proof_synonym -msgid "Synonym" -msgstr "Sinónimo" +#: field:qc.test.line,min_value:0 +#: field:qc.test.template.line,min_value:0 +msgid "Min" +msgstr "Min" #. module: quality_control -#: field:qc.test.template.category,parent_id:0 -msgid "Parent Category" -msgstr "Categoría padre" +#: help:qc.test.line,min_value:0 +msgid "Minimum valid value if it is a quantitative proof." +msgstr "Valor válido mínimo si se trata de una prueba cuantitativa." #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_line -msgid "qc.test.line" -msgstr "qc.test.linea" +#: field:qc.posible.value,name:0 +#: field:qc.proof,name:0 +#: field:qc.proof.method,name:0 +#: field:qc.proof.synonym,name:0 +#: field:qc.test.template,name:0 +#: field:qc.test.template.trigger,name:0 +msgid "Name" +msgstr "Descripción" #. module: quality_control -#: field:qc.test.template.category,complete_name:0 -msgid "Full Name" -msgstr "Nombre completo" +#: view:qc.test:quality_control.qc_test_form_view +#: field:qc.test.line,notes:0 +#: field:qc.test.template.line,notes:0 +msgid "Notes" +msgstr "Notas" #. module: quality_control -#: field:qc.test.line,actual_value_ql:0 -msgid "Ql.Value" -msgstr "Ql.valor" +#: field:qc.test.template.category,parent_id:0 +msgid "Parent Category" +msgstr "Categoría padre" #. module: quality_control -#: field:qc.proof,type:0 -#: field:qc.test.template,type:0 -#: field:qc.test.template.line,type:0 -msgid "Type" -msgstr "Tipo" +#: view:qc.posible.value:quality_control.qc_posible_value_tree_view +msgid "Posible Value" +msgstr "Valor posible" #. module: quality_control #: model:ir.actions.act_window,name:quality_control.action_qc_posible_value #: model:ir.ui.menu,name:quality_control.qc_proof_posible_value_menu +#: view:qc.proof:quality_control.qc_proof_form_view #: field:qc.proof,value_ids:0 msgid "Posible Values" msgstr "Valores posibles" #. module: quality_control -#: field:qc.test.template,category_id:0 -msgid "Category" -msgstr "Categoria" +#: model:ir.actions.act_window,name:quality_control.action_qc_proof +#: model:ir.ui.menu,name:quality_control.qc_proof_menu +#: view:qc.proof:quality_control.qc_proof_form_view +#: view:qc.proof:quality_control.qc_proof_tree_view +#: field:qc.proof.synonym,proof_id:0 +msgid "Proof" +msgstr "Pregunta" #. module: quality_control -#: model:qc.test.template.category,name:quality_control.qc_test_template_category_referenced -msgid "referenced" -msgstr "referencia" +#: view:qc.proof.method:quality_control.qc_method_form_view +msgid "Proof Method" +msgstr "Método pregunta" + +#. module: quality_control +#: view:qc.posible.value:quality_control.qc_posible_value_form_view +msgid "Proof Posible Value" +msgstr "Posible respuesta a la pregunta" + +#. module: quality_control +#: view:qc.proof.synonym:quality_control.qc_proof_synonym_form_view +msgid "Proof Synonym" +msgstr "Sinónimo pregunta" + +#. module: quality_control +#: field:qc.test.line,proof_type:0 +msgid "Proof Type" +msgstr "Tipo pregunta" + +#. module: quality_control +#: field:qc.test.line,actual_value_ql:0 +msgid "Ql.Value" +msgstr "Ql.Valor" + +#. module: quality_control +#: field:qc.test.line,actual_value_qt:0 +msgid "Qt.Value" +msgstr "Qt.Valor" #. module: quality_control -#: model:ir.module.module,shortdesc:quality_control.module_meta_information +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Qualitative" +msgstr "Cualitativa" + +#. module: quality_control +#: model:ir.module.category,name:quality_control.module_category_quality_control #: model:ir.ui.menu,name:quality_control.qc_menu msgid "Quality Control" msgstr "Control de calidad" #. module: quality_control -#: field:qc.test.template.category,name:0 -msgid "Category Name" -msgstr "Nombre de la Categoría" +#: selection:qc.test,state:0 +msgid "Quality Failed" +msgstr "Calidad errónea" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof_method -#: model:ir.ui.menu,name:quality_control.qc_proof_method_menu -#: field:qc.test.line,method_id:0 -#: field:qc.test.template.line,method_id:0 -msgid "Method" -msgstr "Método" +#: selection:qc.test,state:0 +msgid "Quality Success" +msgstr "Calidad correcta" #. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_menu -msgid "Tests" -msgstr "Tests" +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Quantitative" +msgstr "Cuantitativa" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_category -msgid "qc.test.template.category" -msgstr "qc.test.plantilla.categoria" +#: field:qc.test.line,proof_id:0 +#: field:qc.test.template.line,proof_id:0 +msgid "Question" +msgstr "Pregunta" #. module: quality_control -#: help:qc.test.line,actual_value_qt:0 -msgid "Value of the result if it is a quantitative proof." -msgstr "Valor del resultado si se trata de una prueba cuantitativa." +#: view:qc.test:quality_control.qc_test_search_view +#: field:qc.test,object_id:0 +msgid "Reference" +msgstr "Referencia" #. module: quality_control -#: help:qc.test.line,min_value:0 -msgid "Minimum valid value if it is a quantitative proof." -msgstr "Mínimo valor válido si se trata de una prueba cuantitativa." +#: field:qc.test.template,object_id:0 +msgid "Reference Object" +msgstr "Referencia Objeto" #. module: quality_control -#: field:qc.test,name:0 -msgid "Date" -msgstr "Fecha" +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_referenced +msgid "Referenced" +msgstr "Referenciado" #. module: quality_control -#: view:qc.proof.method:0 -msgid "Test Method" -msgstr "Método del test" +#: selection:qc.test.template,type:0 +msgid "Related" +msgstr "Relacionado" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_trigger -msgid "qc.test.template.trigger" -msgstr "qc.test.plantilla.disparador" +#: view:qc.test:quality_control.qc_test_search_view +msgid "Search Test" +msgstr "Buscar test" #. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_set_template_wizard_form +#: view:qc.test.set.template.wizard:quality_control.view_qc_test_set_template_wizard_form +msgid "Select Test Template" +msgstr "Seleccione la plantilla de test" + +#. module: quality_control +#: field:qc.test.template.line,sequence:0 +msgid "Sequence" +msgstr "Secuencia" + +#. module: quality_control +#: view:qc.test:quality_control.qc_test_search_view +#: field:qc.test,state:0 +msgid "State" +msgstr "Estado" + +#. module: quality_control +#: view:qc.test:quality_control.qc_test_search_view #: field:qc.test,success:0 msgid "Success" msgstr "Éxito" #. module: quality_control -#: help:qc.test.line,test_uom_id:0 -msgid "UoM of the value of the result if it is a quantitative proof." -msgstr "UoM del valor del resultado, si se trata de una prueba cuantitativa." +#: field:qc.test.line,success:0 +msgid "Success?" +msgstr "¿Correcto?" #. module: quality_control -#: field:qc.test,enabled:0 -msgid "Enabled" -msgstr "Activado" +#: field:qc.test,message_summary:0 +msgid "Summary" +msgstr "Resumen" #. module: quality_control -#: field:qc.test.line,test_uom_id:0 -msgid "Uom Test" -msgstr "Uom test" +#: model:ir.actions.act_window,name:quality_control.action_proof_synonym +msgid "Synonym" +msgstr "Sinónimo" #. module: quality_control -#: selection:qc.test,state:0 -msgid "Waiting Supervisor Approval" -msgstr "Esperando la aprobación del supervisor" +#: model:ir.ui.menu,name:quality_control.qc_proof_synonyms_menu +#: view:qc.proof:quality_control.qc_proof_form_view +#: field:qc.proof,synonym_ids:0 +#: field:qc.proof,synonyms:0 +msgid "Synonyms" +msgstr "Sinónimos" #. module: quality_control -#: help:qc.test,enabled:0 -msgid "" -"If a quality control test is not enabled it means it can not be moved from " -"\"Quality Success\" or \"Quality Failed\" state." -msgstr "" -"Si una prueba de control de calidad no está habilitada, significa que no se " -"pueden mover del estado \"Calidad Correcta\" o \"Calidad Errónea\"." +#: view:qc.test:quality_control.qc_test_form_view +#: view:qc.test:quality_control.qc_test_search_view +#: field:qc.test.set.template.wizard,test_template_id:0 +msgid "Template" +msgstr "Plantilla" #. module: quality_control -#: selection:qc.proof,type:0 -#: selection:qc.test.line,proof_type:0 -#: selection:qc.test.template.line,type:0 -msgid "Quantitative" -msgstr "Cuantitativa" +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_trigger +#: model:ir.ui.menu,name:quality_control.qc_test_template_trigger_menu +#: view:qc.test.template.trigger:quality_control.qc_test_template_trigger_form_view +#: view:qc.test.template.trigger:quality_control.qc_test_template_trigger_tree_view +msgid "Template Trigger" +msgstr "Disparador plantilla" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_line -#: field:qc.test.line,test_template_line_id:0 -#: view:qc.test.template.line:0 -msgid "Test Template Line" -msgstr "Línea de la plantilla del test" +#: model:ir.actions.act_window,name:quality_control.action_qc_new_test +#: view:qc.test:quality_control.qc_test_form_view +#: view:qc.test:quality_control.qc_test_tree_view +#: field:qc.test,test_template_id:0 +#: field:qc.test.line,test_id:0 +msgid "Test" +msgstr "Test" #. module: quality_control -#: field:qc.proof,ref:0 -msgid "Code" -msgstr "Código" +#: model:ir.actions.act_window,name:quality_control.action_qc_test_line +#: view:qc.test.line:quality_control.qc_test_line_form_view +#: view:qc.test.line:quality_control.qc_test_line_tree_view +msgid "Test Line" +msgstr "Línea de test" #. module: quality_control -#: selection:qc.test,state:0 -msgid "Quality Failed" -msgstr "Calidad errónea" +#: model:ir.ui.menu,name:quality_control.qc_test_lines_menu +#: field:qc.test,test_line_ids:0 +msgid "Test Lines" +msgstr "Líneas de test" #. module: quality_control -#: view:qc.test:0 -#: field:qc.test,test_internal_note:0 -msgid "Internal Note" -msgstr "Nota interna" +#: view:qc.proof.method:quality_control.qc_proof_method_tree_view +msgid "Test Method" +msgstr "Test método" #. module: quality_control -#: field:qc.proof,synonym_ids:0 -#: field:qc.proof,synonyms:0 -msgid "Synonyms" -msgstr "Sinónimos" +#: view:qc.test:quality_control.qc_test_form_view +msgid "Test Name" +msgstr "Descripción test" #. module: quality_control -#: help:qc.test.line,uom_id:0 -msgid "UoM for minimum and maximum values if it is a quantitative proof." -msgstr "" -"UoM para el valor Máximo y Mínimo válido, si se trata de una prueba " -"cuantitativa." +#: view:qc.test.line:quality_control.qc_test_line_form_view +msgid "Test Result" +msgstr "Resultado test" #. module: quality_control -#: view:qc.test:0 -#: view:qc.test.set.template.wizard:0 -msgid "Cancel" -msgstr "Cancelar" +#: view:qc.proof.synonym:quality_control.qc_test_synonym_tree_view +msgid "Test Synonym" +msgstr "Sinónimo test" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_proof -msgid "proof" -msgstr "Prueba" +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template +#: model:ir.model,name:quality_control.model_qc_test_template +#: model:ir.ui.menu,name:quality_control.qc_test_template_menu +#: view:qc.test.template:quality_control.qc_test_template_form_view +#: view:qc.test.template:quality_control.qc_test_template_tree_view +#: field:qc.test.template.line,test_template_id:0 +msgid "Test Template" +msgstr "Plantilla de test" #. module: quality_control -#: constraint:ir.model:0 -msgid "" -"The Object name must start with x_ and not contain any special character !" -msgstr "" -"El nombre del objeto debe empezar con x_ y no debe contener ningún carácter " -"especial!" +#: model:ir.ui.menu,name:quality_control.qc_template_category_menu +msgid "Test Template Categories" +msgstr "Categorías de plantilla de test" #. module: quality_control -#: field:qc.test.line,min_value:0 -#: field:qc.test.template.line,min_value:0 -msgid "Min" -msgstr "Mínimo" +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_category +#: model:ir.model,name:quality_control.model_qc_test_template_category +#: view:qc.test.template.category:quality_control.qc_test_template_category_form_view +#: view:qc.test.template.category:quality_control.qc_test_template_category_tree_view +msgid "Test Template Category" +msgstr "Categoría de plantilla de test" #. module: quality_control -#: view:qc.test.line:0 -msgid "Test Values" -msgstr "Valores del Test" +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_line +#: model:ir.model,name:quality_control.model_qc_test_template_line +#: field:qc.test.line,test_template_line_id:0 +#: view:qc.test.template.line:quality_control.qc_test_template_line_tree_view +msgid "Test Template Line" +msgstr "Línea de plantilla de test" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_posible_value -msgid "qc.posible.value" -msgstr "qc.posible.valor" +#: model:ir.ui.menu,name:quality_control.qc_test_template_line_menu +msgid "Test Template Lines" +msgstr "Líneas de plantilla de test" #. module: quality_control -#: view:qc.proof.synonym:0 -msgid "Test Synonym" -msgstr "Test Sinónimo" +#: model:ir.model,name:quality_control.model_qc_test_template_trigger +msgid "Test Template Trigger" +msgstr "Disparador plantilla de test" #. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_lines_menu -#: field:qc.test,test_line_ids:0 -msgid "Test Lines" -msgstr "Líneas del test" +#: model:ir.ui.menu,name:quality_control.qc_menu_config_templates +msgid "Test Templates" +msgstr "Plantillas de test" #. module: quality_control -#: field:qc.test.line,max_value:0 -#: field:qc.test.template.line,max_value:0 -msgid "Max" -msgstr "Máx" +#: view:qc.test.line:quality_control.qc_test_line_form_view +msgid "Test Values" +msgstr "Respuestas del test" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_menu_tests +#: model:ir.ui.menu,name:quality_control.qc_test_menu +msgid "Tests" +msgstr "Tests" + +#. module: quality_control +#: help:qc.test.template.category,active:0 +msgid "The active field allows you to hide the category without removing it." +msgstr "El campo activo le permite ocultar la categoría sin eliminarlo." #. module: quality_control #: help:qc.test,success:0 msgid "This field will be active if all tests have succeeded." -msgstr "Este campo se activa si todas las pruebas han tenido éxito." +msgstr "Este campo estará marcado si todas las pruebas han tenido éxito." #. module: quality_control -#: field:qc.test.line,notes:0 -#: field:qc.test.template.line,notes:0 -msgid "Notes" -msgstr "Notas" +#: field:qc.test.template,trig_on:0 +msgid "Trigger" +msgstr "Disparador" #. module: quality_control -#: view:qc.test.set.template.wizard:0 -msgid "Select Test Template" -msgstr "Seleccionar plantilla del test" +#: field:qc.proof,type:0 +#: field:qc.test.template,type:0 +#: field:qc.test.template.line,type:0 +msgid "Type" +msgstr "Tipo" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_line -#: view:qc.test.line:0 -msgid "Test Line" -msgstr "Línea del test" +#: field:qc.test,message_unread:0 +msgid "Unread Messages" +msgstr "Mensajes no leidos." #. module: quality_control -#: field:qc.posible.value,name:0 -#: field:qc.proof,name:0 -#: field:qc.proof.method,name:0 -#: field:qc.proof.synonym,name:0 -#: field:qc.test.template,name:0 -#: field:qc.test.template.trigger,name:0 -msgid "Name" -msgstr "Nombre" +#: help:qc.test.line,uom_id:0 +msgid "UoM for minimum and maximum values if it is a quantitative proof." +msgstr "UdM para los valores mínimo y máximo si se trata de una pregunta cuantitativa." #. module: quality_control -#: field:qc.test.template,test_template_line_ids:0 -msgid "Lines" -msgstr "Líneas" +#: help:qc.test.line,test_uom_id:0 +msgid "UoM of the value of the result if it is a quantitative proof." +msgstr "UdM del valor del resultado, si se trata de una prueba cuantitativa." #. module: quality_control -#: view:qc.test:0 -#: field:qc.test.line,valid_value_ids:0 -#: field:qc.test.template.line,valid_value_ids:0 -msgid "Values" -msgstr "Valores" +#: field:qc.test.line,uom_id:0 +#: field:qc.test.template.line,uom_id:0 +msgid "Uom" +msgstr "UdM" #. module: quality_control -#: view:qc.test:0 -msgid "Approve" -msgstr "Aprobar" +#: field:qc.test.line,test_uom_id:0 +msgid "Uom Test" +msgstr "UdM Test" #. module: quality_control -#: field:qc.test.line,actual_value_qt:0 -msgid "Qt.Value" -msgstr "Qt.valor" +#: model:res.groups,name:quality_control.group_quality_control_user +msgid "User" +msgstr "Usuario" + +#. module: quality_control +#: help:qc.test.line,actual_value_ql:0 +msgid "Value of the result if it is a qualitative proof." +msgstr "Valor del resultado, si se trata de una pregunta cualitativa." + +#. module: quality_control +#: help:qc.test.line,actual_value_qt:0 +msgid "Value of the result if it is a quantitative proof." +msgstr "Valor del resultado, si se trata de una pregunta cuantitativa." #. module: quality_control #: selection:qc.test,state:0 -msgid "Quality Success" -msgstr "Calidad correcta" +msgid "Waiting Supervisor Approval" +msgstr "Esperando aprobación del supervisor" #. module: quality_control -#: field:qc.test.template.line,sequence:0 -msgid "Sequence" -msgstr "Secuencia" +#: help:qc.posible.value,ok:0 +msgid "" +"When this field is True, the answer\n" +" is correct, When is False the answer\n" +" is not correct." +msgstr "" +"Cuando este campo es verdadera, la respuesta\n" +" es correcta, cuando es falso la respuesta\n" +" es incorrecta." #. module: quality_control -#: view:qc.test.set.template.wizard:0 -msgid "Accept" -msgstr "Aceptar" +#: view:qc.test.template.line:quality_control.qc_test_template_line_form_view +msgid "proof Line" +msgstr "Línea pregunta" #. module: quality_control -#: help:qc.test.template.category,active:0 -msgid "The active field allows you to hide the category without removing it." -msgstr "El campo activo le permite ocultar la categoría sin eliminarlo." +#: view:qc.test:quality_control.qc_test_form_view +msgid "questions" +msgstr "Preguntas" + diff --git a/quality_control_oca/i18n/es_ES.po b/quality_control_oca/i18n/es_ES.po deleted file mode 100644 index de2926bc268..00000000000 --- a/quality_control_oca/i18n/es_ES.po +++ /dev/null @@ -1,558 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * quality_control -# -# Jordi Pasquina , 2010. -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 5.0.12\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2010-08-31 07:57:32+0000\n" -"PO-Revision-Date: 2010-08-31 10:29+0200\n" -"Last-Translator: Jordi Pasquina \n" -"Language-Team: Spanish \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" -"X-Generator: Lokalize 1.0\n" - -#. module: quality_control -#: view:qc.test.line:0 -msgid "Check Values" -msgstr "Comprobar los valores" - -#. module: quality_control -#: field:qc.test.template,trig_on:0 -msgid "Trigger" -msgstr "Disparador" - -#. module: quality_control -#: view:qc.posible.value:0 -msgid "Posible Value" -msgstr "Valor posible" - -#. module: quality_control -#: field:qc.test.set.template.wizard,test_template_id:0 -msgid "Template" -msgstr "Plantilla" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_new_test -#: view:qc.test:0 -#: field:qc.test,test_template_id:0 -#: field:qc.test.line,test_id:0 -msgid "Test" -msgstr "Test" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_set_template_wizard_form -#: model:ir.model,name:quality_control.model_qc_test_set_template_wizard -msgid "qc.test.set.template.wizard" -msgstr "qc.test.conjunto.plantilla.assistente" - -#. module: quality_control -#: field:qc.test.line,uom_id:0 -#: field:qc.test.template.line,uom_id:0 -msgid "Uom" -msgstr "Uom" - -#. module: quality_control -#: model:ir.module.module,description:quality_control.module_meta_information -msgid "This module provides a generic infrastructure for quality tests. The idea is that it can be later be reused for doing quality tests in production lots but also in any other areas a company may desire." -msgstr "" -"Este módulo proporciona una infraestructura para las pruebas de calidad. La idea es que se pueda volver a utilizarse más adelante para hacer pruebas de calidad en los lotes de producción, pero también en " -"otras áreas que una empresa pueda desear." - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_line -msgid "qc.test.template.line" -msgstr "qc.test.plantilla.linea" - -#. module: quality_control -#: field:qc.test.template,fill_correct_values:0 -msgid "Fill With Correct Values" -msgstr "REllenar con los valores correctos" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof_synonym -msgid "qc.proof.synonym" -msgstr "qc.prueba.sinonimo" - -#. module: quality_control -#: field:qc.test.template,object_id:0 -msgid "Reference Object" -msgstr "Objeto referencia" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_template_line_menu -msgid "Test Template Lines" -msgstr "Líneas de la plantilla del test" - -#. module: quality_control -#: field:qc.test.line,success:0 -msgid "Success?" -msgstr "Éxito?" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template -#: model:ir.model,name:quality_control.model_qc_test_template -#: model:ir.ui.menu,name:quality_control.qc_test_template_menu -#: view:qc.test.template:0 -#: field:qc.test.template.line,test_template_id:0 -msgid "Test Template" -msgstr "Plantilla del test" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_trigger -#: model:ir.ui.menu,name:quality_control.qc_test_template_trigger_menu -#: view:qc.test.template.trigger:0 -msgid "Template Trigger" -msgstr "Plantilla Disparador" - -#. module: quality_control -#: selection:qc.proof,type:0 -#: selection:qc.test.line,proof_type:0 -#: selection:qc.test.template.line,type:0 -msgid "Qualitative" -msgstr "Cualitativo" - -#. module: quality_control -#: view:qc.test.template.line:0 -msgid "proof Line" -msgstr "Línea de la prueba" - -#. module: quality_control -#: field:qc.test.line,proof_type:0 -msgid "Proof Type" -msgstr "Tipo de Prueba" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_proof_menu -#: view:qc.proof:0 -#: field:qc.proof.synonym,proof_id:0 -#: field:qc.test.line,proof_id:0 -#: field:qc.test.template.line,proof_id:0 -msgid "Proof" -msgstr "Prueba" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof -msgid "qc.proof" -msgstr "qc.prueba" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_proof_method -msgid "Methods" -msgstr "Métodos" - -#. module: quality_control -#: field:qc.test,object_id:0 -msgid "Reference" -msgstr "Referencia" - -#. module: quality_control -#: view:qc.test:0 -msgid "Select Template" -msgstr "Seleccionar plantilla" - -#. module: quality_control -#: constraint:qc.test.template.category:0 -msgid "Error ! You can not create recursive categories." -msgstr "Error! No se pueden crear categorías recursivas." - -#. module: quality_control -#: selection:qc.test.template,type:0 -msgid "Related" -msgstr "Relacionado" - -#. module: quality_control -#: view:qc.test:0 -#: field:qc.test,test_external_note:0 -msgid "External Note" -msgstr "Nota externa" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test -msgid "qc.test" -msgstr "qc.test" - -#. module: quality_control -#: view:qc.proof.synonym:0 -msgid "Proof Synonym" -msgstr "Prueba sinónima" - -#. module: quality_control -#: help:qc.test.line,max_value:0 -msgid "Maximum valid value if it is a quantitative proof." -msgstr "Máximo valor válido si se trata de una prueba cuantitativa." - -#. module: quality_control -#: field:qc.posible.value,active:0 -#: field:qc.proof,active:0 -#: field:qc.proof.method,active:0 -#: field:qc.test.template,active:0 -#: field:qc.test.template.category,active:0 -#: field:qc.test.template.trigger,active:0 -msgid "Active" -msgstr "Activo" - -#. module: quality_control -#: view:qc.proof.method:0 -msgid "Proof Method" -msgstr "Método de la prueba" - -#. module: quality_control -#: constraint:ir.actions.act_window:0 -msgid "Invalid model name in the action definition." -msgstr "Nombre del modelo inválido en la definición de la acción." - -#. module: quality_control -#: view:qc.test:0 -msgid "Confirm" -msgstr "Confirmar" - -#. module: quality_control -#: selection:qc.test.template,type:0 -#: model:qc.test.template.category,name:quality_control.qc_test_template_category_generic -msgid "Generic" -msgstr "Genérico" - -#. module: quality_control -#: field:qc.test.template.category,child_ids:0 -msgid "Child Categories" -msgstr "Categorías inferiores" - -#. module: quality_control -#: help:qc.test.line,actual_value_ql:0 -msgid "Value of the result if it is a qualitative proof." -msgstr "Valor del resultado si se trata de una prueba cualitativa." - -#. module: quality_control -#: field:qc.test,state:0 -msgid "State" -msgstr "Estado" - -#. module: quality_control -#: selection:qc.test,state:0 -msgid "Draft" -msgstr "Borrador" - -#. module: quality_control -#: view:qc.posible.value:0 -msgid "Proof Posible Value" -msgstr "Posible valor de la prueba" - -#. module: quality_control -#: view:qc.test.line:0 -msgid "Test Result" -msgstr "Resultado del test" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_menu_config -msgid "Configuration" -msgstr "Configuración" - -#. module: quality_control -#: constraint:ir.ui.view:0 -msgid "Invalid XML for View Architecture!" -msgstr "XML inválido para la arquitectura de vistas!" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_proof_synonym -msgid "Synonym" -msgstr "Sinónimo" - -#. module: quality_control -#: field:qc.test.template.category,parent_id:0 -msgid "Parent Category" -msgstr "Categoría padre" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_line -msgid "qc.test.line" -msgstr "qc.test.linea" - -#. module: quality_control -#: field:qc.test.template.category,complete_name:0 -msgid "Full Name" -msgstr "Nombre completo" - -#. module: quality_control -#: field:qc.test.line,actual_value_ql:0 -msgid "Ql.Value" -msgstr "Ql.valor" - -#. module: quality_control -#: field:qc.proof,type:0 -#: field:qc.test.template,type:0 -#: field:qc.test.template.line,type:0 -msgid "Type" -msgstr "Tipo" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_posible_value -#: model:ir.ui.menu,name:quality_control.qc_proof_posible_value_menu -#: field:qc.proof,value_ids:0 -msgid "Posible Values" -msgstr "Valores posibles" - -#. module: quality_control -#: field:qc.test.template,category_id:0 -msgid "Category" -msgstr "Categoria" - -#. module: quality_control -#: model:qc.test.template.category,name:quality_control.qc_test_template_category_referenced -msgid "referenced" -msgstr "referencia" - -#. module: quality_control -#: model:ir.module.module,shortdesc:quality_control.module_meta_information -#: model:ir.ui.menu,name:quality_control.qc_menu -msgid "Quality Control" -msgstr "Control de calidad" - -#. module: quality_control -#: field:qc.test.template.category,name:0 -msgid "Category Name" -msgstr "Nombre de la Categoría" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof_method -#: model:ir.ui.menu,name:quality_control.qc_proof_method_menu -#: field:qc.test.line,method_id:0 -#: field:qc.test.template.line,method_id:0 -msgid "Method" -msgstr "Método" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_menu -msgid "Tests" -msgstr "Tests" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_category -msgid "qc.test.template.category" -msgstr "qc.test.plantilla.categoria" - -#. module: quality_control -#: help:qc.test.line,actual_value_qt:0 -msgid "Value of the result if it is a quantitative proof." -msgstr "Valor del resultado si se trata de una prueba cuantitativa." - -#. module: quality_control -#: help:qc.test.line,min_value:0 -msgid "Minimum valid value if it is a quantitative proof." -msgstr "Mínimo valor válido si se trata de una prueba cuantitativa." - -#. module: quality_control -#: field:qc.test,name:0 -msgid "Date" -msgstr "Fecha" - -#. module: quality_control -#: view:qc.proof.method:0 -msgid "Test Method" -msgstr "Método del test" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_trigger -msgid "qc.test.template.trigger" -msgstr "qc.test.plantilla.disparador" - -#. module: quality_control -#: field:qc.test,success:0 -msgid "Success" -msgstr "Éxito" - -#. module: quality_control -#: help:qc.test.line,test_uom_id:0 -msgid "UoM of the value of the result if it is a quantitative proof." -msgstr "UoM del valor del resultado, si se trata de una prueba cuantitativa." - -#. module: quality_control -#: field:qc.test,enabled:0 -msgid "Enabled" -msgstr "Activado" - -#. module: quality_control -#: field:qc.test.line,test_uom_id:0 -msgid "Uom Test" -msgstr "Uom test" - -#. module: quality_control -#: selection:qc.test,state:0 -msgid "Waiting Supervisor Approval" -msgstr "Esperando la aprobación del supervisor" - -#. module: quality_control -#: help:qc.test,enabled:0 -msgid "If a quality control test is not enabled it means it can not be moved from \"Quality Success\" or \"Quality Failed\" state." -msgstr "Si una prueba de control de calidad no está habilitada, significa que no se pueden mover del estado \"Calidad Correcta\" o \"Calidad Errónea\"." - -#. module: quality_control -#: selection:qc.proof,type:0 -#: selection:qc.test.line,proof_type:0 -#: selection:qc.test.template.line,type:0 -msgid "Quantitative" -msgstr "Cuantitativa" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_line -#: field:qc.test.line,test_template_line_id:0 -#: view:qc.test.template.line:0 -msgid "Test Template Line" -msgstr "Línea de la plantilla del test" - -#. module: quality_control -#: field:qc.proof,ref:0 -msgid "Code" -msgstr "Código" - -#. module: quality_control -#: selection:qc.test,state:0 -msgid "Quality Failed" -msgstr "Calidad errónea" - -#. module: quality_control -#: view:qc.test:0 -#: field:qc.test,test_internal_note:0 -msgid "Internal Note" -msgstr "Nota interna" - -#. module: quality_control -#: field:qc.proof,synonym_ids:0 -#: field:qc.proof,synonyms:0 -msgid "Synonyms" -msgstr "Sinónimos" - -#. module: quality_control -#: help:qc.test.line,uom_id:0 -msgid "UoM for minimum and maximum values if it is a quantitative proof." -msgstr "UoM para el valor Máximo y Mínimo válido, si se trata de una prueba cuantitativa." - -#. module: quality_control -#: view:qc.test:0 -#: view:qc.test.set.template.wizard:0 -msgid "Cancel" -msgstr "Cancelar" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_proof -msgid "proof" -msgstr "Prueba" - -#. module: quality_control -#: constraint:ir.model:0 -msgid "The Object name must start with x_ and not contain any special character !" -msgstr "El nombre del objeto debe empezar con x_ y no debe contener ningún carácter especial!" - -#. module: quality_control -#: field:qc.test.line,min_value:0 -#: field:qc.test.template.line,min_value:0 -msgid "Min" -msgstr "Mínimo" - -#. module: quality_control -#: view:qc.test.line:0 -msgid "Test Values" -msgstr "Valores del Test" - -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_posible_value -msgid "qc.posible.value" -msgstr "qc.posible.valor" - -#. module: quality_control -#: view:qc.proof.synonym:0 -msgid "Test Synonym" -msgstr "Test Sinónimo" - -#. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_lines_menu -#: field:qc.test,test_line_ids:0 -msgid "Test Lines" -msgstr "Líneas del test" - -#. module: quality_control -#: field:qc.test.line,max_value:0 -#: field:qc.test.template.line,max_value:0 -msgid "Max" -msgstr "Máx" - -#. module: quality_control -#: help:qc.test,success:0 -msgid "This field will be active if all tests have succeeded." -msgstr "Este campo se activa si todas las pruebas han tenido éxito." - -#. module: quality_control -#: field:qc.test.line,notes:0 -#: field:qc.test.template.line,notes:0 -msgid "Notes" -msgstr "Notas" - -#. module: quality_control -#: view:qc.test.set.template.wizard:0 -msgid "Select Test Template" -msgstr "Seleccionar plantilla del test" - -#. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_line -#: view:qc.test.line:0 -msgid "Test Line" -msgstr "Línea del test" - -#. module: quality_control -#: field:qc.posible.value,name:0 -#: field:qc.proof,name:0 -#: field:qc.proof.method,name:0 -#: field:qc.proof.synonym,name:0 -#: field:qc.test.template,name:0 -#: field:qc.test.template.trigger,name:0 -msgid "Name" -msgstr "Nombre" - -#. module: quality_control -#: field:qc.test.template,test_template_line_ids:0 -msgid "Lines" -msgstr "Líneas" - -#. module: quality_control -#: view:qc.test:0 -#: field:qc.test.line,valid_value_ids:0 -#: field:qc.test.template.line,valid_value_ids:0 -msgid "Values" -msgstr "Valores" - -#. module: quality_control -#: view:qc.test:0 -msgid "Approve" -msgstr "Aprobar" - -#. module: quality_control -#: field:qc.test.line,actual_value_qt:0 -msgid "Qt.Value" -msgstr "Qt.valor" - -#. module: quality_control -#: selection:qc.test,state:0 -msgid "Quality Success" -msgstr "Calidad correcta" - -#. module: quality_control -#: field:qc.test.template.line,sequence:0 -msgid "Sequence" -msgstr "Secuencia" - -#. module: quality_control -#: view:qc.test.set.template.wizard:0 -msgid "Accept" -msgstr "Aceptar" - -#. module: quality_control -#: help:qc.test.template.category,active:0 -msgid "The active field allows you to hide the category without removing it." -msgstr "El campo activo le permite ocultar la categoría sin eliminarlo." - - diff --git a/quality_control_oca/i18n/quality_control.pot b/quality_control_oca/i18n/quality_control.pot index 7a800bf63ed..949e62e5e88 100644 --- a/quality_control_oca/i18n/quality_control.pot +++ b/quality_control_oca/i18n/quality_control.pot @@ -1,13 +1,13 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: # * quality_control # msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 5.0.12\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2010-08-31 07:57:32+0000\n" -"PO-Revision-Date: 2010-08-31 07:57:32+0000\n" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-11-06 08:15+0000\n" +"PO-Revision-Date: 2014-11-06 08:15+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -16,465 +16,604 @@ msgstr "" "Plural-Forms: \n" #. module: quality_control -#: view:qc.test.line:0 -msgid "Check Values" +#: view:qc.test.set.template.wizard:quality_control.view_qc_test_set_template_wizard_form +msgid "Accept" msgstr "" #. module: quality_control -#: field:qc.test.template,trig_on:0 -msgid "Trigger" +#: field:qc.posible.value,active:0 +#: field:qc.proof,active:0 +#: field:qc.proof.method,active:0 +#: field:qc.test.template,active:0 +#: field:qc.test.template.category,active:0 +#: field:qc.test.template.trigger,active:0 +msgid "Active" msgstr "" #. module: quality_control -#: view:qc.posible.value:0 -msgid "Posible Value" +#: field:qc.test.line,valid_value_ids:0 +#: field:qc.test.template.line,valid_value_ids:0 +msgid "Answers" msgstr "" #. module: quality_control -#: field:qc.test.set.template.wizard,test_template_id:0 -msgid "Template" +#: view:qc.test:quality_control.qc_test_form_view +msgid "Approve" msgstr "" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_new_test -#: view:qc.test:0 -#: field:qc.test,test_template_id:0 -#: field:qc.test.line,test_id:0 -msgid "Test" +#: view:qc.test:quality_control.qc_test_form_view +#: view:qc.test.set.template.wizard:quality_control.view_qc_test_set_template_wizard_form +msgid "Cancel" msgstr "" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_set_template_wizard_form -#: model:ir.model,name:quality_control.model_qc_test_set_template_wizard -msgid "qc.test.set.template.wizard" +#: selection:qc.test,state:0 +msgid "Canceled" msgstr "" #. module: quality_control -#: field:qc.test.line,uom_id:0 -#: field:qc.test.template.line,uom_id:0 -msgid "Uom" +#: field:qc.test.template,category_id:0 +msgid "Category" msgstr "" #. module: quality_control -#: model:ir.module.module,description:quality_control.module_meta_information -msgid "This module provides a generic infrastructure for quality tests. The idea is that it can be later be reused for doing quality tests in production lots but also in any other areas a company may desire." +#: field:qc.test.template.category,name:0 +msgid "Category Name" msgstr "" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_line -msgid "qc.test.template.line" +#: view:qc.test.line:quality_control.qc_test_line_form_view +msgid "Check Values" msgstr "" #. module: quality_control -#: field:qc.test.template,fill_correct_values:0 -msgid "Fill With Correct Values" +#: view:qc.test.template.category:quality_control.qc_test_template_category_form_view +#: field:qc.test.template.category,child_ids:0 +msgid "Child Categories" msgstr "" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof_synonym -msgid "qc.proof.synonym" +#: field:qc.proof,ref:0 +msgid "Code" msgstr "" #. module: quality_control -#: field:qc.test.template,object_id:0 -msgid "Reference Object" +#: model:ir.ui.menu,name:quality_control.qc_menu_config +msgid "Configuration" msgstr "" #. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_template_line_menu -msgid "Test Template Lines" +#: view:qc.test:quality_control.qc_test_form_view +msgid "Confirm" msgstr "" #. module: quality_control -#: field:qc.test.line,success:0 -msgid "Success?" +#: field:qc.posible.value,ok:0 +msgid "Correct answer" msgstr "" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template -#: model:ir.model,name:quality_control.model_qc_test_template -#: model:ir.ui.menu,name:quality_control.qc_test_template_menu -#: view:qc.test.template:0 -#: field:qc.test.template.line,test_template_id:0 -msgid "Test Template" +#: field:qc.posible.value,create_uid:0 +#: field:qc.proof,create_uid:0 +#: field:qc.proof.method,create_uid:0 +#: field:qc.proof.synonym,create_uid:0 +#: field:qc.test,create_uid:0 +#: field:qc.test.line,create_uid:0 +#: field:qc.test.set.template.wizard,create_uid:0 +#: field:qc.test.template,create_uid:0 +#: field:qc.test.template.category,create_uid:0 +#: field:qc.test.template.line,create_uid:0 +#: field:qc.test.template.trigger,create_uid:0 +msgid "Created by" msgstr "" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_trigger -#: model:ir.ui.menu,name:quality_control.qc_test_template_trigger_menu -#: view:qc.test.template.trigger:0 -msgid "Template Trigger" +#: field:qc.posible.value,create_date:0 +#: field:qc.proof,create_date:0 +#: field:qc.proof.method,create_date:0 +#: field:qc.proof.synonym,create_date:0 +#: field:qc.test,create_date:0 +#: field:qc.test.line,create_date:0 +#: field:qc.test.set.template.wizard,create_date:0 +#: field:qc.test.template,create_date:0 +#: field:qc.test.template.category,create_date:0 +#: field:qc.test.template.line,create_date:0 +#: field:qc.test.template.trigger,create_date:0 +msgid "Created on" msgstr "" #. module: quality_control -#: selection:qc.proof,type:0 -#: selection:qc.test.line,proof_type:0 -#: selection:qc.test.template.line,type:0 -msgid "Qualitative" +#: field:qc.test,name:0 +msgid "Date" msgstr "" #. module: quality_control -#: view:qc.test.template.line:0 -msgid "proof Line" +#: help:qc.test,message_last_post:0 +msgid "Date of the last message posted on the record." msgstr "" #. module: quality_control -#: field:qc.test.line,proof_type:0 -msgid "Proof Type" +#: view:qc.test:quality_control.qc_test_form_view +#: selection:qc.test,state:0 +msgid "Draft" msgstr "" #. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_proof_menu -#: view:qc.proof:0 -#: field:qc.proof.synonym,proof_id:0 -#: field:qc.test.line,proof_id:0 -#: field:qc.test.template.line,proof_id:0 -msgid "Proof" +#: view:qc.test:quality_control.qc_test_search_view +#: field:qc.test,enabled:0 +msgid "Enabled" msgstr "" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof -msgid "qc.proof" +#: code:addons/quality_control/models/quality_control.py:227 +#: constraint:qc.test.template.category:0 +#, python-format +msgid "Error ! You can not create recursive categories." msgstr "" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_proof_method -msgid "Methods" +#: view:qc.test:quality_control.qc_test_form_view +#: field:qc.test,test_external_note:0 +msgid "External Note" msgstr "" #. module: quality_control -#: field:qc.test,object_id:0 -msgid "Reference" +#: field:qc.test.template,fill_correct_values:0 +msgid "Fill With Correct Values" msgstr "" #. module: quality_control -#: view:qc.test:0 -msgid "Select Template" +#: field:qc.test,message_follower_ids:0 +msgid "Followers" msgstr "" #. module: quality_control -#: constraint:qc.test.template.category:0 -msgid "Error ! You can not create recursive categories." +#: field:qc.test.template.category,complete_name:0 +msgid "Full Name" msgstr "" #. module: quality_control #: selection:qc.test.template,type:0 -msgid "Related" +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_generic +msgid "Generic" msgstr "" #. module: quality_control -#: view:qc.test:0 -#: field:qc.test,test_external_note:0 -msgid "External Note" +#: view:qc.test:quality_control.qc_test_search_view +msgid "Group By..." msgstr "" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test -msgid "qc.test" +#: help:qc.test,message_summary:0 +msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views." msgstr "" #. module: quality_control -#: view:qc.proof.synonym:0 -msgid "Proof Synonym" +#: field:qc.posible.value,id:0 +#: field:qc.proof,id:0 +#: field:qc.proof.method,id:0 +#: field:qc.proof.synonym,id:0 +#: field:qc.test,id:0 +#: field:qc.test.line,id:0 +#: field:qc.test.set.template.wizard,id:0 +#: field:qc.test.template,id:0 +#: field:qc.test.template.category,id:0 +#: field:qc.test.template.line,id:0 +#: field:qc.test.template.trigger,id:0 +msgid "ID" msgstr "" #. module: quality_control -#: help:qc.test.line,max_value:0 -msgid "Maximum valid value if it is a quantitative proof." +#: help:qc.test,enabled:0 +msgid "If a quality control test is not enabled it means it can not be moved from \"Quality Success\" or \"Quality Failed\" state." msgstr "" #. module: quality_control -#: field:qc.posible.value,active:0 -#: field:qc.proof,active:0 -#: field:qc.proof.method,active:0 -#: field:qc.test.template,active:0 -#: field:qc.test.template.category,active:0 -#: field:qc.test.template.trigger,active:0 -msgid "Active" +#: help:qc.test,message_unread:0 +msgid "If checked new messages require your attention." msgstr "" #. module: quality_control -#: view:qc.proof.method:0 -msgid "Proof Method" +#: view:qc.test:quality_control.qc_test_form_view +#: field:qc.test,test_internal_note:0 +msgid "Internal Note" msgstr "" #. module: quality_control -#: constraint:ir.actions.act_window:0 -msgid "Invalid model name in the action definition." +#: field:qc.test,message_is_follower:0 +msgid "Is a Follower" msgstr "" #. module: quality_control -#: view:qc.test:0 -msgid "Confirm" +#: field:qc.test,message_last_post:0 +msgid "Last Message Date" msgstr "" #. module: quality_control -#: selection:qc.test.template,type:0 -#: model:qc.test.template.category,name:quality_control.qc_test_template_category_generic -msgid "Generic" +#: field:qc.posible.value,write_uid:0 +#: field:qc.proof,write_uid:0 +#: field:qc.proof.method,write_uid:0 +#: field:qc.proof.synonym,write_uid:0 +#: field:qc.test,write_uid:0 +#: field:qc.test.line,write_uid:0 +#: field:qc.test.set.template.wizard,write_uid:0 +#: field:qc.test.template,write_uid:0 +#: field:qc.test.template.category,write_uid:0 +#: field:qc.test.template.line,write_uid:0 +#: field:qc.test.template.trigger,write_uid:0 +msgid "Last Updated by" msgstr "" #. module: quality_control -#: field:qc.test.template.category,child_ids:0 -msgid "Child Categories" +#: field:qc.posible.value,write_date:0 +#: field:qc.proof,write_date:0 +#: field:qc.proof.method,write_date:0 +#: field:qc.proof.synonym,write_date:0 +#: field:qc.test,write_date:0 +#: field:qc.test.line,write_date:0 +#: field:qc.test.set.template.wizard,write_date:0 +#: field:qc.test.template,write_date:0 +#: field:qc.test.template.category,write_date:0 +#: field:qc.test.template.line,write_date:0 +#: field:qc.test.template.trigger,write_date:0 +msgid "Last Updated on" msgstr "" #. module: quality_control -#: help:qc.test.line,actual_value_ql:0 -msgid "Value of the result if it is a qualitative proof." +#: field:qc.test.template,test_template_line_ids:0 +msgid "Lines" msgstr "" #. module: quality_control -#: field:qc.test,state:0 -msgid "State" +#: model:res.groups,name:quality_control.group_quality_control_manager +msgid "Manager" msgstr "" #. module: quality_control -#: selection:qc.test,state:0 -msgid "Draft" +#: field:qc.test.line,max_value:0 +#: field:qc.test.template.line,max_value:0 +msgid "Max" msgstr "" #. module: quality_control -#: view:qc.posible.value:0 -msgid "Proof Posible Value" +#: help:qc.test.line,max_value:0 +msgid "Maximum valid value if it is a quantitative proof." msgstr "" #. module: quality_control -#: view:qc.test.line:0 -msgid "Test Result" +#: field:qc.test,message_ids:0 +msgid "Messages" msgstr "" #. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_menu_config -msgid "Configuration" +#: help:qc.test,message_ids:0 +msgid "Messages and communication history" msgstr "" #. module: quality_control -#: constraint:ir.ui.view:0 -msgid "Invalid XML for View Architecture!" +#: model:ir.model,name:quality_control.model_qc_proof_method +#: model:ir.ui.menu,name:quality_control.qc_proof_method_menu +#: field:qc.test.line,method_id:0 +#: field:qc.test.template.line,method_id:0 +msgid "Method" msgstr "" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_proof_synonym -msgid "Synonym" +#: model:ir.actions.act_window,name:quality_control.action_qc_proof_method +msgid "Methods" msgstr "" #. module: quality_control -#: field:qc.test.template.category,parent_id:0 -msgid "Parent Category" +#: field:qc.test.line,min_value:0 +#: field:qc.test.template.line,min_value:0 +msgid "Min" msgstr "" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_line -msgid "qc.test.line" +#: help:qc.test.line,min_value:0 +msgid "Minimum valid value if it is a quantitative proof." msgstr "" #. module: quality_control -#: field:qc.test.template.category,complete_name:0 -msgid "Full Name" +#: field:qc.posible.value,name:0 +#: field:qc.proof,name:0 +#: field:qc.proof.method,name:0 +#: field:qc.proof.synonym,name:0 +#: field:qc.test.template,name:0 +#: field:qc.test.template.trigger,name:0 +msgid "Name" msgstr "" #. module: quality_control -#: field:qc.test.line,actual_value_ql:0 -msgid "Ql.Value" +#: view:qc.test:quality_control.qc_test_form_view +#: field:qc.test.line,notes:0 +#: field:qc.test.template.line,notes:0 +msgid "Notes" msgstr "" #. module: quality_control -#: field:qc.proof,type:0 -#: field:qc.test.template,type:0 -#: field:qc.test.template.line,type:0 -msgid "Type" +#: field:qc.test.template.category,parent_id:0 +msgid "Parent Category" +msgstr "" + +#. module: quality_control +#: view:qc.posible.value:quality_control.qc_posible_value_tree_view +msgid "Posible Value" msgstr "" #. module: quality_control #: model:ir.actions.act_window,name:quality_control.action_qc_posible_value #: model:ir.ui.menu,name:quality_control.qc_proof_posible_value_menu +#: view:qc.proof:quality_control.qc_proof_form_view #: field:qc.proof,value_ids:0 msgid "Posible Values" msgstr "" #. module: quality_control -#: field:qc.test.template,category_id:0 -msgid "Category" +#: model:ir.actions.act_window,name:quality_control.action_qc_proof +#: model:ir.ui.menu,name:quality_control.qc_proof_menu +#: view:qc.proof:quality_control.qc_proof_form_view +#: view:qc.proof:quality_control.qc_proof_tree_view +#: field:qc.proof.synonym,proof_id:0 +msgid "Proof" msgstr "" #. module: quality_control -#: model:qc.test.template.category,name:quality_control.qc_test_template_category_referenced -msgid "referenced" +#: view:qc.proof.method:quality_control.qc_method_form_view +msgid "Proof Method" msgstr "" #. module: quality_control -#: model:ir.module.module,shortdesc:quality_control.module_meta_information -#: model:ir.ui.menu,name:quality_control.qc_menu -msgid "Quality Control" +#: view:qc.posible.value:quality_control.qc_posible_value_form_view +msgid "Proof Posible Value" msgstr "" #. module: quality_control -#: field:qc.test.template.category,name:0 -msgid "Category Name" +#: view:qc.proof.synonym:quality_control.qc_proof_synonym_form_view +msgid "Proof Synonym" msgstr "" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_proof_method -#: model:ir.ui.menu,name:quality_control.qc_proof_method_menu -#: field:qc.test.line,method_id:0 -#: field:qc.test.template.line,method_id:0 -msgid "Method" +#: field:qc.test.line,proof_type:0 +msgid "Proof Type" msgstr "" #. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_menu -msgid "Tests" +#: field:qc.test.line,actual_value_ql:0 +msgid "Ql.Value" msgstr "" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_category -msgid "qc.test.template.category" +#: field:qc.test.line,actual_value_qt:0 +msgid "Qt.Value" msgstr "" #. module: quality_control -#: help:qc.test.line,actual_value_qt:0 -msgid "Value of the result if it is a quantitative proof." +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Qualitative" msgstr "" #. module: quality_control -#: help:qc.test.line,min_value:0 -msgid "Minimum valid value if it is a quantitative proof." +#: model:ir.module.category,name:quality_control.module_category_quality_control +#: model:ir.ui.menu,name:quality_control.qc_menu +msgid "Quality Control" msgstr "" #. module: quality_control -#: field:qc.test,name:0 -msgid "Date" +#: selection:qc.test,state:0 +msgid "Quality Failed" msgstr "" #. module: quality_control -#: view:qc.proof.method:0 -msgid "Test Method" +#: selection:qc.test,state:0 +msgid "Quality Success" msgstr "" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_test_template_trigger -msgid "qc.test.template.trigger" +#: selection:qc.proof,type:0 +#: selection:qc.test.line,proof_type:0 +#: selection:qc.test.template.line,type:0 +msgid "Quantitative" msgstr "" #. module: quality_control -#: field:qc.test,success:0 -msgid "Success" +#: field:qc.test.line,proof_id:0 +#: field:qc.test.template.line,proof_id:0 +msgid "Question" msgstr "" #. module: quality_control -#: help:qc.test.line,test_uom_id:0 -msgid "UoM of the value of the result if it is a quantitative proof." +#: view:qc.test:quality_control.qc_test_search_view +#: field:qc.test,object_id:0 +msgid "Reference" msgstr "" #. module: quality_control -#: field:qc.test,enabled:0 -msgid "Enabled" +#: field:qc.test.template,object_id:0 +msgid "Reference Object" msgstr "" #. module: quality_control -#: field:qc.test.line,test_uom_id:0 -msgid "Uom Test" +#: model:qc.test.template.category,name:quality_control.qc_test_template_category_referenced +msgid "Referenced" msgstr "" #. module: quality_control -#: selection:qc.test,state:0 -msgid "Waiting Supervisor Approval" +#: selection:qc.test.template,type:0 +msgid "Related" msgstr "" #. module: quality_control -#: help:qc.test,enabled:0 -msgid "If a quality control test is not enabled it means it can not be moved from \"Quality Success\" or \"Quality Failed\" state." +#: view:qc.test:quality_control.qc_test_search_view +msgid "Search Test" msgstr "" #. module: quality_control -#: selection:qc.proof,type:0 -#: selection:qc.test.line,proof_type:0 -#: selection:qc.test.template.line,type:0 -msgid "Quantitative" +#: model:ir.actions.act_window,name:quality_control.action_qc_test_set_template_wizard_form +#: view:qc.test.set.template.wizard:quality_control.view_qc_test_set_template_wizard_form +msgid "Select Test Template" msgstr "" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_line -#: field:qc.test.line,test_template_line_id:0 -#: view:qc.test.template.line:0 -msgid "Test Template Line" +#: field:qc.test.template.line,sequence:0 +msgid "Sequence" msgstr "" #. module: quality_control -#: field:qc.proof,ref:0 -msgid "Code" +#: view:qc.test:quality_control.qc_test_search_view +#: field:qc.test,state:0 +msgid "State" msgstr "" #. module: quality_control -#: selection:qc.test,state:0 -msgid "Quality Failed" +#: view:qc.test:quality_control.qc_test_search_view +#: field:qc.test,success:0 +msgid "Success" msgstr "" #. module: quality_control -#: view:qc.test:0 -#: field:qc.test,test_internal_note:0 -msgid "Internal Note" +#: field:qc.test.line,success:0 +msgid "Success?" +msgstr "" + +#. module: quality_control +#: field:qc.test,message_summary:0 +msgid "Summary" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_proof_synonym +msgid "Synonym" msgstr "" #. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_proof_synonyms_menu +#: view:qc.proof:quality_control.qc_proof_form_view #: field:qc.proof,synonym_ids:0 #: field:qc.proof,synonyms:0 msgid "Synonyms" msgstr "" #. module: quality_control -#: help:qc.test.line,uom_id:0 -msgid "UoM for minimum and maximum values if it is a quantitative proof." +#: view:qc.test:quality_control.qc_test_form_view +#: view:qc.test:quality_control.qc_test_search_view +#: field:qc.test.set.template.wizard,test_template_id:0 +msgid "Template" msgstr "" #. module: quality_control -#: view:qc.test:0 -#: view:qc.test.set.template.wizard:0 -msgid "Cancel" +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_trigger +#: model:ir.ui.menu,name:quality_control.qc_test_template_trigger_menu +#: view:qc.test.template.trigger:quality_control.qc_test_template_trigger_form_view +#: view:qc.test.template.trigger:quality_control.qc_test_template_trigger_tree_view +msgid "Template Trigger" msgstr "" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_proof -msgid "proof" +#: model:ir.actions.act_window,name:quality_control.action_qc_new_test +#: view:qc.test:quality_control.qc_test_form_view +#: view:qc.test:quality_control.qc_test_tree_view +#: field:qc.test,test_template_id:0 +#: field:qc.test.line,test_id:0 +msgid "Test" msgstr "" #. module: quality_control -#: constraint:ir.model:0 -msgid "The Object name must start with x_ and not contain any special character !" +#: model:ir.actions.act_window,name:quality_control.action_qc_test_line +#: view:qc.test.line:quality_control.qc_test_line_form_view +#: view:qc.test.line:quality_control.qc_test_line_tree_view +msgid "Test Line" msgstr "" #. module: quality_control -#: field:qc.test.line,min_value:0 -#: field:qc.test.template.line,min_value:0 -msgid "Min" +#: model:ir.ui.menu,name:quality_control.qc_test_lines_menu +#: field:qc.test,test_line_ids:0 +msgid "Test Lines" msgstr "" #. module: quality_control -#: view:qc.test.line:0 -msgid "Test Values" +#: view:qc.proof.method:quality_control.qc_proof_method_tree_view +msgid "Test Method" +msgstr "" + +#. module: quality_control +#: view:qc.test:quality_control.qc_test_form_view +msgid "Test Name" msgstr "" #. module: quality_control -#: model:ir.model,name:quality_control.model_qc_posible_value -msgid "qc.posible.value" +#: view:qc.test.line:quality_control.qc_test_line_form_view +msgid "Test Result" msgstr "" #. module: quality_control -#: view:qc.proof.synonym:0 +#: view:qc.proof.synonym:quality_control.qc_test_synonym_tree_view msgid "Test Synonym" msgstr "" #. module: quality_control -#: model:ir.ui.menu,name:quality_control.qc_test_lines_menu -#: field:qc.test,test_line_ids:0 -msgid "Test Lines" +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template +#: model:ir.model,name:quality_control.model_qc_test_template +#: model:ir.ui.menu,name:quality_control.qc_test_template_menu +#: view:qc.test.template:quality_control.qc_test_template_form_view +#: view:qc.test.template:quality_control.qc_test_template_tree_view +#: field:qc.test.template.line,test_template_id:0 +msgid "Test Template" msgstr "" #. module: quality_control -#: field:qc.test.line,max_value:0 -#: field:qc.test.template.line,max_value:0 -msgid "Max" +#: model:ir.ui.menu,name:quality_control.qc_template_category_menu +msgid "Test Template Categories" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_category +#: model:ir.model,name:quality_control.model_qc_test_template_category +#: view:qc.test.template.category:quality_control.qc_test_template_category_form_view +#: view:qc.test.template.category:quality_control.qc_test_template_category_tree_view +msgid "Test Template Category" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_template_line +#: model:ir.model,name:quality_control.model_qc_test_template_line +#: field:qc.test.line,test_template_line_id:0 +#: view:qc.test.template.line:quality_control.qc_test_template_line_tree_view +msgid "Test Template Line" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_test_template_line_menu +msgid "Test Template Lines" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_template_trigger +msgid "Test Template Trigger" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_menu_config_templates +msgid "Test Templates" +msgstr "" + +#. module: quality_control +#: view:qc.test.line:quality_control.qc_test_line_form_view +msgid "Test Values" +msgstr "" + +#. module: quality_control +#: model:ir.ui.menu,name:quality_control.qc_menu_tests +#: model:ir.ui.menu,name:quality_control.qc_test_menu +msgid "Tests" +msgstr "" + +#. module: quality_control +#: help:qc.test.template.category,active:0 +msgid "The active field allows you to hide the category without removing it." msgstr "" #. module: quality_control @@ -483,71 +622,77 @@ msgid "This field will be active if all tests have succeeded." msgstr "" #. module: quality_control -#: field:qc.test.line,notes:0 -#: field:qc.test.template.line,notes:0 -msgid "Notes" +#: field:qc.test.template,trig_on:0 +msgid "Trigger" msgstr "" #. module: quality_control -#: view:qc.test.set.template.wizard:0 -msgid "Select Test Template" +#: field:qc.proof,type:0 +#: field:qc.test.template,type:0 +#: field:qc.test.template.line,type:0 +msgid "Type" msgstr "" #. module: quality_control -#: model:ir.actions.act_window,name:quality_control.action_qc_test_line -#: view:qc.test.line:0 -msgid "Test Line" +#: field:qc.test,message_unread:0 +msgid "Unread Messages" msgstr "" #. module: quality_control -#: field:qc.posible.value,name:0 -#: field:qc.proof,name:0 -#: field:qc.proof.method,name:0 -#: field:qc.proof.synonym,name:0 -#: field:qc.test.template,name:0 -#: field:qc.test.template.trigger,name:0 -msgid "Name" +#: help:qc.test.line,uom_id:0 +msgid "UoM for minimum and maximum values if it is a quantitative proof." msgstr "" #. module: quality_control -#: field:qc.test.template,test_template_line_ids:0 -msgid "Lines" +#: help:qc.test.line,test_uom_id:0 +msgid "UoM of the value of the result if it is a quantitative proof." msgstr "" #. module: quality_control -#: view:qc.test:0 -#: field:qc.test.line,valid_value_ids:0 -#: field:qc.test.template.line,valid_value_ids:0 -msgid "Values" +#: field:qc.test.line,uom_id:0 +#: field:qc.test.template.line,uom_id:0 +msgid "Uom" msgstr "" #. module: quality_control -#: view:qc.test:0 -msgid "Approve" +#: field:qc.test.line,test_uom_id:0 +msgid "Uom Test" msgstr "" #. module: quality_control -#: field:qc.test.line,actual_value_qt:0 -msgid "Qt.Value" +#: model:res.groups,name:quality_control.group_quality_control_user +msgid "User" +msgstr "" + +#. module: quality_control +#: help:qc.test.line,actual_value_ql:0 +msgid "Value of the result if it is a qualitative proof." +msgstr "" + +#. module: quality_control +#: help:qc.test.line,actual_value_qt:0 +msgid "Value of the result if it is a quantitative proof." msgstr "" #. module: quality_control #: selection:qc.test,state:0 -msgid "Quality Success" +msgid "Waiting Supervisor Approval" msgstr "" #. module: quality_control -#: field:qc.test.template.line,sequence:0 -msgid "Sequence" +#: help:qc.posible.value,ok:0 +msgid "When this field is True, the answer\n" +" is correct, When is False the answer\n" +" is not correct." msgstr "" #. module: quality_control -#: view:qc.test.set.template.wizard:0 -msgid "Accept" +#: view:qc.test.template.line:quality_control.qc_test_template_line_form_view +msgid "proof Line" msgstr "" #. module: quality_control -#: help:qc.test.template.category,active:0 -msgid "The active field allows you to hide the category without removing it." +#: view:qc.test:quality_control.qc_test_form_view +msgid "questions" msgstr "" diff --git a/quality_control_oca/models/quality_control.py b/quality_control_oca/models/quality_control.py index 61d6c78ad44..e780a745bd2 100644 --- a/quality_control_oca/models/quality_control.py +++ b/quality_control_oca/models/quality_control.py @@ -62,6 +62,10 @@ class QcPosibleValue(orm.Model): 'name': fields.char('Name', size=200, required=True, select="1", translate=True), 'active': fields.boolean('Active', select="1"), + 'ok': fields.boolean('Correct answer', + help="When this field is True, the answer\n" + " is correct, When is False the answer\n" + " is not correct."), } _defaults = { @@ -127,6 +131,11 @@ def _synonyms(self, cr, uid, ids, field_name, arg, context=None): 'active': lambda *a: True, } + _sql_constraints = [ + ('proof_method_unique', 'UNIQUE (proof_id, method_id)', + _('Proof-Method relation alredy exists!')), + ] + def name_search(self, cr, uid, name='', args=None, operator='ilike', context=None, limit=None): result = super(QcProof, self).name_search(cr, uid, name=name, @@ -260,12 +269,9 @@ def _links_get(self, cr, uid, context=None): def _default_name(self, cr, uid, context=None): if context and context.get('reference_model', False): - id = context.get('reference_id') - if not id: - id = context.get('active_id') - if id: + if 'reference_id' in context: source = self.pool[context['reference_model']].browse( - cr, uid, id, context=context) + cr, uid, context.get('active_id'), context=context) if hasattr(source, 'name'): return source.name @@ -327,12 +333,12 @@ def onchange_proof_id(self, cr, uid, ids, proof_id, context=None): 'sequence': fields.integer('Sequence', required=True), 'test_template_id': fields.many2one('qc.test.template', 'Test Template', select="1"), - 'proof_id': fields.many2one('qc.proof', 'Proof', required=True, + 'proof_id': fields.many2one('qc.proof', 'Question', required=True, select="1"), 'valid_value_ids': fields.many2many('qc.posible.value', 'qc_template_value_rel', 'template_line_id', 'value_id', - 'Values'), + 'Answers'), 'method_id': fields.many2one('qc.proof.method', 'Method', select="1"), 'notes': fields.text('Notes'), 'min_value': fields.float('Min', digits=(16, 5)), # Quantitative only @@ -353,6 +359,7 @@ class QcTest(orm.Model): This model contains an instance of a test template. """ _name = 'qc.test' + _inherit = ['mail.thread', 'ir.needaction_mixin'] def _success(self, cr, uid, ids, field_name, arg, context=None): result = {} @@ -421,6 +428,7 @@ def _default_object_id(self, cr, uid, context=None): ('waiting', 'Waiting Supervisor Approval'), ('success', 'Quality Success'), ('failed', 'Quality Failed'), + ('canceled', 'Canceled'), ], 'State', readonly=True, select="1"), 'success': fields.function(_success, method=True, type='boolean', string='Success', @@ -440,14 +448,14 @@ def _default_object_id(self, cr, uid, context=None): 'enabled': True, } - def copy(self, cr, uid, id, default=None, context=None): + def copy(self, cr, uid, copy_id, default=None, context=None): if context is None: context = {} - if default is None: default = {} default['name'] = time.strftime('%Y-%m-%d %H:%M:%S') - return super(QcTest, self).copy(cr, uid, id, default, context=context) + return super(QcTest, self).copy(cr, uid, copy_id, default, + context=context) def create(self, cr, uid, datas, context=None): if context and context.get('reference_model', False): @@ -481,53 +489,57 @@ def set_test_template(self, cr, uid, ids, template_id, force_fill=False, context = {} test_obj = self.pool['qc.test'] test_line_obj = self.pool['qc.test.line'] - for id in ids: - test_obj.write(cr, uid, id, { - 'test_template_id': template_id - }, context) - test = test_obj.browse(cr, uid, id, context=context) - + for test_id in ids: + test_obj.write(cr, uid, test_id, {'test_template_id': template_id}, + context) + test = test_obj.browse(cr, uid, test_id, context=context) if len(test.test_line_ids) > 0: test_line_obj.unlink(cr, uid, [x.id for x in test.test_line_ids], context=context) - - fill = False - if test.test_template_id.fill_correct_values: - fill = True - for line in test.test_template_id.test_template_line_ids: - data = { - 'test_id': id, - 'method_id': line.method_id.id, - 'proof_id': line.proof_id.id, - 'test_template_line_id': line.id, - 'notes': line.notes, - 'min_value': line.min_value, - 'max_value': line.max_value, - 'uom_id': line.uom_id.id, - 'test_uom_id': line.uom_id.id, - 'proof_type': line.type, + test_lines = self._prepare_test_lines( + cr, uid, test, force_fill=force_fill, context=context) + if test_lines: + test_obj.write(cr, uid, id, {'test_line_ids': test_lines}, + context) + + def _prepare_test_lines(self, cr, uid, test, force_fill=False, + context=None): + new_data = [] + fill = test.test_template_id.fill_correct_values + for line in test.test_template_id.test_template_line_ids: + data = self._prepare_test_line( + cr, uid, test, line, fill=fill or force_fill, context=context) + new_data.append((0, 0, data)) + return new_data + + def _prepare_test_line(self, cr, uid, test, line, fill=None, context=None): + data = {} + data = {'test_id': test.id, + 'method_id': line.method_id.id, + 'proof_id': line.proof_id.id, + 'test_template_line_id': line.id, + 'notes': line.notes, + 'min_value': line.min_value, + 'max_value': line.max_value, + 'uom_id': line.uom_id.id, + 'test_uom_id': line.uom_id.id, + 'proof_type': line.type, } - if fill or force_fill: - if line.type == 'qualitative': - # Fill with the first correct value finded. - data['actual_value_ql'] = ( - len(line.valid_value_ids) and - line.valid_value_ids[0] and - line.valid_value_ids[0].id or False) - - else: - # Fill with value inside range. - data['actual_value_qt'] = line.min_value - data['test_uom_id'] = line.uom_id.id - - test_line_id = test_line_obj.create(cr, uid, data, - context=context) - test_line_obj.write( - cr, uid, [test_line_id], - {'valid_value_ids': - [(6, 0, [x.id for x in line.valid_value_ids])]}, - context=context) + if fill: + if line.type == 'qualitative': + # Fill with the first correct value found. + data['actual_value_ql'] = ( + len(line.valid_value_ids) and + line.valid_value_ids[0] and + line.valid_value_ids[0].id or False) + else: + # Fill with value inside range. + data['actual_value_qt'] = line.min_value + data['test_uom_id'] = line.uom_id.id + data['valid_value_ids'] = [(6, 0, [x.id for x in + line.valid_value_ids])] + return data class QcTestLine(orm.Model): @@ -552,7 +564,7 @@ def quality_test_check(self, cr, uid, ids, field_name, field_value, def quality_test_qualitative_check(self, cr, uid, test_line, context=None): if test_line.actual_value_ql in test_line.valid_value_ids: - return True + return test_line.actual_value_ql.ok else: return False @@ -571,13 +583,13 @@ def quality_test_quantitative_check(self, cr, uid, test_line, 'test_template_line_id': fields.many2one('qc.test.template.line', 'Test Template Line', readonly=True), - 'proof_id': fields.many2one('qc.proof', 'Proof', readonly=True), + 'proof_id': fields.many2one('qc.proof', 'Question', readonly=True), 'method_id': fields.many2one('qc.proof.method', 'Method', readonly=True), 'valid_value_ids': fields.many2many('qc.posible.value', 'qc_test_value_rel', 'test_line_id', 'value_id', - 'Values'), + 'Answers'), 'actual_value_qt': fields.float('Qt.Value', digits=(16, 5), help="Value of the result if it is a" " quantitative proof."), @@ -613,18 +625,20 @@ def onchange_actual_value_qt(self, cr, uid, ids, uom_id, test_uom_id, actual_value_qt, test_uom_id) if amount >= min_value and amount <= max_value: - res.update({'success': True}) + res['success'] = True else: - res.update({'success': False}) + res['success'] = False return {'value': res} def onchange_actual_value_ql(self, cr, uid, ids, actual_value_ql, valid_value_ids, context=None): res = {} + value_obj = self.pool['qc.posible.value'] if actual_value_ql: valid = valid_value_ids[0][2] if actual_value_ql in valid: - res.update({'success': True}) + value = value_obj.browse(cr, uid, actual_value_ql, context) + res['success'] = value.ok else: - res.update({'success': False}) + res['success'] = False return {'value': res} diff --git a/quality_control_oca/views/quality_control_view.xml b/quality_control_oca/views/quality_control_view.xml index f14ef2c6c57..e3b066d9e17 100644 --- a/quality_control_oca/views/quality_control_view.xml +++ b/quality_control_oca/views/quality_control_view.xml @@ -45,10 +45,11 @@ qc.posible.value
- - - - + + + + +
@@ -58,6 +59,7 @@ + @@ -355,6 +357,8 @@
+
+ +

+

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ +
+ + + + qc.inspection.tree + qc.inspection + + + + + + + + + + + + + qc.inspection.search + qc.inspection + + + + + + + + + + + + + + + + + + + + + + + + + + Inspections + qc.inspection + form + tree,form + + + + + + qc.inspection.line.tree + qc.inspection.line + + + + + + + + + + + + + + + + + + + qc.inspection.line.search + qc.inspection.line + + + + + + + + + + + + + + + + + + + + + + + + Inspection lines + qc.inspection.line + form + tree,form + + + + + + diff --git a/quality_control_oca/views/qc_menus.xml b/quality_control_oca/views/qc_menus.xml new file mode 100644 index 00000000000..b4145b022e5 --- /dev/null +++ b/quality_control_oca/views/qc_menus.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + diff --git a/quality_control_oca/views/qc_test_category_view.xml b/quality_control_oca/views/qc_test_category_view.xml new file mode 100644 index 00000000000..94765388b20 --- /dev/null +++ b/quality_control_oca/views/qc_test_category_view.xml @@ -0,0 +1,33 @@ + + + + + + qc.test.category.tree + qc.test.category + + + + + + + + + + + + Test categories + qc.test.category + form + tree,form + + + + + + diff --git a/quality_control_oca/views/qc_test_view.xml b/quality_control_oca/views/qc_test_view.xml new file mode 100644 index 00000000000..c753fe95861 --- /dev/null +++ b/quality_control_oca/views/qc_test_view.xml @@ -0,0 +1,127 @@ + + + + + + qc.test.form + qc.test + +
+ + +
+
+
+ + + qc.test.tree + qc.test + + + + + + + + + + + + + Tests + qc.test + form + tree,form + + + + qc.test.question.form + qc.test.question + +
+
+ + + +
+
+ diff --git a/quality_control_oca/views/qc_trigger_view.xml b/quality_control_oca/views/qc_trigger_view.xml new file mode 100644 index 00000000000..254dccf9288 --- /dev/null +++ b/quality_control_oca/views/qc_trigger_view.xml @@ -0,0 +1,34 @@ + + + + + + qc.trigger.form + qc.trigger + +
+ + + + + + + +
+
+
+ + + qc.trigger.tree + qc.trigger + + + + + + + + +
+
+ diff --git a/quality_control_oca/views/quality_control_view.xml b/quality_control_oca/views/quality_control_view.xml deleted file mode 100644 index a09275c3d26..00000000000 --- a/quality_control_oca/views/quality_control_view.xml +++ /dev/null @@ -1,552 +0,0 @@ - - - - - - - - - - - qc.proof.method.form - qc.proof.method - -
- - - - -
-
-
- - qc.proof.method.tree - qc.proof.method - - - - - - - - Methods - qc.proof.method - form - tree,form - - - - - - - qc.posible.value.form - qc.posible.value - -
- - - - - -
-
-
- - qc.posible_value.tree - qc.posible.value - - - - - - - - - Posible Values - qc.posible.value - form - tree,form - - - - - - - qc.test.template.trigger.form - qc.test.template.trigger - -
- - - - -
-
-
- - qc.test.template.trigger.tree - qc.test.template.trigger - - - - - - - - Template Trigger - qc.test.template.trigger - form - tree,form - - - - - - - qc.proof.synonym - qc.proof.synonym - -
- - - - -
-
-
- - qc.proof.synonym.tree - qc.proof.synonym - - - - - - - - - Synonym - qc.proof.synonym - form - tree,form - - - - - - - qc.proof.form - qc.proof - -
- - - - - - - - - - - - - - -
-
-
- - qc.proof.tree - qc.proof - - - - - - - - - - Proof - qc.proof - form - tree,form - - - - - - qc.test.template.category.form - qc.test.template.category - -
- - - - - - - - - - -
-
-
- - - qc.test.template.category.tree - qc.test.template.category - - - - - - - - - - - - Test Template Category - qc.test.template.category - form - tree,form - - - - - - - - - qc.test.template.form - qc.test.template - 8 - -
- -

- -

- - - - - - - - - - - - - -
-
-
-
- - qc.test.template_tree - qc.test.template - - - - - - - - - - - - Test Template - qc.test.template - form - tree,form - - - - - - - qc.test.template.line.form - qc.test.template.line - form - -
- - - - - - - - - - - - - - - - - - -
-
- - qc.test.template,line.tree - qc.test.template.line - tree - - - - - - - - - - - - - - - - - Test Template Line - qc.test.template.line - form - tree,form - - - - - - - - qc.test.form - qc.test - form - -
-
-
- -
-
-
-
- - - - - - - - - - - - - - - -
- - - - -
-
-
- - -
-
-
-
- - qc.test.tree - qc.test - tree - - - - - - - - - - - qc.test.extended.search.vieww - qc.test - - - - - - - - - - - - - - - - - - - - - - - Test - qc.test - form - tree,form - - - - - - - qc.test.line.form - qc.test.line - form - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- - qc.test.line.tree - qc.test.line - tree - - - - - - - - - - - - - - - - - - Test Line - qc.test.line - form - tree,form - - - - -
-
- diff --git a/quality_control_oca/wizard/__init__.py b/quality_control_oca/wizard/__init__.py index 7e105bf3fcc..64c91e55774 100644 --- a/quality_control_oca/wizard/__init__.py +++ b/quality_control_oca/wizard/__init__.py @@ -1,31 +1,5 @@ # -*- encoding: utf-8 -*- ############################################################################## -# -# Copyright (c) 2010 NaN Projectes de Programari Lliure, S.L. -# All Rights Reserved. -# http://www.NaN-tic.com -# -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsability of assessing all potential -# consequences resulting from its eventual inadequacies and bugs -# End users who are looking for a ready-to-use solution with commercial -# garantees and support are strongly adviced to contract a Free Software -# Service Company -# -# This program is Free Software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# +# For copyright and license notices, see __openerp__.py file in root directory ############################################################################## - from . import qc_test_wizard diff --git a/quality_control_oca/wizard/qc_test_wizard.py b/quality_control_oca/wizard/qc_test_wizard.py index 6a8b03a21c2..0545f142946 100644 --- a/quality_control_oca/wizard/qc_test_wizard.py +++ b/quality_control_oca/wizard/qc_test_wizard.py @@ -1,70 +1,23 @@ # -*- coding: utf-8 -*- ############################################################################## -# -# Copyright (c) 2010 NaN Projectes de Programari Lliure, S.L. -# All Rights Reserved. -# http://www.NaN-tic.com -# -# WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsability of assessing all potential -# consequences resulting from its eventual inadequacies and bugs -# End users who are looking for a ready-to-use solution with commercial -# garantees and support are strongly adviced to contract a Free Software -# Service Company -# -# This program is Free Software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# +# For copyright and license notices, see __openerp__.py file in root directory ############################################################################## +from openerp import models, fields, api -from openerp.osv import orm, fields - -class QcTestWizard(orm.TransientModel): - """ - This wizard is responsible for setting the proof template for a given test. - This will not only fill in the 'test_template_id' field, but will also fill - in all lines of the test with the corresponding lines of the template. +class QcInspectionSetTest(models.TransientModel): + """This wizard is responsible for setting the test for a given + inspection. This will not only fill in the 'test' field, but will + also fill in all lines of the inspection with the corresponding lines of + the template. """ - _name = 'qc.test.set.template.wizard' - - def _default_test_template_id(self, cr, uid, context=None): - test = self.pool['qc.test'].browse( - cr, uid, context.get('active_id', False), context=context) - cond = [('object_id', '=', test.object_id.id)] - ids = self.pool['qc.test.template'].search(cr, uid, cond, - context=context) - return ids and ids[0] or False - - _columns = { - 'test_template_id': fields.many2one('qc.test.template', 'Template'), - } - - _defaults = { - 'test_template_id': _default_test_template_id, - } + _name = 'qc.inspection.set.test' - def action_create_test(self, cr, uid, ids, context=None): - wizard = self.browse(cr, uid, ids[0], context=context) - self.pool['qc.test'].set_test_template(cr, uid, [context['active_id']], - wizard.test_template_id.id, - context=context) - return { - 'type': 'ir.actions.act_window_close', - } + test = fields.Many2one(comodel_name='qc.test', string='Test') - def action_cancel(self, cr, uid, ids, context=None): - return { - 'type': 'ir.actions.act_window_close', - } + @api.multi + def action_create_test(self): + inspection_obj = self.env['qc.inspection'] + inspection_obj.browse(self.env.context['active_id']).set_test( + self.test) + return True diff --git a/quality_control_oca/wizard/qc_test_wizard_view.xml b/quality_control_oca/wizard/qc_test_wizard_view.xml index e88c6bc3513..4c86f4738eb 100644 --- a/quality_control_oca/wizard/qc_test_wizard_view.xml +++ b/quality_control_oca/wizard/qc_test_wizard_view.xml @@ -1,31 +1,32 @@ - - - qc.test.set.template.wizard - qc.test.set.template.wizard + + qc.inspection.set.test.form + qc.inspection.set.test -
+ - +
- - Select Test Template + + Select test ir.actions.act_window - qc.test.set.template.wizard + qc.inspection.set.test form form new diff --git a/quality_control_oca/workflow/test_workflow.xml b/quality_control_oca/workflow/test_workflow.xml deleted file mode 100644 index 0dcb9a7f502..00000000000 --- a/quality_control_oca/workflow/test_workflow.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - quality.control.basic - qc.test - True - - - - - - True - draft - function - write({'state': 'draft'}) - subflow.draft - - - - canceled - function - write({'state': 'canceled'}) - subflow.waiting - - - - waiting - function - write({'state': 'waiting'}) - subflow.waiting - - - - success - function - write({'state': 'success'}) - subflow.success - - - - failed - function - write({'state': 'failed'}) - subflow.failed - - - - - - - confirm - - - - - not success - approve - - - - - success - approve - - - - - cancel - - - - - enabled - cancel - - - - - enabled - cancel - - - - - enabled - draft - - - From 7720495fb6722125d8d7b5cdab60250fcaeab992 Mon Sep 17 00:00:00 2001 From: oihane Date: Fri, 13 Feb 2015 14:22:03 +0100 Subject: [PATCH 07/61] New module closes #662 * Changes in access rules * Trigger line instead of test and user --- quality_control_oca/i18n/es.po | 100 +++++++++++++++--- quality_control_oca/i18n/quality_control.pot | 78 ++++++++++---- quality_control_oca/models/qc_inspection.py | 26 +++-- quality_control_oca/models/qc_trigger_line.py | 43 ++++---- .../views/product_category_view.xml | 5 +- .../views/product_template_view.xml | 1 + .../views/qc_inspection_view.xml | 18 ++-- quality_control_oca/views/qc_menus.xml | 1 + quality_control_oca/views/qc_test_view.xml | 1 + 9 files changed, 201 insertions(+), 72 deletions(-) diff --git a/quality_control_oca/i18n/es.po b/quality_control_oca/i18n/es.po index 1117664a829..c7072fe9bc8 100644 --- a/quality_control_oca/i18n/es.po +++ b/quality_control_oca/i18n/es.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 8.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-12-10 22:13+0000\n" -"PO-Revision-Date: 2014-12-10 22:13+0000\n" +"POT-Creation-Date: 2015-02-24 16:01+0000\n" +"PO-Revision-Date: 2015-02-24 16:01+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -47,8 +47,8 @@ msgid "Approve" msgstr "Aprobar" #. module: quality_control -#: field:qc.inspection,auto_generated:0 #: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,auto_generated:0 msgid "Auto-generated" msgstr "Auto-generada" @@ -61,13 +61,18 @@ msgstr "Cancelar" #. module: quality_control #: selection:qc.inspection,state:0 msgid "Cancelled" -msgstr "" +msgstr "Cancelado" #. module: quality_control #: field:qc.test,category:0 msgid "Category" msgstr "Categoría" +#. module: quality_control +#: field:qc.test.category,child_ids:0 +msgid "Child categories" +msgstr "Categorías hijas" + #. module: quality_control #: field:qc.inspection,company_id:0 #: field:qc.test,company_id:0 @@ -80,6 +85,11 @@ msgstr "Compañía" msgid "Confirm" msgstr "Confirmar" +#. module: quality_control +#: help:qc.inspection.line,test_uom_category:0 +msgid "Conversion between Units of Measure can only occur if they belong to the same category. The conversion will be made based on the ratios." +msgstr "La conversión entre las unidades de medidas sólo pueden ocurrir si pertenecen a la misma categoría. La conversión se basará en los ratios establecidos." + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view @@ -140,7 +150,7 @@ msgstr "Borrador" #. module: quality_control #: model:ir.model,name:quality_control.model_qc_inspection msgid "Email Thread" -msgstr "Inspeción creada" +msgstr "Hilo de mensajes" #. module: quality_control #: code:addons/quality_control/models/qc_test_category.py:35 @@ -176,6 +186,22 @@ msgstr "Agrupar por..." msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views." msgstr "Contiene el resumen del chatter (nº de mensajes, ...). Este resumen está directamente en formato html para ser insertado en vistas kanban." +#. module: quality_control +#: field:qc.inspection,id:0 +#: field:qc.inspection.line,id:0 +#: field:qc.inspection.set.test,id:0 +#: field:qc.test,id:0 +#: field:qc.test.category,id:0 +#: field:qc.test.question,id:0 +#: field:qc.test.question.value,id:0 +#: field:qc.trigger,id:0 +#: field:qc.trigger.line,id:0 +#: field:qc.trigger.product_category_line,id:0 +#: field:qc.trigger.product_line,id:0 +#: field:qc.trigger.product_template_line,id:0 +msgid "ID" +msgstr "ID" + #. module: quality_control #: help:qc.inspection,auto_generated:0 msgid "If an inspection is auto-generated, it can be cancelled nor removed" @@ -352,6 +378,7 @@ msgid "Pre-fill with correct values" msgstr "Pre-rellenar con valores correctos" #. module: quality_control +#: model:ir.model,name:quality_control.model_product_product #: view:qc.inspection:quality_control.qc_inspection_search_view #: field:qc.inspection,product:0 #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view @@ -362,10 +389,14 @@ msgstr "Producto" #. module: quality_control #: model:ir.model,name:quality_control.model_product_category -#: field:qc.inspection.line,test_uom_category:0 msgid "Product Category" msgstr "Categoría de producto" +#. module: quality_control +#: model:ir.model,name:quality_control.model_product_template +msgid "Product Template" +msgstr "Plantilla de producto" + #. module: quality_control #: help:qc.inspection,product:0 #: help:qc.inspection.line,product:0 @@ -406,6 +437,11 @@ msgstr "Valores cualitativos" msgid "Quality control" msgstr "Control de calidad" +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_inspection_line +msgid "Quality control inspection line" +msgstr "Línea de inspección del control de calidad" + #. module: quality_control #: model:ir.model,name:quality_control.model_qc_test_question msgid "Quality control question" @@ -453,6 +489,11 @@ msgstr "Cuantitativa" msgid "Quantitative value" msgstr "Valor cuantitativo" +#. module: quality_control +#: field:qc.inspection,qty:0 +msgid "Quantity" +msgstr "Cantidad" + #. module: quality_control #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view #: field:qc.inspection.line,name:0 @@ -502,6 +543,16 @@ msgstr "Referenciado" msgid "Related" msgstr "Relativo" +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,user:0 +#: field:qc.trigger.line,user:0 +#: field:qc.trigger.product_category_line,user:0 +#: field:qc.trigger.product_line,user:0 +#: field:qc.trigger.product_template_line,user:0 +msgid "Responsible" +msgstr "Responsable" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view msgid "Search inspection" @@ -512,6 +563,11 @@ msgstr "Buscar inspección" msgid "Search inspection line" msgstr "Buscar línea de inspección" +#. module: quality_control +#: model:res.groups,name:quality_control.group_quality_control_user +msgid "See Own Inspections" +msgstr "Mostrar las inspecciones propias" + #. module: quality_control #: model:ir.actions.act_window,name:quality_control.action_qc_inspection_set_test #: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form @@ -554,9 +610,9 @@ msgstr "Resumen" #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view #: field:qc.inspection,test:0 +#: field:qc.inspection.set.test,test:0 #: view:qc.test:quality_control.qc_test_form_view #: field:qc.test.question,test:0 -#: field:qc.inspection.set.test,test:0 #: field:qc.trigger.line,test:0 #: field:qc.trigger.product_category_line,test:0 #: field:qc.trigger.product_line,test:0 @@ -626,6 +682,11 @@ msgstr "Disparador" msgid "Type" msgstr "Tipo" +#. module: quality_control +#: field:qc.inspection.line,test_uom_category:0 +msgid "Unit of Measure Category" +msgstr "Categoría de unidad de medida" + #. module: quality_control #: field:qc.inspection,message_unread:0 msgid "Unread Messages" @@ -651,11 +712,6 @@ msgstr "UdM del valor de inspección si es una pregunta cuantitativa." msgid "Uom" msgstr "UdM" -#. module: quality_control -#: model:res.groups,name:quality_control.group_quality_control_user -msgid "User" -msgstr "Usuario" - #. module: quality_control #: field:qc.inspection.line,valid_values:0 msgid "Valid values" @@ -682,32 +738,42 @@ msgid "When this field is marked, the answer is considered correct." msgstr "Cuando este campo está marcado, la respuesta se considera correcta." #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:92 +#: code:addons/quality_control/models/qc_inspection.py:93 +#: code:addons/quality_control/models/qc_inspection.py:97 #, python-format msgid "You cannot remove an auto-generated inspection" msgstr "No puede eliminar una inspección auto-generada." #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:95 +#: code:addons/quality_control/models/qc_inspection.py:96 +#: code:addons/quality_control/models/qc_inspection.py:100 #, python-format msgid "You cannot remove an inspection that it's not in draft state" msgstr "No puede eliminar una inspección que no esté en estado borrador" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:108 +#: code:addons/quality_control/models/qc_inspection.py:109 +#: code:addons/quality_control/models/qc_inspection.py:113 #, python-format msgid "You must set the test to perform first." msgstr "Debe establecer primero el test a realizar." #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:123 +#: code:addons/quality_control/models/qc_inspection.py:124 +#: code:addons/quality_control/models/qc_inspection.py:128 #, python-format msgid "You should provide a unit of measure for qualitative questions." msgstr "Debe proveer una unidad de medida para las preguntas cualitativas." #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:118 +#: code:addons/quality_control/models/qc_inspection.py:119 +#: code:addons/quality_control/models/qc_inspection.py:123 #, python-format msgid "You should provide an answer for all quantitative questions." msgstr "Debe proveer una respuesta para todas las preguntas cuantitativas." +#. module: quality_control +#: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form +msgid "or" +msgstr "o" + diff --git a/quality_control_oca/i18n/quality_control.pot b/quality_control_oca/i18n/quality_control.pot index 44eb31853af..05e00c0b8f0 100644 --- a/quality_control_oca/i18n/quality_control.pot +++ b/quality_control_oca/i18n/quality_control.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 8.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-12-10 22:13+0000\n" -"PO-Revision-Date: 2014-12-10 22:13+0000\n" +"POT-Creation-Date: 2015-02-24 16:08+0000\n" +"PO-Revision-Date: 2015-02-24 16:08+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -47,8 +47,8 @@ msgid "Approve" msgstr "" #. module: quality_control -#: field:qc.inspection,auto_generated:0 #: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,auto_generated:0 msgid "Auto-generated" msgstr "" @@ -68,6 +68,11 @@ msgstr "" msgid "Category" msgstr "" +#. module: quality_control +#: field:qc.test.category,child_ids:0 +msgid "Child categories" +msgstr "" + #. module: quality_control #: field:qc.inspection,company_id:0 #: field:qc.test,company_id:0 @@ -80,6 +85,11 @@ msgstr "" msgid "Confirm" msgstr "" +#. module: quality_control +#: help:qc.inspection.line,test_uom_category:0 +msgid "Conversion between Units of Measure can only occur if they belong to the same category. The conversion will be made based on the ratios." +msgstr "" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view @@ -379,7 +389,6 @@ msgstr "" #. module: quality_control #: model:ir.model,name:quality_control.model_product_category -#: field:qc.inspection.line,test_uom_category:0 msgid "Product Category" msgstr "" @@ -428,6 +437,11 @@ msgstr "" msgid "Quality control" msgstr "" +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_inspection_line +msgid "Quality control inspection line" +msgstr "" + #. module: quality_control #: model:ir.model,name:quality_control.model_qc_test_question msgid "Quality control question" @@ -475,6 +489,11 @@ msgstr "" msgid "Quantitative value" msgstr "" +#. module: quality_control +#: field:qc.inspection,qty:0 +msgid "Quantity" +msgstr "" + #. module: quality_control #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view #: field:qc.inspection.line,name:0 @@ -524,6 +543,16 @@ msgstr "" msgid "Related" msgstr "" +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,user:0 +#: field:qc.trigger.line,user:0 +#: field:qc.trigger.product_category_line,user:0 +#: field:qc.trigger.product_line,user:0 +#: field:qc.trigger.product_template_line,user:0 +msgid "Responsible" +msgstr "" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view msgid "Search inspection" @@ -534,6 +563,11 @@ msgstr "" msgid "Search inspection line" msgstr "" +#. module: quality_control +#: model:res.groups,name:quality_control.group_quality_control_user +msgid "See Own Inspections" +msgstr "" + #. module: quality_control #: model:ir.actions.act_window,name:quality_control.action_qc_inspection_set_test #: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form @@ -573,14 +607,10 @@ msgstr "" msgid "Summary" msgstr "" -#. module: quality_control -#: field:qc.inspection.set.test,test:0 -msgid "Template" -msgstr "" - #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view #: field:qc.inspection,test:0 +#: field:qc.inspection.set.test,test:0 #: view:qc.test:quality_control.qc_test_form_view #: field:qc.test.question,test:0 #: field:qc.trigger.line,test:0 @@ -652,6 +682,11 @@ msgstr "" msgid "Type" msgstr "" +#. module: quality_control +#: field:qc.inspection.line,test_uom_category:0 +msgid "Unit of Measure Category" +msgstr "" + #. module: quality_control #: field:qc.inspection,message_unread:0 msgid "Unread Messages" @@ -677,11 +712,6 @@ msgstr "" msgid "Uom" msgstr "" -#. module: quality_control -#: model:res.groups,name:quality_control.group_quality_control_user -msgid "User" -msgstr "" - #. module: quality_control #: field:qc.inspection.line,valid_values:0 msgid "Valid values" @@ -708,32 +738,42 @@ msgid "When this field is marked, the answer is considered correct." msgstr "" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:92 +#: code:addons/quality_control/models/qc_inspection.py:93 +#: code:addons/quality_control/models/qc_inspection.py:97 #, python-format msgid "You cannot remove an auto-generated inspection" msgstr "" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:95 +#: code:addons/quality_control/models/qc_inspection.py:96 +#: code:addons/quality_control/models/qc_inspection.py:100 #, python-format msgid "You cannot remove an inspection that it's not in draft state" msgstr "" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:108 +#: code:addons/quality_control/models/qc_inspection.py:109 +#: code:addons/quality_control/models/qc_inspection.py:113 #, python-format msgid "You must set the test to perform first." msgstr "" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:123 +#: code:addons/quality_control/models/qc_inspection.py:124 +#: code:addons/quality_control/models/qc_inspection.py:128 #, python-format msgid "You should provide a unit of measure for qualitative questions." msgstr "" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:118 +#: code:addons/quality_control/models/qc_inspection.py:119 +#: code:addons/quality_control/models/qc_inspection.py:123 #, python-format msgid "You should provide an answer for all quantitative questions." msgstr "" +#. module: quality_control +#: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form +msgid "or" +msgstr "" + diff --git a/quality_control_oca/models/qc_inspection.py b/quality_control_oca/models/qc_inspection.py index 5e2415f81b3..149b6237a29 100644 --- a/quality_control_oca/models/qc_inspection.py +++ b/quality_control_oca/models/qc_inspection.py @@ -7,6 +7,7 @@ class QcInspection(models.Model): _name = 'qc.inspection' + _description = 'Quality control inspection' _inherit = ['mail.thread', 'ir.needaction_mixin'] @api.one @@ -78,6 +79,9 @@ def _get_qty(self): states={'draft': [('readonly', False)]}, default=lambda self: self.env['res.company']._company_default_get( 'qc.inspection')) + user = fields.Many2one( + comodel_name='res.users', string='Responsible', + track_visibility='always', default=lambda self: self.env.user) @api.model def create(self, vals): @@ -141,41 +145,43 @@ def action_cancel(self): self.write({'state': 'canceled'}) @api.multi - def set_test(self, test, force_fill=False): + def set_test(self, trigger_line, force_fill=False): for inspection in self: header = self._prepare_inspection_header( - inspection.object_id, test) + inspection.object_id, trigger_line) del header['state'] # don't change current status del header['auto_generated'] # don't change auto_generated flag + del header['user'] # don't change current user inspection.write(header) self.inspection_lines.unlink() inspection.inspection_lines = inspection._prepare_inspection_lines( - test, force_fill=force_fill) + trigger_line.test, force_fill=force_fill) @api.multi - def _make_inspection(self, object_ref, test): + def _make_inspection(self, object_ref, trigger_line): """Overridable hook method for creating inspection from test. :param object_ref: Object instance - :param test: Test instance + :param trigger_line: Trigger line instance :return: Inspection object """ inspection = self.create(self._prepare_inspection_header( - object_ref, test)) - inspection.set_test(test) + object_ref, trigger_line)) + inspection.set_test(trigger_line) return inspection @api.multi - def _prepare_inspection_header(self, object_ref, test): + def _prepare_inspection_header(self, object_ref, trigger_line): """Overridable hook method for preparing inspection header. :param object_ref: Object instance - :param test: Test instance + :param trigger_line: Trigger line instance :return: List of values for creating the inspection """ return { 'object_id': object_ref and '%s,%s' % (object_ref._name, object_ref.id) or False, 'state': 'ready', - 'test': test.id, + 'test': trigger_line.test.id, + 'user': trigger_line.user.id, 'auto_generated': True, } diff --git a/quality_control_oca/models/qc_trigger_line.py b/quality_control_oca/models/qc_trigger_line.py index ebba3159566..eab318dcddf 100644 --- a/quality_control_oca/models/qc_trigger_line.py +++ b/quality_control_oca/models/qc_trigger_line.py @@ -11,14 +11,18 @@ class QcTriggerLine(models.AbstractModel): trigger = fields.Many2one(comodel_name="qc.trigger", required=True) test = fields.Many2one(comodel_name="qc.test", required=True) + user = fields.Many2one( + comodel_name='res.users', string='Responsible', + track_visibility='always', default=lambda self: self.env.user) - def get_test_for_product(self, trigger, product): - """Overridable method for getting test associated to a product. + def get_trigger_line_for_product(self, trigger, product): + """Overridable method for getting trigger_line associated to a product. Each inherited model will complete this module to make the search by product, template or category. :param trigger: Trigger instance. :param product: Product instance. - :return: Set of tests that matches to the given product and trigger. + :return: Set of trigger_lines that matches to the given product and + trigger. """ return set() @@ -29,16 +33,17 @@ class QcTriggerProductCategoryLine(models.Model): product_category = fields.Many2one(comodel_name="product.category") - def get_test_for_product(self, trigger, product): - tests = super(QcTriggerProductCategoryLine, - self).get_test_for_product(trigger, product) + def get_trigger_line_for_product(self, trigger, product): + trigger_lines = super(QcTriggerProductCategoryLine, + self).get_trigger_line_for_product(trigger, + product) category = product.categ_id while category: for trigger_line in category.qc_triggers: if trigger_line.trigger.id == trigger.id: - tests.add(trigger_line.test) + trigger_lines.add(trigger_line) category = category.parent_id - return tests + return trigger_lines class QcTriggerProductTemplateLine(models.Model): @@ -47,13 +52,14 @@ class QcTriggerProductTemplateLine(models.Model): product_template = fields.Many2one(comodel_name="product.template") - def get_test_for_product(self, trigger, product): - tests = super(QcTriggerProductTemplateLine, - self).get_test_for_product(trigger, product) + def get_trigger_line_for_product(self, trigger, product): + trigger_lines = super(QcTriggerProductTemplateLine, + self).get_trigger_line_for_product(trigger, + product) for trigger_line in product.product_tmpl_id.qc_triggers: if trigger_line.trigger.id == trigger.id: - tests.add(trigger_line.test) - return tests + trigger_lines.add(trigger_line) + return trigger_lines class QcTriggerProductLine(models.Model): @@ -62,10 +68,11 @@ class QcTriggerProductLine(models.Model): product = fields.Many2one(comodel_name="product.product") - def get_test_for_product(self, trigger, product): - tests = super(QcTriggerProductLine, self).get_test_for_product( - trigger, product) + def get_trigger_line_for_product(self, trigger, product): + trigger_lines = super(QcTriggerProductLine, + self).get_trigger_line_for_product(trigger, + product) for trigger_line in product.qc_triggers: if trigger_line.trigger.id == trigger.id: - tests.add(trigger_line.test) - return tests + trigger_lines.add(trigger_line) + return trigger_lines diff --git a/quality_control_oca/views/product_category_view.xml b/quality_control_oca/views/product_category_view.xml index a8013ce30a2..1da2e3591cf 100644 --- a/quality_control_oca/views/product_category_view.xml +++ b/quality_control_oca/views/product_category_view.xml @@ -11,8 +11,9 @@ - - + + + diff --git a/quality_control_oca/views/product_template_view.xml b/quality_control_oca/views/product_template_view.xml index b60c74b14be..c145bfa60fb 100644 --- a/quality_control_oca/views/product_template_view.xml +++ b/quality_control_oca/views/product_template_view.xml @@ -13,6 +13,7 @@ + diff --git a/quality_control_oca/views/qc_inspection_view.xml b/quality_control_oca/views/qc_inspection_view.xml index 03e0506a1e4..f46fa2b0365 100644 --- a/quality_control_oca/views/qc_inspection_view.xml +++ b/quality_control_oca/views/qc_inspection_view.xml @@ -39,21 +39,22 @@ statusbar_colors='{"success": "blue", "failed": "red"}' /> -

-

+

+

- + + @@ -109,6 +110,7 @@ + @@ -124,6 +126,7 @@ + @@ -141,6 +144,9 @@ + diff --git a/quality_control_oca/views/qc_menus.xml b/quality_control_oca/views/qc_menus.xml index b4145b022e5..91e115f753e 100644 --- a/quality_control_oca/views/qc_menus.xml +++ b/quality_control_oca/views/qc_menus.xml @@ -15,6 +15,7 @@
diff --git a/quality_control_oca/views/qc_test_view.xml b/quality_control_oca/views/qc_test_view.xml index c753fe95861..0902a656c3b 100644 --- a/quality_control_oca/views/qc_test_view.xml +++ b/quality_control_oca/views/qc_test_view.xml @@ -120,6 +120,7 @@ parent="qc_menu_test_parent" id="qc_test_menu" action="action_qc_test" + groups="group_quality_control_manager" sequence="20" /> From 2368e53338dbabee437261689849ec5d50bc5804 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Mon, 16 Mar 2015 03:59:56 +0100 Subject: [PATCH 08/61] quality_control * Fix wizard set test * Expand AUTHORS * Fix permissions --- quality_control_oca/__openerp__.py | 4 +++- quality_control_oca/models/qc_inspection.py | 2 +- quality_control_oca/security/ir.model.access.csv | 1 + quality_control_oca/wizard/qc_test_wizard.py | 7 +++++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/quality_control_oca/__openerp__.py b/quality_control_oca/__openerp__.py index 57d146aa9e7..397ec94679e 100644 --- a/quality_control_oca/__openerp__.py +++ b/quality_control_oca/__openerp__.py @@ -24,7 +24,9 @@ { "name": "Quality control", "version": "1.0", - "author": "OdooMRP team", + "author": "OdooMRP team," + "AvanzOSC," + "Serv. Tecnol. Avanzados - Pedro M. Baeza", "website": "http://www.odoomrp.com", "contributors": [ "Pedro M. Baeza Date: Thu, 16 Jul 2015 13:39:31 +0200 Subject: [PATCH 09/61] changed default references of fields.Datetime.now() to fields.Datetime.now --- quality_control_oca/models/qc_inspection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quality_control_oca/models/qc_inspection.py b/quality_control_oca/models/qc_inspection.py index c34f04907bd..590dd5bdffa 100644 --- a/quality_control_oca/models/qc_inspection.py +++ b/quality_control_oca/models/qc_inspection.py @@ -38,7 +38,7 @@ def _get_qty(self): readonly=True, states={'draft': [('readonly', False)]}, copy=False) date = fields.Datetime( string='Date', required=True, readonly=True, copy=False, - default=fields.Datetime.now(), + default=fields.Datetime.now, states={'draft': [('readonly', False)]}, select=True) object_id = fields.Reference( string='Reference', selection=_links_get, readonly=True, From 8d44aead14fc34758d7c2cd5c868556c8a6fcea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matja=C5=BE=20Mozeti=C4=8D?= Date: Sat, 1 Aug 2015 21:08:11 +0200 Subject: [PATCH 10/61] Slovene translations added --- quality_control_oca/i18n/sl.po | 754 +++++++++++++++++++++++++++++++++ 1 file changed, 754 insertions(+) create mode 100644 quality_control_oca/i18n/sl.po diff --git a/quality_control_oca/i18n/sl.po b/quality_control_oca/i18n/sl.po new file mode 100644 index 00000000000..a401c0e00fa --- /dev/null +++ b/quality_control_oca/i18n/sl.po @@ -0,0 +1,754 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * quality_control +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-01 20:11+0200\n" +"PO-Revision-Date: 2015-08-01 20:28+0200\n" +"Last-Translator: Matjaz Mozetic \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 " +"|| n%100==4 ? 2 : 3);\n" +"X-Generator: Poedit 1.8.2\n" +"Language: sl\n" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_trigger_line +#: model:ir.model,name:quality_control.model_qc_trigger_product_category_line +#: model:ir.model,name:quality_control.model_qc_trigger_product_line +#: model:ir.model,name:quality_control.model_qc_trigger_product_template_line +msgid "Abstract line for defining triggers" +msgstr "Abstraktna vrstica za določanje sprožilcev" + +#. module: quality_control +#: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form +msgid "Accept" +msgstr "Sprejem" + +#. module: quality_control +#: field:qc.test,active:0 field:qc.test.category,active:0 +#: field:qc.trigger,active:0 +msgid "Active" +msgstr "Aktivno" + +#. module: quality_control +#: field:qc.inspection.line,possible_ql_values:0 +#: view:qc.test.question:quality_control.qc_test_question_form_view +msgid "Answers" +msgstr "Odgovori" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +msgid "Approve" +msgstr "Odobritev" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,auto_generated:0 +msgid "Auto-generated" +msgstr "Samodejno ustvarjeno" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form +msgid "Cancel" +msgstr "Preklic" + +#. module: quality_control +#: selection:qc.inspection,state:0 +msgid "Cancelled" +msgstr "Preklicano" + +#. module: quality_control +#: field:qc.test,category:0 +msgid "Category" +msgstr "Kategorija" + +#. module: quality_control +#: field:qc.test.category,child_ids:0 +msgid "Child categories" +msgstr "Podrejene kategorije" + +#. module: quality_control +#: field:qc.inspection,company_id:0 field:qc.test,company_id:0 +#: field:qc.trigger,company_id:0 +msgid "Company" +msgstr "Družba" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +msgid "Confirm" +msgstr "Potrditev" + +#. module: quality_control +#: help:qc.inspection.line,test_uom_category:0 +msgid "" +"Conversion between Units of Measure can only occur if they belong to the " +"same category. The conversion will be made based on the ratios." +msgstr "" +"Pretvorba med enotami mere je možna le, če pripadajo isti kategoriji. " +"Pretvorba se izvede na osnovi razmerij." + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +msgid "Correct" +msgstr "Pravilno" + +#. module: quality_control +#: field:qc.test.question.value,ok:0 +msgid "Correct answer?" +msgstr "Pravilni odgovor?" + +#. module: quality_control +#: field:qc.inspection,create_uid:0 field:qc.inspection.line,create_uid:0 +#: field:qc.inspection.set.test,create_uid:0 field:qc.test,create_uid:0 +#: field:qc.test.category,create_uid:0 field:qc.test.question,create_uid:0 +#: field:qc.test.question.value,create_uid:0 field:qc.trigger,create_uid:0 +#: field:qc.trigger.product_category_line,create_uid:0 +#: field:qc.trigger.product_line,create_uid:0 +#: field:qc.trigger.product_template_line,create_uid:0 +msgid "Created by" +msgstr "Ustvaril" + +#. module: quality_control +#: field:qc.inspection,create_date:0 field:qc.inspection.line,create_date:0 +#: field:qc.inspection.set.test,create_date:0 field:qc.test,create_date:0 +#: field:qc.test.category,create_date:0 field:qc.test.question,create_date:0 +#: field:qc.test.question.value,create_date:0 field:qc.trigger,create_date:0 +#: field:qc.trigger.product_category_line,create_date:0 +#: field:qc.trigger.product_line,create_date:0 +#: field:qc.trigger.product_template_line,create_date:0 +msgid "Created on" +msgstr "Ustvarjeno" + +#. module: quality_control +#: field:qc.inspection,date:0 +msgid "Date" +msgstr "Datum" + +#. module: quality_control +#: help:qc.inspection,message_last_post:0 +msgid "Date of the last message posted on the record." +msgstr "Datum zadnjega sporočila vpisanega na to vknjižbo." + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: selection:qc.inspection,state:0 +msgid "Draft" +msgstr "Osnutek" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_inspection +msgid "Email Thread" +msgstr "E-poštna nit" + +#. module: quality_control +#: code:addons/quality_control/models/qc_test_category.py:35 +#, python-format +msgid "Error ! You can not create recursive categories." +msgstr "Napaka! Rekurzivnih kategorij ne morete ustvariti." + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: field:qc.inspection,external_notes:0 +msgid "External notes" +msgstr "Zunanje opombe" + +#. module: quality_control +#: field:qc.inspection,message_follower_ids:0 +msgid "Followers" +msgstr "Sledilci" + +#. module: quality_control +#: selection:qc.test,type:0 +#: model:qc.test.category,name:quality_control.qc_test_template_category_generic +msgid "Generic" +msgstr "Splošno" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +msgid "Group by..." +msgstr "Združi po" + +#. module: quality_control +#: help:qc.inspection,message_summary:0 +msgid "" +"Holds the Chatter summary (number of messages, ...). This summary is " +"directly in html format in order to be inserted in kanban views." +msgstr "" +"Povzetek (število sporočil,..) v html formatu, da se lahko neposredno " +"vstavi v poglede tipa kanban." + +#. module: quality_control +#: field:qc.inspection,id:0 field:qc.inspection.line,id:0 +#: field:qc.inspection.set.test,id:0 field:qc.test,id:0 +#: field:qc.test.category,id:0 field:qc.test.question,id:0 +#: field:qc.test.question.value,id:0 field:qc.trigger,id:0 +#: field:qc.trigger.line,id:0 field:qc.trigger.product_category_line,id:0 +#: field:qc.trigger.product_line,id:0 +#: field:qc.trigger.product_template_line,id:0 +msgid "ID" +msgstr "ID" + +#. module: quality_control +#: help:qc.inspection,auto_generated:0 +msgid "If an inspection is auto-generated, it can be cancelled nor removed" +msgstr "Če se inšpekcija samodejno ustvari, se lahko prekliče ali izbriše" + +#. module: quality_control +#: help:qc.inspection,message_unread:0 +msgid "If checked new messages require your attention." +msgstr "Če označeno, zahtevajo nova sporočila vašo pozornost." + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +msgid "Incorrect" +msgstr "Nepravilno" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +#: field:qc.inspection.line,inspection_id:0 +msgid "Inspection" +msgstr "Inšpekcija" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_inspection_line +#: model:ir.ui.menu,name:quality_control.qc_inspection_lines_menu +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: field:qc.inspection,inspection_lines:0 +#: view:qc.inspection.line:quality_control.qc_inspection_line_tree_view +msgid "Inspection lines" +msgstr "Inšpekcijske postavke" + +#. module: quality_control +#: field:qc.inspection,name:0 +msgid "Inspection number" +msgstr "Inšpekcijska številka" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_inspection +#: model:ir.ui.menu,name:quality_control.qc_inspection_menu +#: model:ir.ui.menu,name:quality_control.qc_inspection_menu_parent +#: view:qc.inspection:quality_control.qc_inspection_tree_view +msgid "Inspections" +msgstr "Inšpekcije" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: field:qc.inspection,internal_notes:0 +msgid "Internal notes" +msgstr "Interni zaznamki" + +#. module: quality_control +#: view:product.template:quality_control.product_template_qc_form_view +msgid "Inventory" +msgstr "Inventar" + +#. module: quality_control +#: field:qc.inspection,message_is_follower:0 +msgid "Is a Follower" +msgstr "Je sledilec" + +#. module: quality_control +#: field:qc.inspection,message_last_post:0 +msgid "Last Message Date" +msgstr "Datum zadnjega sporočila" + +#. module: quality_control +#: field:qc.inspection,write_uid:0 field:qc.inspection.line,write_uid:0 +#: field:qc.inspection.set.test,write_uid:0 field:qc.test,write_uid:0 +#: field:qc.test.category,write_uid:0 field:qc.test.question,write_uid:0 +#: field:qc.test.question.value,write_uid:0 field:qc.trigger,write_uid:0 +#: field:qc.trigger.product_category_line,write_uid:0 +#: field:qc.trigger.product_line,write_uid:0 +#: field:qc.trigger.product_template_line,write_uid:0 +msgid "Last Updated by" +msgstr "Zadnjič posodobil" + +#. module: quality_control +#: field:qc.inspection,write_date:0 field:qc.inspection.line,write_date:0 +#: field:qc.inspection.set.test,write_date:0 field:qc.test,write_date:0 +#: field:qc.test.category,write_date:0 field:qc.test.question,write_date:0 +#: field:qc.test.question.value,write_date:0 field:qc.trigger,write_date:0 +#: field:qc.trigger.product_category_line,write_date:0 +#: field:qc.trigger.product_line,write_date:0 +#: field:qc.trigger.product_template_line,write_date:0 +msgid "Last Updated on" +msgstr "Zadnjič posodobljeno" + +#. module: quality_control +#: model:res.groups,name:quality_control.group_quality_control_manager +msgid "Manager" +msgstr "Upravitelj" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +msgid "Mark todo" +msgstr "Za narediti" + +#. module: quality_control +#: field:qc.inspection.line,max_value:0 field:qc.test.question,max_value:0 +msgid "Max" +msgstr "Maks" + +#. module: quality_control +#: help:qc.inspection.line,max_value:0 +msgid "Maximum valid value if it's a quantitative question." +msgstr "Maksimalna veljavna vrednost za kvantitativna vprašanja." + +#. module: quality_control +#: field:qc.inspection,message_ids:0 +msgid "Messages" +msgstr "Sporočila" + +#. module: quality_control +#: help:qc.inspection,message_ids:0 +msgid "Messages and communication history" +msgstr "Sporočila in kronologija komunikacij" + +#. module: quality_control +#: field:qc.inspection.line,min_value:0 field:qc.test.question,min_value:0 +msgid "Min" +msgstr "Min" + +#. module: quality_control +#: help:qc.inspection.line,min_value:0 +msgid "Minimum valid value if it's a quantitative question." +msgstr "Minimalna veljavna vrednost za kvantitativna vprašanja." + +#. module: quality_control +#: code:addons/quality_control/models/qc_test.py:66 +#, python-format +msgid "Minimum value can't be higher than maximum value." +msgstr "Minimalna vrednost ne more biti višja od maksimalne vrednosti." + +#. module: quality_control +#: field:qc.test,name:0 field:qc.test.category,name:0 +#: field:qc.test.question,name:0 field:qc.test.question.value,name:0 +#: field:qc.trigger,name:0 +msgid "Name" +msgstr "Naziv" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: field:qc.inspection.line,notes:0 field:qc.test.question,notes:0 +msgid "Notes" +msgstr "Opombe" + +#. module: quality_control +#: field:qc.test.category,parent_id:0 +msgid "Parent category" +msgstr "Nadrejena kategorija" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_question_value +msgid "Possible values of qualitative questions." +msgstr "Možne vrednosti kvalitativnih vprašanj" + +#. module: quality_control +#: field:qc.test,fill_correct_values:0 +msgid "Pre-fill with correct values" +msgstr "Pred-izpolni s pravilnimi vrednostmi" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_product_product +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,product:0 +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +#: field:qc.inspection.line,product:0 +#: field:qc.trigger.product_line,product:0 +msgid "Product" +msgstr "Proizvod" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_product_category +msgid "Product Category" +msgstr "Kategorija proizvoda" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_product_template +msgid "Product Template" +msgstr "Predloga proizvoda" + +#. module: quality_control +#: help:qc.inspection,product:0 help:qc.inspection.line,product:0 +msgid "Product associated with the inspection" +msgstr "Proizvod povezan z inšpekcijo" + +#. module: quality_control +#: field:qc.trigger.product_category_line,product_category:0 +msgid "Product category" +msgstr "Kategorija proizvoda" + +#. module: quality_control +#: field:qc.trigger.product_template_line,product_template:0 +msgid "Product template" +msgstr "Predloga proizvoda" + +#. module: quality_control +#: selection:qc.inspection.line,question_type:0 +#: selection:qc.test.question,type:0 +msgid "Qualitative" +msgstr "Kvalitativna" + +#. module: quality_control +#: field:qc.inspection.line,qualitative_value:0 +msgid "Qualitative value" +msgstr "Kvalitativna vrednost" + +#. module: quality_control +#: field:qc.test.question,ql_values:0 +msgid "Qualitative values" +msgstr "Kvalitativne vrednosti" + +#. module: quality_control +#: model:ir.module.category,name:quality_control.module_category_quality_control +#: model:ir.ui.menu,name:quality_control.qc_menu +#: view:product.category:quality_control.product_category_qc_form_view +#: view:product.template:quality_control.product_template_qc_form_view +msgid "Quality control" +msgstr "Kontrola kakovosti" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_inspection_line +msgid "Quality control inspection line" +msgstr "Inšpekcijska postavka kontrole kakovosti" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_question +msgid "Quality control question" +msgstr "Vprašanje kontrole kakovosti" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test +msgid "Quality control test" +msgstr "Testiranje kontrole kakovosti" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_trigger +#: view:qc.trigger:quality_control.qc_trigger_form_view +msgid "Quality control trigger" +msgstr "Sprožilec kontrole kakovosti" + +#. module: quality_control +#: view:product.category:quality_control.product_category_qc_form_view +#: field:product.category,qc_triggers:0 field:product.product,qc_triggers:0 +#: view:product.template:quality_control.product_template_qc_form_view +#: field:product.template,qc_triggers:0 +#: view:qc.trigger:quality_control.qc_trigger_tree_view +msgid "Quality control triggers" +msgstr "Sprožilci kontrole kakovosti" + +#. module: quality_control +#: selection:qc.inspection,state:0 +msgid "Quality failed" +msgstr "Kvaliteta neustrezna" + +#. module: quality_control +#: selection:qc.inspection,state:0 +msgid "Quality success" +msgstr "Kvaliteta ustrezna" + +#. module: quality_control +#: selection:qc.inspection.line,question_type:0 +#: selection:qc.test.question,type:0 +msgid "Quantitative" +msgstr "Kvantitativna" + +#. module: quality_control +#: field:qc.inspection.line,quantitative_value:0 +msgid "Quantitative value" +msgstr "Kvantitativna vrednost" + +#. module: quality_control +#: field:qc.inspection,qty:0 +msgid "Quantity" +msgstr "Količina" + +#. module: quality_control +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +#: field:qc.inspection.line,name:0 +msgid "Question" +msgstr "Vprašanje" + +#. module: quality_control +#: field:qc.inspection.line,question_type:0 +msgid "Question type" +msgstr "Tip vprašanja" + +#. module: quality_control +#: view:qc.test.question:quality_control.qc_test_question_form_view +msgid "Question value" +msgstr "Vrednost vprašanja" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: view:qc.test:quality_control.qc_test_form_view field:qc.test,test_lines:0 +msgid "Questions" +msgstr "Vprašanja" + +#. module: quality_control +#: selection:qc.inspection,state:0 +msgid "Ready" +msgstr "Pripravljeno" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,object_id:0 +msgid "Reference" +msgstr "Sklic" + +#. module: quality_control +#: field:qc.test,object_id:0 +msgid "Reference object" +msgstr "Objekt sklica" + +#. module: quality_control +#: model:qc.test.category,name:quality_control.qc_test_template_category_referenced +msgid "Referenced" +msgstr "Sklicano" + +#. module: quality_control +#: selection:qc.test,type:0 +msgid "Related" +msgstr "Povezano" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,user:0 field:qc.trigger.line,user:0 +#: field:qc.trigger.product_category_line,user:0 +#: field:qc.trigger.product_line,user:0 +#: field:qc.trigger.product_template_line,user:0 +msgid "Responsible" +msgstr "Odgovoren" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +msgid "Search inspection" +msgstr "Iskalnik inšpekcij" + +#. module: quality_control +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +msgid "Search inspection line" +msgstr "Iskalnik inšpekcijskih postavk" + +#. module: quality_control +#: model:res.groups,name:quality_control.group_quality_control_user +msgid "See Own Inspections" +msgstr "Prikaz častnih inšpekcij" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_inspection_set_test +#: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form +msgid "Select test" +msgstr "Izbira testiranja" + +#. module: quality_control +#: field:qc.test.question,sequence:0 +msgid "Sequence" +msgstr "Zaporedje" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +msgid "Set test" +msgstr "Nastavitev testiranja" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,state:0 +msgid "State" +msgstr "Stanje" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,success:0 +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +msgid "Success" +msgstr "Uspeh" + +#. module: quality_control +#: field:qc.inspection.line,success:0 +msgid "Success?" +msgstr "Uspešno?" + +#. module: quality_control +#: field:qc.inspection,message_summary:0 +msgid "Summary" +msgstr "Povzetek" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,test:0 field:qc.inspection.set.test,test:0 +#: view:qc.test:quality_control.qc_test_form_view +#: field:qc.test.question,test:0 field:qc.trigger.line,test:0 +#: field:qc.trigger.product_category_line,test:0 +#: field:qc.trigger.product_line,test:0 +#: field:qc.trigger.product_template_line,test:0 +msgid "Test" +msgstr "Testiranje" + +#. module: quality_control +#: field:qc.inspection.line,test_uom_id:0 +msgid "Test UoM" +msgstr "EM testiranja" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_category +#: model:ir.ui.menu,name:quality_control.qc_test_category_menu +#: view:qc.test.category:quality_control.qc_test_category_tree_view +msgid "Test categories" +msgstr "Kategorije testiranja" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_category +msgid "Test category" +msgstr "Kategorija testiranja" + +#. module: quality_control +#: field:qc.inspection.line,test_line:0 +#: view:qc.test.question:quality_control.qc_test_question_form_view +#: field:qc.test.question.value,test_line:0 +msgid "Test question" +msgstr "Vprašanje testiranja" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test +#: model:ir.ui.menu,name:quality_control.qc_menu_test_parent +#: model:ir.ui.menu,name:quality_control.qc_test_menu +#: view:qc.test:quality_control.qc_test_tree_view +msgid "Tests" +msgstr "Testiranja" + +#. module: quality_control +#: code:addons/quality_control/models/qc_test.py:56 +#, python-format +msgid "There isn't any value with OK marked. You have to mark at least one." +msgstr "Nobena vrednost ni označena za OK. Označiti morate vsaj eno." + +#. module: quality_control +#: help:qc.test.category,active:0 +msgid "This field allows you to hide the category without removing it." +msgstr "To polje omogoča skrivanje kategorije brez brisanja." + +#. module: quality_control +#: help:qc.inspection,success:0 +msgid "This field will be marked if all tests have been succeeded." +msgstr "To polje bo označeno, če bodo vsa testiranja uspešna." + +#. module: quality_control +#: field:qc.trigger.line,trigger:0 +#: field:qc.trigger.product_category_line,trigger:0 +#: field:qc.trigger.product_line,trigger:0 +#: field:qc.trigger.product_template_line,trigger:0 +msgid "Trigger" +msgstr "Sprožilec" + +#. module: quality_control +#: field:qc.test,type:0 field:qc.test.question,type:0 +msgid "Type" +msgstr "Tip" + +#. module: quality_control +#: field:qc.inspection.line,test_uom_category:0 +msgid "Unit of Measure Category" +msgstr "Kategorija merske enote" + +#. module: quality_control +#: field:qc.inspection,message_unread:0 +msgid "Unread Messages" +msgstr "Neprebrana sporočila" + +#. module: quality_control +#: field:qc.inspection.line,uom_id:0 +msgid "UoM" +msgstr "EM" + +#. module: quality_control +#: help:qc.inspection.line,test_uom_id:0 +msgid "UoM for minimum and maximum values if it's a quantitative question." +msgstr "EM za minimalne in maksimalne vrednosti kvantitativnih vprašanj." + +#. module: quality_control +#: help:qc.inspection.line,uom_id:0 +msgid "UoM of the inspection value if it's a quantitative question." +msgstr "EM za vrednosti inšpekcij pri kvantitativnih vprašanjih." + +#. module: quality_control +#: field:qc.test.question,uom_id:0 +msgid "Uom" +msgstr "EM" + +#. module: quality_control +#: field:qc.inspection.line,valid_values:0 +msgid "Valid values" +msgstr "Veljavne vrednosti" + +#. module: quality_control +#: help:qc.inspection.line,qualitative_value:0 +msgid "Value of the result if it's a qualitative question." +msgstr "Vrednost rezultata kvalitativnega vprašanja." + +#. module: quality_control +#: help:qc.inspection.line,quantitative_value:0 +msgid "Value of the result if it's a quantitative question." +msgstr "Vrednost rezultata kvantitativnega vprašanja." + +#. module: quality_control +#: selection:qc.inspection,state:0 +msgid "Waiting supervisor approval" +msgstr "Čakanje nadzornikove odobritve" + +#. module: quality_control +#: help:qc.test.question.value,ok:0 +msgid "When this field is marked, the answer is considered correct." +msgstr "Ko je to polje označeno, se odgovor smatra za pravilen." + +#. module: quality_control +#: code:addons/quality_control/models/qc_inspection.py:93 +#: code:addons/quality_control/models/qc_inspection.py:97 +#, python-format +msgid "You cannot remove an auto-generated inspection" +msgstr "Ne morete odstraniti samodejno ustvarjene inšpekcije" + +#. module: quality_control +#: code:addons/quality_control/models/qc_inspection.py:96 +#: code:addons/quality_control/models/qc_inspection.py:100 +#, python-format +msgid "You cannot remove an inspection that it's not in draft state" +msgstr "Ne morete odstraniti inšpekcije, ki ni v stanju 'osnutek'" + +#. module: quality_control +#: code:addons/quality_control/models/qc_inspection.py:109 +#: code:addons/quality_control/models/qc_inspection.py:113 +#, python-format +msgid "You must set the test to perform first." +msgstr "Najprej določite testiranje, ki se bo izvedlo." + +#. module: quality_control +#: code:addons/quality_control/models/qc_inspection.py:124 +#: code:addons/quality_control/models/qc_inspection.py:128 +#, python-format +msgid "You should provide a unit of measure for qualitative questions." +msgstr "Določite EM za kvalitativna vprašanja." + +#. module: quality_control +#: code:addons/quality_control/models/qc_inspection.py:119 +#: code:addons/quality_control/models/qc_inspection.py:123 +#, python-format +msgid "You should provide an answer for all quantitative questions." +msgstr "Določiti morate en odgovor za vsa kvalitativna vprašanja." + +#. module: quality_control +#: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form +msgid "or" +msgstr "ali" From 648d3802cb1cf7de83cc3a17dfbb3eb262687a00 Mon Sep 17 00:00:00 2001 From: oihane Date: Wed, 12 Aug 2015 11:23:41 +0200 Subject: [PATCH 11/61] quality_control: * Changed permissions * security modified * some demo info added * Added "partner_selectable" field, so that inspections can by made by partner * Little view fixing, field was oe_edit_only instead of label * Add partners to trigger lines * Tests added * Trigger lines with duplicated test cleaned quality_control: Propose to OCA quality_control: required changes quality_control: Fixing coveralls quality_control_stock: * added demo data * replaced unlink method by ondelete="cascade" * required changes --- quality_control_oca/README.rst | 48 +- quality_control_oca/__openerp__.py | 70 +- .../demo/quality_control_demo.xml | 39 + quality_control_oca/i18n/es.po | 212 ++--- .../i18n/{quality_control.pot => fr.po} | 223 ++--- quality_control_oca/i18n/pt_BR.po | 796 ++++++++++++++++++ quality_control_oca/i18n/sl.po | 105 ++- quality_control_oca/models/qc_inspection.py | 32 +- quality_control_oca/models/qc_test.py | 22 +- .../models/qc_test_category.py | 15 +- quality_control_oca/models/qc_trigger.py | 4 + quality_control_oca/models/qc_trigger_line.py | 68 +- .../security/ir.model.access.csv | 8 +- quality_control_oca/tests/__init__.py | 5 + .../tests/test_quality_control.py | 206 +++++ .../views/product_category_view.xml | 2 +- .../views/product_template_view.xml | 2 +- .../views/qc_inspection_view.xml | 2 +- quality_control_oca/views/qc_test_view.xml | 4 +- quality_control_oca/views/qc_trigger_view.xml | 1 + quality_control_oca/wizard/qc_test_wizard.py | 2 +- 21 files changed, 1523 insertions(+), 343 deletions(-) create mode 100644 quality_control_oca/demo/quality_control_demo.xml rename quality_control_oca/i18n/{quality_control.pot => fr.po} (78%) create mode 100644 quality_control_oca/i18n/pt_BR.po create mode 100644 quality_control_oca/tests/__init__.py create mode 100644 quality_control_oca/tests/test_quality_control.py diff --git a/quality_control_oca/README.rst b/quality_control_oca/README.rst index 765875375aa..62770fc461f 100644 --- a/quality_control_oca/README.rst +++ b/quality_control_oca/README.rst @@ -1,3 +1,8 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +=================================== Quality control management for Odoo =================================== @@ -37,8 +42,49 @@ The complete inspection workflow is: Based on the nan_quality_control_* modules from NaN·tic. + +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 + + +Known issues / Roadmap +====================== + +* Make translatable the trigger name. + + +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 `here `_. + + +Credits +======= + Contributors ------------ * Pedro M. Baeza * Oihane Crucelaegui -* Ana Juaristi +* Ana Juaristi + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +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. + +To contribute to this module, please visit http://odoo-community.org. diff --git a/quality_control_oca/__openerp__.py b/quality_control_oca/__openerp__.py index 397ec94679e..4414721ad7f 100644 --- a/quality_control_oca/__openerp__.py +++ b/quality_control_oca/__openerp__.py @@ -1,54 +1,42 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# Copyright (c) -# 2010 NaN Projectes de Programari Lliure, S.L. (http://www.NaN-tic.com) -# 2014 Serv. Tec. Avanzados - Pedro M. Baeza (http://www.serviciosbaeza.com) -# 2014 AvanzOsc (http://www.avanzosc.es) -# -# 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 . -# -############################################################################## +# -*- 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 { "name": "Quality control", - "version": "1.0", - "author": "OdooMRP team," - "AvanzOSC," - "Serv. Tecnol. Avanzados - Pedro M. Baeza", + "version": "8.0.1.0.0", + "category": "Quality control", + "license": "AGPL-3", + "author": "OdooMRP team, " + "AvanzOSC, " + "Serv. Tecnol. Avanzados - Pedro M. Baeza, " + "Odoo Community Association (OCA)", "website": "http://www.odoomrp.com", "contributors": [ - "Pedro M. Baeza ", "Oihane Crucelaegui ", - "Ana Juaristi ", + "Ana Juaristi ", ], - "category": "Quality control", "depends": [ - 'product', + "product", ], "data": [ - 'data/quality_control_data.xml', - 'security/quality_control_security.xml', - 'security/ir.model.access.csv', - 'wizard/qc_test_wizard_view.xml', - 'views/qc_menus.xml', - 'views/qc_inspection_view.xml', - 'views/qc_test_category_view.xml', - 'views/qc_test_view.xml', - 'views/qc_trigger_view.xml', - 'views/product_template_view.xml', - 'views/product_category_view.xml', + "data/quality_control_data.xml", + "security/quality_control_security.xml", + "security/ir.model.access.csv", + "wizard/qc_test_wizard_view.xml", + "views/qc_menus.xml", + "views/qc_inspection_view.xml", + "views/qc_test_category_view.xml", + "views/qc_test_view.xml", + "views/qc_trigger_view.xml", + "views/product_template_view.xml", + "views/product_category_view.xml", + ], + "demo": [ + "demo/quality_control_demo.xml", ], "installable": True, } diff --git a/quality_control_oca/demo/quality_control_demo.xml b/quality_control_oca/demo/quality_control_demo.xml new file mode 100644 index 00000000000..ef1054c9392 --- /dev/null +++ b/quality_control_oca/demo/quality_control_demo.xml @@ -0,0 +1,39 @@ + + + + + Generic Test (demo) + generic + + + + + + Overall quality + + qualitative + + + + Good + + + + + + Bad + + + + + + Size + + quantitative + + + + + + + diff --git a/quality_control_oca/i18n/es.po b/quality_control_oca/i18n/es.po index c7072fe9bc8..b012b846b4c 100644 --- a/quality_control_oca/i18n/es.po +++ b/quality_control_oca/i18n/es.po @@ -1,19 +1,22 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * quality_control -# +# * quality_control +# +# Translators: +# Oihane Crucelaegui , 2015 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: odoomrp-wip (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-02-24 16:01+0000\n" -"PO-Revision-Date: 2015-02-24 16:01+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" +"POT-Creation-Date: 2015-10-07 10:44+0000\n" +"PO-Revision-Date: 2015-10-09 10:50+0000\n" +"Last-Translator: Pedro M. Baeza \n" +"Language-Team: Spanish (http://www.transifex.com/oca/odoomrp-wip-8-0/language/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: quality_control #: model:ir.model,name:quality_control.model_qc_trigger_line @@ -29,8 +32,7 @@ msgid "Accept" msgstr "Aceptar" #. module: quality_control -#: field:qc.test,active:0 -#: field:qc.test.category,active:0 +#: field:qc.test,active:0 field:qc.test.category,active:0 #: field:qc.trigger,active:0 msgid "Active" msgstr "Activo" @@ -52,6 +54,11 @@ msgstr "Aprobar" msgid "Auto-generated" msgstr "Auto-generada" +#. module: quality_control +#: model:qc.test.question.value,name:quality_control.qc_test_question_value_2 +msgid "Bad" +msgstr "Mal" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_form_view #: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form @@ -74,8 +81,7 @@ msgid "Child categories" msgstr "Categorías hijas" #. module: quality_control -#: field:qc.inspection,company_id:0 -#: field:qc.test,company_id:0 +#: field:qc.inspection,company_id:0 field:qc.test,company_id:0 #: field:qc.trigger,company_id:0 msgid "Company" msgstr "Compañía" @@ -87,7 +93,9 @@ msgstr "Confirmar" #. module: quality_control #: help:qc.inspection.line,test_uom_category:0 -msgid "Conversion between Units of Measure can only occur if they belong to the same category. The conversion will be made based on the ratios." +msgid "" +"Conversion between Units of Measure can only occur if they belong to the " +"same category. The conversion will be made based on the ratios." msgstr "La conversión entre las unidades de medidas sólo pueden ocurrir si pertenecen a la misma categoría. La conversión se basará en los ratios establecidos." #. module: quality_control @@ -102,14 +110,10 @@ msgid "Correct answer?" msgstr "¿Respuesta correcta?" #. module: quality_control -#: field:qc.inspection,create_uid:0 -#: field:qc.inspection.line,create_uid:0 -#: field:qc.inspection.set.test,create_uid:0 -#: field:qc.test,create_uid:0 -#: field:qc.test.category,create_uid:0 -#: field:qc.test.question,create_uid:0 -#: field:qc.test.question.value,create_uid:0 -#: field:qc.trigger,create_uid:0 +#: field:qc.inspection,create_uid:0 field:qc.inspection.line,create_uid:0 +#: field:qc.inspection.set.test,create_uid:0 field:qc.test,create_uid:0 +#: field:qc.test.category,create_uid:0 field:qc.test.question,create_uid:0 +#: field:qc.test.question.value,create_uid:0 field:qc.trigger,create_uid:0 #: field:qc.trigger.product_category_line,create_uid:0 #: field:qc.trigger.product_line,create_uid:0 #: field:qc.trigger.product_template_line,create_uid:0 @@ -117,14 +121,10 @@ msgid "Created by" msgstr "Creado por" #. module: quality_control -#: field:qc.inspection,create_date:0 -#: field:qc.inspection.line,create_date:0 -#: field:qc.inspection.set.test,create_date:0 -#: field:qc.test,create_date:0 -#: field:qc.test.category,create_date:0 -#: field:qc.test.question,create_date:0 -#: field:qc.test.question.value,create_date:0 -#: field:qc.trigger,create_date:0 +#: field:qc.inspection,create_date:0 field:qc.inspection.line,create_date:0 +#: field:qc.inspection.set.test,create_date:0 field:qc.test,create_date:0 +#: field:qc.test.category,create_date:0 field:qc.test.question,create_date:0 +#: field:qc.test.question.value,create_date:0 field:qc.trigger,create_date:0 #: field:qc.trigger.product_category_line,create_date:0 #: field:qc.trigger.product_line,create_date:0 #: field:qc.trigger.product_template_line,create_date:0 @@ -147,11 +147,6 @@ msgstr "Fecha del último mensaje publicado en el registro" msgid "Draft" msgstr "Borrador" -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_inspection -msgid "Email Thread" -msgstr "Hilo de mensajes" - #. module: quality_control #: code:addons/quality_control/models/qc_test_category.py:35 #, python-format @@ -175,6 +170,16 @@ msgstr "Seguidores" msgid "Generic" msgstr "Genérico" +#. module: quality_control +#: model:qc.test,name:quality_control.qc_test_1 +msgid "Generic Test (demo)" +msgstr "Test genérico (demo)" + +#. module: quality_control +#: model:qc.test.question.value,name:quality_control.qc_test_question_value_1 +msgid "Good" +msgstr "Bien" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view @@ -183,20 +188,17 @@ msgstr "Agrupar por..." #. module: quality_control #: help:qc.inspection,message_summary:0 -msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views." +msgid "" +"Holds the Chatter summary (number of messages, ...). This summary is " +"directly in html format in order to be inserted in kanban views." msgstr "Contiene el resumen del chatter (nº de mensajes, ...). Este resumen está directamente en formato html para ser insertado en vistas kanban." #. module: quality_control -#: field:qc.inspection,id:0 -#: field:qc.inspection.line,id:0 -#: field:qc.inspection.set.test,id:0 -#: field:qc.test,id:0 -#: field:qc.test.category,id:0 -#: field:qc.test.question,id:0 -#: field:qc.test.question.value,id:0 -#: field:qc.trigger,id:0 -#: field:qc.trigger.line,id:0 -#: field:qc.trigger.product_category_line,id:0 +#: field:qc.inspection,id:0 field:qc.inspection.line,id:0 +#: field:qc.inspection.set.test,id:0 field:qc.test,id:0 +#: field:qc.test.category,id:0 field:qc.test.question,id:0 +#: field:qc.test.question.value,id:0 field:qc.trigger,id:0 +#: field:qc.trigger.line,id:0 field:qc.trigger.product_category_line,id:0 #: field:qc.trigger.product_line,id:0 #: field:qc.trigger.product_template_line,id:0 msgid "ID" @@ -212,6 +214,16 @@ msgstr "Si una inspección es auto-generada, no se podrá cancelar ni eliminar" msgid "If checked new messages require your attention." msgstr "Si está marcado, hay nuevos mensajes que requieren su atención." +#. module: quality_control +#: help:qc.trigger.line,partners:0 +#: help:qc.trigger.product_category_line,partners:0 +#: help:qc.trigger.product_line,partners:0 +#: help:qc.trigger.product_template_line,partners:0 +msgid "" +"If filled, the test will only be created when the action is done for one of " +"the specified partners. If empty, the test will be always created." +msgstr "" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view @@ -269,14 +281,10 @@ msgid "Last Message Date" msgstr "Fecha del último mensaje" #. module: quality_control -#: field:qc.inspection,write_uid:0 -#: field:qc.inspection.line,write_uid:0 -#: field:qc.inspection.set.test,write_uid:0 -#: field:qc.test,write_uid:0 -#: field:qc.test.category,write_uid:0 -#: field:qc.test.question,write_uid:0 -#: field:qc.test.question.value,write_uid:0 -#: field:qc.trigger,write_uid:0 +#: field:qc.inspection,write_uid:0 field:qc.inspection.line,write_uid:0 +#: field:qc.inspection.set.test,write_uid:0 field:qc.test,write_uid:0 +#: field:qc.test.category,write_uid:0 field:qc.test.question,write_uid:0 +#: field:qc.test.question.value,write_uid:0 field:qc.trigger,write_uid:0 #: field:qc.trigger.product_category_line,write_uid:0 #: field:qc.trigger.product_line,write_uid:0 #: field:qc.trigger.product_template_line,write_uid:0 @@ -284,14 +292,10 @@ msgid "Last Updated by" msgstr "Última actualización por" #. module: quality_control -#: field:qc.inspection,write_date:0 -#: field:qc.inspection.line,write_date:0 -#: field:qc.inspection.set.test,write_date:0 -#: field:qc.test,write_date:0 -#: field:qc.test.category,write_date:0 -#: field:qc.test.question,write_date:0 -#: field:qc.test.question.value,write_date:0 -#: field:qc.trigger,write_date:0 +#: field:qc.inspection,write_date:0 field:qc.inspection.line,write_date:0 +#: field:qc.inspection.set.test,write_date:0 field:qc.test,write_date:0 +#: field:qc.test.category,write_date:0 field:qc.test.question,write_date:0 +#: field:qc.test.question.value,write_date:0 field:qc.trigger,write_date:0 #: field:qc.trigger.product_category_line,write_date:0 #: field:qc.trigger.product_line,write_date:0 #: field:qc.trigger.product_template_line,write_date:0 @@ -309,8 +313,7 @@ msgid "Mark todo" msgstr "Marcar para hacer" #. module: quality_control -#: field:qc.inspection.line,max_value:0 -#: field:qc.test.question,max_value:0 +#: field:qc.inspection.line,max_value:0 field:qc.test.question,max_value:0 msgid "Max" msgstr "Máximo" @@ -330,8 +333,7 @@ msgid "Messages and communication history" msgstr "Mensajes e historial de comunicación" #. module: quality_control -#: field:qc.inspection.line,min_value:0 -#: field:qc.test.question,min_value:0 +#: field:qc.inspection.line,min_value:0 field:qc.test.question,min_value:0 msgid "Min" msgstr "Mínimo" @@ -347,26 +349,36 @@ msgid "Minimum value can't be higher than maximum value." msgstr "El valor mínimo no puede ser más alto que el valor máximo." #. module: quality_control -#: field:qc.test,name:0 -#: field:qc.test.category,name:0 -#: field:qc.test.question,name:0 -#: field:qc.test.question.value,name:0 +#: field:qc.test,name:0 field:qc.test.category,name:0 +#: field:qc.test.question,name:0 field:qc.test.question.value,name:0 #: field:qc.trigger,name:0 msgid "Name" msgstr "Nombre" #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_form_view -#: field:qc.inspection.line,notes:0 -#: field:qc.test.question,notes:0 +#: field:qc.inspection.line,notes:0 field:qc.test.question,notes:0 msgid "Notes" msgstr "Notas" +#. module: quality_control +#: model:qc.test.question,name:quality_control.qc_test_question_1 +msgid "Overall quality" +msgstr "Calidad en general" + #. module: quality_control #: field:qc.test.category,parent_id:0 msgid "Parent category" msgstr "Categoría padre" +#. module: quality_control +#: field:qc.trigger.line,partners:0 +#: field:qc.trigger.product_category_line,partners:0 +#: field:qc.trigger.product_line,partners:0 +#: field:qc.trigger.product_template_line,partners:0 +msgid "Partners" +msgstr "Empresas" + #. module: quality_control #: model:ir.model,name:quality_control.model_qc_test_question_value msgid "Possible values of qualitative questions." @@ -382,8 +394,7 @@ msgstr "Pre-rellenar con valores correctos" #: view:qc.inspection:quality_control.qc_inspection_search_view #: field:qc.inspection,product:0 #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view -#: field:qc.inspection.line,product:0 -#: field:qc.trigger.product_line,product:0 +#: field:qc.inspection.line,product:0 field:qc.trigger.product_line,product:0 msgid "Product" msgstr "Producto" @@ -398,8 +409,7 @@ msgid "Product Template" msgstr "Plantilla de producto" #. module: quality_control -#: help:qc.inspection,product:0 -#: help:qc.inspection.line,product:0 +#: help:qc.inspection,product:0 help:qc.inspection.line,product:0 msgid "Product associated with the inspection" msgstr "Producto asociado con la inspección" @@ -437,6 +447,11 @@ msgstr "Valores cualitativos" msgid "Quality control" msgstr "Control de calidad" +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_inspection +msgid "Quality control inspection" +msgstr "Inspección del control de calidad" + #. module: quality_control #: model:ir.model,name:quality_control.model_qc_inspection_line msgid "Quality control inspection line" @@ -460,8 +475,7 @@ msgstr "Disparador del control de calidad" #. module: quality_control #: view:product.category:quality_control.product_category_qc_form_view -#: field:product.category,qc_triggers:0 -#: field:product.product,qc_triggers:0 +#: field:product.category,qc_triggers:0 field:product.product,qc_triggers:0 #: view:product.template:quality_control.product_template_qc_form_view #: field:product.template,qc_triggers:0 #: view:qc.trigger:quality_control.qc_trigger_tree_view @@ -512,8 +526,7 @@ msgstr "Valor de la pregunta" #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_form_view -#: view:qc.test:quality_control.qc_test_form_view -#: field:qc.test,test_lines:0 +#: view:qc.test:quality_control.qc_test_form_view field:qc.test,test_lines:0 msgid "Questions" msgstr "Preguntas" @@ -545,8 +558,7 @@ msgstr "Relativo" #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view -#: field:qc.inspection,user:0 -#: field:qc.trigger.line,user:0 +#: field:qc.inspection,user:0 field:qc.trigger.line,user:0 #: field:qc.trigger.product_category_line,user:0 #: field:qc.trigger.product_line,user:0 #: field:qc.trigger.product_template_line,user:0 @@ -574,6 +586,11 @@ msgstr "Mostrar las inspecciones propias" msgid "Select test" msgstr "Seleccionar test" +#. module: quality_control +#: field:qc.trigger,partner_selectable:0 +msgid "Selectable by partner" +msgstr "Seleccionable por empresa" + #. module: quality_control #: field:qc.test.question,sequence:0 msgid "Sequence" @@ -584,6 +601,11 @@ msgstr "Secuencia" msgid "Set test" msgstr "Establecer test" +#. module: quality_control +#: model:qc.test.question,name:quality_control.qc_test_question_2 +msgid "Size" +msgstr "Tamaño" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view #: field:qc.inspection,state:0 @@ -609,11 +631,9 @@ msgstr "Resumen" #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view -#: field:qc.inspection,test:0 -#: field:qc.inspection.set.test,test:0 +#: field:qc.inspection,test:0 field:qc.inspection.set.test,test:0 #: view:qc.test:quality_control.qc_test_form_view -#: field:qc.test.question,test:0 -#: field:qc.trigger.line,test:0 +#: field:qc.test.question,test:0 field:qc.trigger.line,test:0 #: field:qc.trigger.product_category_line,test:0 #: field:qc.trigger.product_line,test:0 #: field:qc.trigger.product_template_line,test:0 @@ -668,6 +688,11 @@ msgstr "Este campo le permite ocultar la categoría sin eliminarla." msgid "This field will be marked if all tests have been succeeded." msgstr "Este campo se marcará si todos los tests han sido correctos." +#. module: quality_control +#: help:qc.trigger,partner_selectable:0 +msgid "This technical field is to allow to filter by partner in triggers" +msgstr "" + #. module: quality_control #: field:qc.trigger.line,trigger:0 #: field:qc.trigger.product_category_line,trigger:0 @@ -677,8 +702,7 @@ msgid "Trigger" msgstr "Disparador" #. module: quality_control -#: field:qc.test,type:0 -#: field:qc.test.question,type:0 +#: field:qc.test,type:0 field:qc.test.question,type:0 msgid "Type" msgstr "Tipo" @@ -738,42 +762,36 @@ msgid "When this field is marked, the answer is considered correct." msgstr "Cuando este campo está marcado, la respuesta se considera correcta." #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:93 #: code:addons/quality_control/models/qc_inspection.py:97 #, python-format msgid "You cannot remove an auto-generated inspection" msgstr "No puede eliminar una inspección auto-generada." #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:96 #: code:addons/quality_control/models/qc_inspection.py:100 #, python-format msgid "You cannot remove an inspection that it's not in draft state" msgstr "No puede eliminar una inspección que no esté en estado borrador" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:109 #: code:addons/quality_control/models/qc_inspection.py:113 #, python-format msgid "You must set the test to perform first." msgstr "Debe establecer primero el test a realizar." #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:124 #: code:addons/quality_control/models/qc_inspection.py:128 #, python-format -msgid "You should provide a unit of measure for qualitative questions." -msgstr "Debe proveer una unidad de medida para las preguntas cualitativas." +msgid "You should provide a unit of measure for quantitative questions." +msgstr "Debe proveer una unidad de medida para las preguntas cuantitativas." #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:119 #: code:addons/quality_control/models/qc_inspection.py:123 #, python-format -msgid "You should provide an answer for all quantitative questions." -msgstr "Debe proveer una respuesta para todas las preguntas cuantitativas." +msgid "You should provide an answer for all qualitative questions." +msgstr "Debe proveer una respuesta para todas las preguntas cualitativas." #. module: quality_control #: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form msgid "or" msgstr "o" - diff --git a/quality_control_oca/i18n/quality_control.pot b/quality_control_oca/i18n/fr.po similarity index 78% rename from quality_control_oca/i18n/quality_control.pot rename to quality_control_oca/i18n/fr.po index 05e00c0b8f0..0de51bb1bfc 100644 --- a/quality_control_oca/i18n/quality_control.pot +++ b/quality_control_oca/i18n/fr.po @@ -1,19 +1,21 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * quality_control -# +# * quality_control +# +# Translators: msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: odoomrp-wip (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-02-24 16:08+0000\n" -"PO-Revision-Date: 2015-02-24 16:08+0000\n" +"POT-Creation-Date: 2015-10-07 10:44+0000\n" +"PO-Revision-Date: 2015-09-10 16:42+0000\n" "Last-Translator: <>\n" -"Language-Team: \n" +"Language-Team: French (http://www.transifex.com/oca/odoomrp-wip-8-0/language/fr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: quality_control #: model:ir.model,name:quality_control.model_qc_trigger_line @@ -29,8 +31,7 @@ msgid "Accept" msgstr "" #. module: quality_control -#: field:qc.test,active:0 -#: field:qc.test.category,active:0 +#: field:qc.test,active:0 field:qc.test.category,active:0 #: field:qc.trigger,active:0 msgid "Active" msgstr "" @@ -52,11 +53,16 @@ msgstr "" msgid "Auto-generated" msgstr "" +#. module: quality_control +#: model:qc.test.question.value,name:quality_control.qc_test_question_value_2 +msgid "Bad" +msgstr "" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_form_view #: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form msgid "Cancel" -msgstr "" +msgstr "Annuler" #. module: quality_control #: selection:qc.inspection,state:0 @@ -74,8 +80,7 @@ msgid "Child categories" msgstr "" #. module: quality_control -#: field:qc.inspection,company_id:0 -#: field:qc.test,company_id:0 +#: field:qc.inspection,company_id:0 field:qc.test,company_id:0 #: field:qc.trigger,company_id:0 msgid "Company" msgstr "" @@ -87,7 +92,9 @@ msgstr "" #. module: quality_control #: help:qc.inspection.line,test_uom_category:0 -msgid "Conversion between Units of Measure can only occur if they belong to the same category. The conversion will be made based on the ratios." +msgid "" +"Conversion between Units of Measure can only occur if they belong to the " +"same category. The conversion will be made based on the ratios." msgstr "" #. module: quality_control @@ -102,34 +109,26 @@ msgid "Correct answer?" msgstr "" #. module: quality_control -#: field:qc.inspection,create_uid:0 -#: field:qc.inspection.line,create_uid:0 -#: field:qc.inspection.set.test,create_uid:0 -#: field:qc.test,create_uid:0 -#: field:qc.test.category,create_uid:0 -#: field:qc.test.question,create_uid:0 -#: field:qc.test.question.value,create_uid:0 -#: field:qc.trigger,create_uid:0 +#: field:qc.inspection,create_uid:0 field:qc.inspection.line,create_uid:0 +#: field:qc.inspection.set.test,create_uid:0 field:qc.test,create_uid:0 +#: field:qc.test.category,create_uid:0 field:qc.test.question,create_uid:0 +#: field:qc.test.question.value,create_uid:0 field:qc.trigger,create_uid:0 #: field:qc.trigger.product_category_line,create_uid:0 #: field:qc.trigger.product_line,create_uid:0 #: field:qc.trigger.product_template_line,create_uid:0 msgid "Created by" -msgstr "" +msgstr "Créé par" #. module: quality_control -#: field:qc.inspection,create_date:0 -#: field:qc.inspection.line,create_date:0 -#: field:qc.inspection.set.test,create_date:0 -#: field:qc.test,create_date:0 -#: field:qc.test.category,create_date:0 -#: field:qc.test.question,create_date:0 -#: field:qc.test.question.value,create_date:0 -#: field:qc.trigger,create_date:0 +#: field:qc.inspection,create_date:0 field:qc.inspection.line,create_date:0 +#: field:qc.inspection.set.test,create_date:0 field:qc.test,create_date:0 +#: field:qc.test.category,create_date:0 field:qc.test.question,create_date:0 +#: field:qc.test.question.value,create_date:0 field:qc.trigger,create_date:0 #: field:qc.trigger.product_category_line,create_date:0 #: field:qc.trigger.product_line,create_date:0 #: field:qc.trigger.product_template_line,create_date:0 msgid "Created on" -msgstr "" +msgstr "Créé le" #. module: quality_control #: field:qc.inspection,date:0 @@ -147,11 +146,6 @@ msgstr "" msgid "Draft" msgstr "" -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_inspection -msgid "Email Thread" -msgstr "" - #. module: quality_control #: code:addons/quality_control/models/qc_test_category.py:35 #, python-format @@ -175,6 +169,16 @@ msgstr "" msgid "Generic" msgstr "" +#. module: quality_control +#: model:qc.test,name:quality_control.qc_test_1 +msgid "Generic Test (demo)" +msgstr "" + +#. module: quality_control +#: model:qc.test.question.value,name:quality_control.qc_test_question_value_1 +msgid "Good" +msgstr "" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view @@ -183,24 +187,21 @@ msgstr "" #. module: quality_control #: help:qc.inspection,message_summary:0 -msgid "Holds the Chatter summary (number of messages, ...). This summary is directly in html format in order to be inserted in kanban views." +msgid "" +"Holds the Chatter summary (number of messages, ...). This summary is " +"directly in html format in order to be inserted in kanban views." msgstr "" #. module: quality_control -#: field:qc.inspection,id:0 -#: field:qc.inspection.line,id:0 -#: field:qc.inspection.set.test,id:0 -#: field:qc.test,id:0 -#: field:qc.test.category,id:0 -#: field:qc.test.question,id:0 -#: field:qc.test.question.value,id:0 -#: field:qc.trigger,id:0 -#: field:qc.trigger.line,id:0 -#: field:qc.trigger.product_category_line,id:0 +#: field:qc.inspection,id:0 field:qc.inspection.line,id:0 +#: field:qc.inspection.set.test,id:0 field:qc.test,id:0 +#: field:qc.test.category,id:0 field:qc.test.question,id:0 +#: field:qc.test.question.value,id:0 field:qc.trigger,id:0 +#: field:qc.trigger.line,id:0 field:qc.trigger.product_category_line,id:0 #: field:qc.trigger.product_line,id:0 #: field:qc.trigger.product_template_line,id:0 msgid "ID" -msgstr "" +msgstr "Id." #. module: quality_control #: help:qc.inspection,auto_generated:0 @@ -212,6 +213,16 @@ msgstr "" msgid "If checked new messages require your attention." msgstr "" +#. module: quality_control +#: help:qc.trigger.line,partners:0 +#: help:qc.trigger.product_category_line,partners:0 +#: help:qc.trigger.product_line,partners:0 +#: help:qc.trigger.product_template_line,partners:0 +msgid "" +"If filled, the test will only be created when the action is done for one of " +"the specified partners. If empty, the test will be always created." +msgstr "" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view @@ -269,34 +280,26 @@ msgid "Last Message Date" msgstr "" #. module: quality_control -#: field:qc.inspection,write_uid:0 -#: field:qc.inspection.line,write_uid:0 -#: field:qc.inspection.set.test,write_uid:0 -#: field:qc.test,write_uid:0 -#: field:qc.test.category,write_uid:0 -#: field:qc.test.question,write_uid:0 -#: field:qc.test.question.value,write_uid:0 -#: field:qc.trigger,write_uid:0 +#: field:qc.inspection,write_uid:0 field:qc.inspection.line,write_uid:0 +#: field:qc.inspection.set.test,write_uid:0 field:qc.test,write_uid:0 +#: field:qc.test.category,write_uid:0 field:qc.test.question,write_uid:0 +#: field:qc.test.question.value,write_uid:0 field:qc.trigger,write_uid:0 #: field:qc.trigger.product_category_line,write_uid:0 #: field:qc.trigger.product_line,write_uid:0 #: field:qc.trigger.product_template_line,write_uid:0 msgid "Last Updated by" -msgstr "" +msgstr "Mis à jour par" #. module: quality_control -#: field:qc.inspection,write_date:0 -#: field:qc.inspection.line,write_date:0 -#: field:qc.inspection.set.test,write_date:0 -#: field:qc.test,write_date:0 -#: field:qc.test.category,write_date:0 -#: field:qc.test.question,write_date:0 -#: field:qc.test.question.value,write_date:0 -#: field:qc.trigger,write_date:0 +#: field:qc.inspection,write_date:0 field:qc.inspection.line,write_date:0 +#: field:qc.inspection.set.test,write_date:0 field:qc.test,write_date:0 +#: field:qc.test.category,write_date:0 field:qc.test.question,write_date:0 +#: field:qc.test.question.value,write_date:0 field:qc.trigger,write_date:0 #: field:qc.trigger.product_category_line,write_date:0 #: field:qc.trigger.product_line,write_date:0 #: field:qc.trigger.product_template_line,write_date:0 msgid "Last Updated on" -msgstr "" +msgstr "Mis à jour le" #. module: quality_control #: model:res.groups,name:quality_control.group_quality_control_manager @@ -309,8 +312,7 @@ msgid "Mark todo" msgstr "" #. module: quality_control -#: field:qc.inspection.line,max_value:0 -#: field:qc.test.question,max_value:0 +#: field:qc.inspection.line,max_value:0 field:qc.test.question,max_value:0 msgid "Max" msgstr "" @@ -330,8 +332,7 @@ msgid "Messages and communication history" msgstr "" #. module: quality_control -#: field:qc.inspection.line,min_value:0 -#: field:qc.test.question,min_value:0 +#: field:qc.inspection.line,min_value:0 field:qc.test.question,min_value:0 msgid "Min" msgstr "" @@ -347,26 +348,36 @@ msgid "Minimum value can't be higher than maximum value." msgstr "" #. module: quality_control -#: field:qc.test,name:0 -#: field:qc.test.category,name:0 -#: field:qc.test.question,name:0 -#: field:qc.test.question.value,name:0 +#: field:qc.test,name:0 field:qc.test.category,name:0 +#: field:qc.test.question,name:0 field:qc.test.question.value,name:0 #: field:qc.trigger,name:0 msgid "Name" msgstr "" #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_form_view -#: field:qc.inspection.line,notes:0 -#: field:qc.test.question,notes:0 +#: field:qc.inspection.line,notes:0 field:qc.test.question,notes:0 msgid "Notes" msgstr "" +#. module: quality_control +#: model:qc.test.question,name:quality_control.qc_test_question_1 +msgid "Overall quality" +msgstr "" + #. module: quality_control #: field:qc.test.category,parent_id:0 msgid "Parent category" msgstr "" +#. module: quality_control +#: field:qc.trigger.line,partners:0 +#: field:qc.trigger.product_category_line,partners:0 +#: field:qc.trigger.product_line,partners:0 +#: field:qc.trigger.product_template_line,partners:0 +msgid "Partners" +msgstr "" + #. module: quality_control #: model:ir.model,name:quality_control.model_qc_test_question_value msgid "Possible values of qualitative questions." @@ -382,15 +393,14 @@ msgstr "" #: view:qc.inspection:quality_control.qc_inspection_search_view #: field:qc.inspection,product:0 #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view -#: field:qc.inspection.line,product:0 -#: field:qc.trigger.product_line,product:0 +#: field:qc.inspection.line,product:0 field:qc.trigger.product_line,product:0 msgid "Product" -msgstr "" +msgstr "Article" #. module: quality_control #: model:ir.model,name:quality_control.model_product_category msgid "Product Category" -msgstr "" +msgstr "Catégorie d'articles" #. module: quality_control #: model:ir.model,name:quality_control.model_product_template @@ -398,8 +408,7 @@ msgid "Product Template" msgstr "" #. module: quality_control -#: help:qc.inspection,product:0 -#: help:qc.inspection.line,product:0 +#: help:qc.inspection,product:0 help:qc.inspection.line,product:0 msgid "Product associated with the inspection" msgstr "" @@ -437,6 +446,11 @@ msgstr "" msgid "Quality control" msgstr "" +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_inspection +msgid "Quality control inspection" +msgstr "" + #. module: quality_control #: model:ir.model,name:quality_control.model_qc_inspection_line msgid "Quality control inspection line" @@ -460,8 +474,7 @@ msgstr "" #. module: quality_control #: view:product.category:quality_control.product_category_qc_form_view -#: field:product.category,qc_triggers:0 -#: field:product.product,qc_triggers:0 +#: field:product.category,qc_triggers:0 field:product.product,qc_triggers:0 #: view:product.template:quality_control.product_template_qc_form_view #: field:product.template,qc_triggers:0 #: view:qc.trigger:quality_control.qc_trigger_tree_view @@ -512,8 +525,7 @@ msgstr "" #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_form_view -#: view:qc.test:quality_control.qc_test_form_view -#: field:qc.test,test_lines:0 +#: view:qc.test:quality_control.qc_test_form_view field:qc.test,test_lines:0 msgid "Questions" msgstr "" @@ -545,8 +557,7 @@ msgstr "" #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view -#: field:qc.inspection,user:0 -#: field:qc.trigger.line,user:0 +#: field:qc.inspection,user:0 field:qc.trigger.line,user:0 #: field:qc.trigger.product_category_line,user:0 #: field:qc.trigger.product_line,user:0 #: field:qc.trigger.product_template_line,user:0 @@ -574,6 +585,11 @@ msgstr "" msgid "Select test" msgstr "" +#. module: quality_control +#: field:qc.trigger,partner_selectable:0 +msgid "Selectable by partner" +msgstr "" + #. module: quality_control #: field:qc.test.question,sequence:0 msgid "Sequence" @@ -584,6 +600,11 @@ msgstr "" msgid "Set test" msgstr "" +#. module: quality_control +#: model:qc.test.question,name:quality_control.qc_test_question_2 +msgid "Size" +msgstr "" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view #: field:qc.inspection,state:0 @@ -609,11 +630,9 @@ msgstr "" #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view -#: field:qc.inspection,test:0 -#: field:qc.inspection.set.test,test:0 +#: field:qc.inspection,test:0 field:qc.inspection.set.test,test:0 #: view:qc.test:quality_control.qc_test_form_view -#: field:qc.test.question,test:0 -#: field:qc.trigger.line,test:0 +#: field:qc.test.question,test:0 field:qc.trigger.line,test:0 #: field:qc.trigger.product_category_line,test:0 #: field:qc.trigger.product_line,test:0 #: field:qc.trigger.product_template_line,test:0 @@ -668,6 +687,11 @@ msgstr "" msgid "This field will be marked if all tests have been succeeded." msgstr "" +#. module: quality_control +#: help:qc.trigger,partner_selectable:0 +msgid "This technical field is to allow to filter by partner in triggers" +msgstr "" + #. module: quality_control #: field:qc.trigger.line,trigger:0 #: field:qc.trigger.product_category_line,trigger:0 @@ -677,8 +701,7 @@ msgid "Trigger" msgstr "" #. module: quality_control -#: field:qc.test,type:0 -#: field:qc.test.question,type:0 +#: field:qc.test,type:0 field:qc.test.question,type:0 msgid "Type" msgstr "" @@ -738,42 +761,36 @@ msgid "When this field is marked, the answer is considered correct." msgstr "" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:93 #: code:addons/quality_control/models/qc_inspection.py:97 #, python-format msgid "You cannot remove an auto-generated inspection" msgstr "" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:96 #: code:addons/quality_control/models/qc_inspection.py:100 #, python-format msgid "You cannot remove an inspection that it's not in draft state" msgstr "" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:109 #: code:addons/quality_control/models/qc_inspection.py:113 #, python-format msgid "You must set the test to perform first." msgstr "" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:124 #: code:addons/quality_control/models/qc_inspection.py:128 #, python-format -msgid "You should provide a unit of measure for qualitative questions." +msgid "You should provide a unit of measure for quantitative questions." msgstr "" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:119 #: code:addons/quality_control/models/qc_inspection.py:123 #, python-format -msgid "You should provide an answer for all quantitative questions." +msgid "You should provide an answer for all qualitative questions." msgstr "" #. module: quality_control #: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form msgid "or" -msgstr "" - +msgstr "ou" diff --git a/quality_control_oca/i18n/pt_BR.po b/quality_control_oca/i18n/pt_BR.po new file mode 100644 index 00000000000..a50658a1894 --- /dev/null +++ b/quality_control_oca/i18n/pt_BR.po @@ -0,0 +1,796 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * quality_control +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: odoomrp-wip (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-10-07 10:44+0000\n" +"PO-Revision-Date: 2015-10-09 03:42+0000\n" +"Last-Translator: danimaribeiro \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/odoomrp-wip-8-0/language/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_trigger_line +#: model:ir.model,name:quality_control.model_qc_trigger_product_category_line +#: model:ir.model,name:quality_control.model_qc_trigger_product_line +#: model:ir.model,name:quality_control.model_qc_trigger_product_template_line +msgid "Abstract line for defining triggers" +msgstr "" + +#. module: quality_control +#: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form +msgid "Accept" +msgstr "" + +#. module: quality_control +#: field:qc.test,active:0 field:qc.test.category,active:0 +#: field:qc.trigger,active:0 +msgid "Active" +msgstr "Ativo" + +#. module: quality_control +#: field:qc.inspection.line,possible_ql_values:0 +#: view:qc.test.question:quality_control.qc_test_question_form_view +msgid "Answers" +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +msgid "Approve" +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,auto_generated:0 +msgid "Auto-generated" +msgstr "" + +#. module: quality_control +#: model:qc.test.question.value,name:quality_control.qc_test_question_value_2 +msgid "Bad" +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: quality_control +#: selection:qc.inspection,state:0 +msgid "Cancelled" +msgstr "" + +#. module: quality_control +#: field:qc.test,category:0 +msgid "Category" +msgstr "" + +#. module: quality_control +#: field:qc.test.category,child_ids:0 +msgid "Child categories" +msgstr "" + +#. module: quality_control +#: field:qc.inspection,company_id:0 field:qc.test,company_id:0 +#: field:qc.trigger,company_id:0 +msgid "Company" +msgstr "Empresa" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +msgid "Confirm" +msgstr "Confirmar" + +#. module: quality_control +#: help:qc.inspection.line,test_uom_category:0 +msgid "" +"Conversion between Units of Measure can only occur if they belong to the " +"same category. The conversion will be made based on the ratios." +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +msgid "Correct" +msgstr "" + +#. module: quality_control +#: field:qc.test.question.value,ok:0 +msgid "Correct answer?" +msgstr "" + +#. module: quality_control +#: field:qc.inspection,create_uid:0 field:qc.inspection.line,create_uid:0 +#: field:qc.inspection.set.test,create_uid:0 field:qc.test,create_uid:0 +#: field:qc.test.category,create_uid:0 field:qc.test.question,create_uid:0 +#: field:qc.test.question.value,create_uid:0 field:qc.trigger,create_uid:0 +#: field:qc.trigger.product_category_line,create_uid:0 +#: field:qc.trigger.product_line,create_uid:0 +#: field:qc.trigger.product_template_line,create_uid:0 +msgid "Created by" +msgstr "Criado por" + +#. module: quality_control +#: field:qc.inspection,create_date:0 field:qc.inspection.line,create_date:0 +#: field:qc.inspection.set.test,create_date:0 field:qc.test,create_date:0 +#: field:qc.test.category,create_date:0 field:qc.test.question,create_date:0 +#: field:qc.test.question.value,create_date:0 field:qc.trigger,create_date:0 +#: field:qc.trigger.product_category_line,create_date:0 +#: field:qc.trigger.product_line,create_date:0 +#: field:qc.trigger.product_template_line,create_date:0 +msgid "Created on" +msgstr "Criado em" + +#. module: quality_control +#: field:qc.inspection,date:0 +msgid "Date" +msgstr "Data" + +#. module: quality_control +#: help:qc.inspection,message_last_post:0 +msgid "Date of the last message posted on the record." +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: selection:qc.inspection,state:0 +msgid "Draft" +msgstr "Provisório" + +#. module: quality_control +#: code:addons/quality_control/models/qc_test_category.py:35 +#, python-format +msgid "Error ! You can not create recursive categories." +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: field:qc.inspection,external_notes:0 +msgid "External notes" +msgstr "" + +#. module: quality_control +#: field:qc.inspection,message_follower_ids:0 +msgid "Followers" +msgstr "" + +#. module: quality_control +#: selection:qc.test,type:0 +#: model:qc.test.category,name:quality_control.qc_test_template_category_generic +msgid "Generic" +msgstr "" + +#. module: quality_control +#: model:qc.test,name:quality_control.qc_test_1 +msgid "Generic Test (demo)" +msgstr "" + +#. module: quality_control +#: model:qc.test.question.value,name:quality_control.qc_test_question_value_1 +msgid "Good" +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +msgid "Group by..." +msgstr "" + +#. module: quality_control +#: help:qc.inspection,message_summary:0 +msgid "" +"Holds the Chatter summary (number of messages, ...). This summary is " +"directly in html format in order to be inserted in kanban views." +msgstr "" + +#. module: quality_control +#: field:qc.inspection,id:0 field:qc.inspection.line,id:0 +#: field:qc.inspection.set.test,id:0 field:qc.test,id:0 +#: field:qc.test.category,id:0 field:qc.test.question,id:0 +#: field:qc.test.question.value,id:0 field:qc.trigger,id:0 +#: field:qc.trigger.line,id:0 field:qc.trigger.product_category_line,id:0 +#: field:qc.trigger.product_line,id:0 +#: field:qc.trigger.product_template_line,id:0 +msgid "ID" +msgstr "ID" + +#. module: quality_control +#: help:qc.inspection,auto_generated:0 +msgid "If an inspection is auto-generated, it can be cancelled nor removed" +msgstr "" + +#. module: quality_control +#: help:qc.inspection,message_unread:0 +msgid "If checked new messages require your attention." +msgstr "" + +#. module: quality_control +#: help:qc.trigger.line,partners:0 +#: help:qc.trigger.product_category_line,partners:0 +#: help:qc.trigger.product_line,partners:0 +#: help:qc.trigger.product_template_line,partners:0 +msgid "" +"If filled, the test will only be created when the action is done for one of " +"the specified partners. If empty, the test will be always created." +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +msgid "Incorrect" +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +#: field:qc.inspection.line,inspection_id:0 +msgid "Inspection" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_inspection_line +#: model:ir.ui.menu,name:quality_control.qc_inspection_lines_menu +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: field:qc.inspection,inspection_lines:0 +#: view:qc.inspection.line:quality_control.qc_inspection_line_tree_view +msgid "Inspection lines" +msgstr "" + +#. module: quality_control +#: field:qc.inspection,name:0 +msgid "Inspection number" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_inspection +#: model:ir.ui.menu,name:quality_control.qc_inspection_menu +#: model:ir.ui.menu,name:quality_control.qc_inspection_menu_parent +#: view:qc.inspection:quality_control.qc_inspection_tree_view +msgid "Inspections" +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: field:qc.inspection,internal_notes:0 +msgid "Internal notes" +msgstr "" + +#. module: quality_control +#: view:product.template:quality_control.product_template_qc_form_view +msgid "Inventory" +msgstr "" + +#. module: quality_control +#: field:qc.inspection,message_is_follower:0 +msgid "Is a Follower" +msgstr "" + +#. module: quality_control +#: field:qc.inspection,message_last_post:0 +msgid "Last Message Date" +msgstr "" + +#. module: quality_control +#: field:qc.inspection,write_uid:0 field:qc.inspection.line,write_uid:0 +#: field:qc.inspection.set.test,write_uid:0 field:qc.test,write_uid:0 +#: field:qc.test.category,write_uid:0 field:qc.test.question,write_uid:0 +#: field:qc.test.question.value,write_uid:0 field:qc.trigger,write_uid:0 +#: field:qc.trigger.product_category_line,write_uid:0 +#: field:qc.trigger.product_line,write_uid:0 +#: field:qc.trigger.product_template_line,write_uid:0 +msgid "Last Updated by" +msgstr "Última atualização por" + +#. module: quality_control +#: field:qc.inspection,write_date:0 field:qc.inspection.line,write_date:0 +#: field:qc.inspection.set.test,write_date:0 field:qc.test,write_date:0 +#: field:qc.test.category,write_date:0 field:qc.test.question,write_date:0 +#: field:qc.test.question.value,write_date:0 field:qc.trigger,write_date:0 +#: field:qc.trigger.product_category_line,write_date:0 +#: field:qc.trigger.product_line,write_date:0 +#: field:qc.trigger.product_template_line,write_date:0 +msgid "Last Updated on" +msgstr "Última atualização em" + +#. module: quality_control +#: model:res.groups,name:quality_control.group_quality_control_manager +msgid "Manager" +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +msgid "Mark todo" +msgstr "" + +#. module: quality_control +#: field:qc.inspection.line,max_value:0 field:qc.test.question,max_value:0 +msgid "Max" +msgstr "" + +#. module: quality_control +#: help:qc.inspection.line,max_value:0 +msgid "Maximum valid value if it's a quantitative question." +msgstr "" + +#. module: quality_control +#: field:qc.inspection,message_ids:0 +msgid "Messages" +msgstr "" + +#. module: quality_control +#: help:qc.inspection,message_ids:0 +msgid "Messages and communication history" +msgstr "" + +#. module: quality_control +#: field:qc.inspection.line,min_value:0 field:qc.test.question,min_value:0 +msgid "Min" +msgstr "" + +#. module: quality_control +#: help:qc.inspection.line,min_value:0 +msgid "Minimum valid value if it's a quantitative question." +msgstr "" + +#. module: quality_control +#: code:addons/quality_control/models/qc_test.py:66 +#, python-format +msgid "Minimum value can't be higher than maximum value." +msgstr "" + +#. module: quality_control +#: field:qc.test,name:0 field:qc.test.category,name:0 +#: field:qc.test.question,name:0 field:qc.test.question.value,name:0 +#: field:qc.trigger,name:0 +msgid "Name" +msgstr "Nome" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: field:qc.inspection.line,notes:0 field:qc.test.question,notes:0 +msgid "Notes" +msgstr "" + +#. module: quality_control +#: model:qc.test.question,name:quality_control.qc_test_question_1 +msgid "Overall quality" +msgstr "" + +#. module: quality_control +#: field:qc.test.category,parent_id:0 +msgid "Parent category" +msgstr "" + +#. module: quality_control +#: field:qc.trigger.line,partners:0 +#: field:qc.trigger.product_category_line,partners:0 +#: field:qc.trigger.product_line,partners:0 +#: field:qc.trigger.product_template_line,partners:0 +msgid "Partners" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_question_value +msgid "Possible values of qualitative questions." +msgstr "" + +#. module: quality_control +#: field:qc.test,fill_correct_values:0 +msgid "Pre-fill with correct values" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_product_product +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,product:0 +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +#: field:qc.inspection.line,product:0 field:qc.trigger.product_line,product:0 +msgid "Product" +msgstr "Produto" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_product_category +msgid "Product Category" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_product_template +msgid "Product Template" +msgstr "" + +#. module: quality_control +#: help:qc.inspection,product:0 help:qc.inspection.line,product:0 +msgid "Product associated with the inspection" +msgstr "" + +#. module: quality_control +#: field:qc.trigger.product_category_line,product_category:0 +msgid "Product category" +msgstr "" + +#. module: quality_control +#: field:qc.trigger.product_template_line,product_template:0 +msgid "Product template" +msgstr "" + +#. module: quality_control +#: selection:qc.inspection.line,question_type:0 +#: selection:qc.test.question,type:0 +msgid "Qualitative" +msgstr "" + +#. module: quality_control +#: field:qc.inspection.line,qualitative_value:0 +msgid "Qualitative value" +msgstr "" + +#. module: quality_control +#: field:qc.test.question,ql_values:0 +msgid "Qualitative values" +msgstr "" + +#. module: quality_control +#: model:ir.module.category,name:quality_control.module_category_quality_control +#: model:ir.ui.menu,name:quality_control.qc_menu +#: view:product.category:quality_control.product_category_qc_form_view +#: view:product.template:quality_control.product_template_qc_form_view +msgid "Quality control" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_inspection +msgid "Quality control inspection" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_inspection_line +msgid "Quality control inspection line" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_question +msgid "Quality control question" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test +msgid "Quality control test" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_trigger +#: view:qc.trigger:quality_control.qc_trigger_form_view +msgid "Quality control trigger" +msgstr "" + +#. module: quality_control +#: view:product.category:quality_control.product_category_qc_form_view +#: field:product.category,qc_triggers:0 field:product.product,qc_triggers:0 +#: view:product.template:quality_control.product_template_qc_form_view +#: field:product.template,qc_triggers:0 +#: view:qc.trigger:quality_control.qc_trigger_tree_view +msgid "Quality control triggers" +msgstr "" + +#. module: quality_control +#: selection:qc.inspection,state:0 +msgid "Quality failed" +msgstr "" + +#. module: quality_control +#: selection:qc.inspection,state:0 +msgid "Quality success" +msgstr "" + +#. module: quality_control +#: selection:qc.inspection.line,question_type:0 +#: selection:qc.test.question,type:0 +msgid "Quantitative" +msgstr "" + +#. module: quality_control +#: field:qc.inspection.line,quantitative_value:0 +msgid "Quantitative value" +msgstr "" + +#. module: quality_control +#: field:qc.inspection,qty:0 +msgid "Quantity" +msgstr "" + +#. module: quality_control +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +#: field:qc.inspection.line,name:0 +msgid "Question" +msgstr "" + +#. module: quality_control +#: field:qc.inspection.line,question_type:0 +msgid "Question type" +msgstr "" + +#. module: quality_control +#: view:qc.test.question:quality_control.qc_test_question_form_view +msgid "Question value" +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +#: view:qc.test:quality_control.qc_test_form_view field:qc.test,test_lines:0 +msgid "Questions" +msgstr "" + +#. module: quality_control +#: selection:qc.inspection,state:0 +msgid "Ready" +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,object_id:0 +msgid "Reference" +msgstr "" + +#. module: quality_control +#: field:qc.test,object_id:0 +msgid "Reference object" +msgstr "" + +#. module: quality_control +#: model:qc.test.category,name:quality_control.qc_test_template_category_referenced +msgid "Referenced" +msgstr "" + +#. module: quality_control +#: selection:qc.test,type:0 +msgid "Related" +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,user:0 field:qc.trigger.line,user:0 +#: field:qc.trigger.product_category_line,user:0 +#: field:qc.trigger.product_line,user:0 +#: field:qc.trigger.product_template_line,user:0 +msgid "Responsible" +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +msgid "Search inspection" +msgstr "" + +#. module: quality_control +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +msgid "Search inspection line" +msgstr "" + +#. module: quality_control +#: model:res.groups,name:quality_control.group_quality_control_user +msgid "See Own Inspections" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_inspection_set_test +#: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form +msgid "Select test" +msgstr "" + +#. module: quality_control +#: field:qc.trigger,partner_selectable:0 +msgid "Selectable by partner" +msgstr "" + +#. module: quality_control +#: field:qc.test.question,sequence:0 +msgid "Sequence" +msgstr "Sequência" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_form_view +msgid "Set test" +msgstr "" + +#. module: quality_control +#: model:qc.test.question,name:quality_control.qc_test_question_2 +msgid "Size" +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,state:0 +msgid "State" +msgstr "Estado" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,success:0 +#: view:qc.inspection.line:quality_control.qc_inspection_line_search_view +msgid "Success" +msgstr "" + +#. module: quality_control +#: field:qc.inspection.line,success:0 +msgid "Success?" +msgstr "" + +#. module: quality_control +#: field:qc.inspection,message_summary:0 +msgid "Summary" +msgstr "" + +#. module: quality_control +#: view:qc.inspection:quality_control.qc_inspection_search_view +#: field:qc.inspection,test:0 field:qc.inspection.set.test,test:0 +#: view:qc.test:quality_control.qc_test_form_view +#: field:qc.test.question,test:0 field:qc.trigger.line,test:0 +#: field:qc.trigger.product_category_line,test:0 +#: field:qc.trigger.product_line,test:0 +#: field:qc.trigger.product_template_line,test:0 +msgid "Test" +msgstr "" + +#. module: quality_control +#: field:qc.inspection.line,test_uom_id:0 +msgid "Test UoM" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test_category +#: model:ir.ui.menu,name:quality_control.qc_test_category_menu +#: view:qc.test.category:quality_control.qc_test_category_tree_view +msgid "Test categories" +msgstr "" + +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_test_category +msgid "Test category" +msgstr "" + +#. module: quality_control +#: field:qc.inspection.line,test_line:0 +#: view:qc.test.question:quality_control.qc_test_question_form_view +#: field:qc.test.question.value,test_line:0 +msgid "Test question" +msgstr "" + +#. module: quality_control +#: model:ir.actions.act_window,name:quality_control.action_qc_test +#: model:ir.ui.menu,name:quality_control.qc_menu_test_parent +#: model:ir.ui.menu,name:quality_control.qc_test_menu +#: view:qc.test:quality_control.qc_test_tree_view +msgid "Tests" +msgstr "" + +#. module: quality_control +#: code:addons/quality_control/models/qc_test.py:56 +#, python-format +msgid "There isn't any value with OK marked. You have to mark at least one." +msgstr "" + +#. module: quality_control +#: help:qc.test.category,active:0 +msgid "This field allows you to hide the category without removing it." +msgstr "" + +#. module: quality_control +#: help:qc.inspection,success:0 +msgid "This field will be marked if all tests have been succeeded." +msgstr "" + +#. module: quality_control +#: help:qc.trigger,partner_selectable:0 +msgid "This technical field is to allow to filter by partner in triggers" +msgstr "" + +#. module: quality_control +#: field:qc.trigger.line,trigger:0 +#: field:qc.trigger.product_category_line,trigger:0 +#: field:qc.trigger.product_line,trigger:0 +#: field:qc.trigger.product_template_line,trigger:0 +msgid "Trigger" +msgstr "" + +#. module: quality_control +#: field:qc.test,type:0 field:qc.test.question,type:0 +msgid "Type" +msgstr "" + +#. module: quality_control +#: field:qc.inspection.line,test_uom_category:0 +msgid "Unit of Measure Category" +msgstr "" + +#. module: quality_control +#: field:qc.inspection,message_unread:0 +msgid "Unread Messages" +msgstr "" + +#. module: quality_control +#: field:qc.inspection.line,uom_id:0 +msgid "UoM" +msgstr "" + +#. module: quality_control +#: help:qc.inspection.line,test_uom_id:0 +msgid "UoM for minimum and maximum values if it's a quantitative question." +msgstr "" + +#. module: quality_control +#: help:qc.inspection.line,uom_id:0 +msgid "UoM of the inspection value if it's a quantitative question." +msgstr "" + +#. module: quality_control +#: field:qc.test.question,uom_id:0 +msgid "Uom" +msgstr "" + +#. module: quality_control +#: field:qc.inspection.line,valid_values:0 +msgid "Valid values" +msgstr "" + +#. module: quality_control +#: help:qc.inspection.line,qualitative_value:0 +msgid "Value of the result if it's a qualitative question." +msgstr "" + +#. module: quality_control +#: help:qc.inspection.line,quantitative_value:0 +msgid "Value of the result if it's a quantitative question." +msgstr "" + +#. module: quality_control +#: selection:qc.inspection,state:0 +msgid "Waiting supervisor approval" +msgstr "" + +#. module: quality_control +#: help:qc.test.question.value,ok:0 +msgid "When this field is marked, the answer is considered correct." +msgstr "" + +#. module: quality_control +#: code:addons/quality_control/models/qc_inspection.py:97 +#, python-format +msgid "You cannot remove an auto-generated inspection" +msgstr "" + +#. module: quality_control +#: code:addons/quality_control/models/qc_inspection.py:100 +#, python-format +msgid "You cannot remove an inspection that it's not in draft state" +msgstr "" + +#. module: quality_control +#: code:addons/quality_control/models/qc_inspection.py:113 +#, python-format +msgid "You must set the test to perform first." +msgstr "" + +#. module: quality_control +#: code:addons/quality_control/models/qc_inspection.py:128 +#, python-format +msgid "You should provide a unit of measure for quantitative questions." +msgstr "" + +#. module: quality_control +#: code:addons/quality_control/models/qc_inspection.py:123 +#, python-format +msgid "You should provide an answer for all qualitative questions." +msgstr "" + +#. module: quality_control +#: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form +msgid "or" +msgstr "ou" diff --git a/quality_control_oca/i18n/sl.po b/quality_control_oca/i18n/sl.po index a401c0e00fa..ce099985b31 100644 --- a/quality_control_oca/i18n/sl.po +++ b/quality_control_oca/i18n/sl.po @@ -1,22 +1,22 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * quality_control -# +# * quality_control +# +# Translators: +# Matjaž Mozetič , 2015 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: odoomrp-wip (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-08-01 20:11+0200\n" -"PO-Revision-Date: 2015-08-01 20:28+0200\n" -"Last-Translator: Matjaz Mozetic \n" -"Language-Team: \n" +"POT-Creation-Date: 2015-10-07 10:44+0000\n" +"PO-Revision-Date: 2015-09-20 19:03+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/odoomrp-wip-8-0/language/sl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 " -"|| n%100==4 ? 2 : 3);\n" -"X-Generator: Poedit 1.8.2\n" +"Content-Transfer-Encoding: \n" "Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" #. module: quality_control #: model:ir.model,name:quality_control.model_qc_trigger_line @@ -54,6 +54,11 @@ msgstr "Odobritev" msgid "Auto-generated" msgstr "Samodejno ustvarjeno" +#. module: quality_control +#: model:qc.test.question.value,name:quality_control.qc_test_question_value_2 +msgid "Bad" +msgstr "Slabo" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_form_view #: view:qc.inspection.set.test:quality_control.view_qc_test_set_test_form @@ -91,9 +96,7 @@ msgstr "Potrditev" msgid "" "Conversion between Units of Measure can only occur if they belong to the " "same category. The conversion will be made based on the ratios." -msgstr "" -"Pretvorba med enotami mere je možna le, če pripadajo isti kategoriji. " -"Pretvorba se izvede na osnovi razmerij." +msgstr "Pretvorba med enotami mere je možna le, če pripadajo isti kategoriji. Pretvorba se izvede na osnovi razmerij." #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view @@ -144,11 +147,6 @@ msgstr "Datum zadnjega sporočila vpisanega na to vknjižbo." msgid "Draft" msgstr "Osnutek" -#. module: quality_control -#: model:ir.model,name:quality_control.model_qc_inspection -msgid "Email Thread" -msgstr "E-poštna nit" - #. module: quality_control #: code:addons/quality_control/models/qc_test_category.py:35 #, python-format @@ -172,6 +170,16 @@ msgstr "Sledilci" msgid "Generic" msgstr "Splošno" +#. module: quality_control +#: model:qc.test,name:quality_control.qc_test_1 +msgid "Generic Test (demo)" +msgstr "Generičen test (demonstracija)" + +#. module: quality_control +#: model:qc.test.question.value,name:quality_control.qc_test_question_value_1 +msgid "Good" +msgstr "Dobro" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view @@ -183,9 +191,7 @@ msgstr "Združi po" msgid "" "Holds the Chatter summary (number of messages, ...). This summary is " "directly in html format in order to be inserted in kanban views." -msgstr "" -"Povzetek (število sporočil,..) v html formatu, da se lahko neposredno " -"vstavi v poglede tipa kanban." +msgstr "Povzetek (število sporočil,..) v html formatu, da se lahko neposredno vstavi v poglede tipa kanban." #. module: quality_control #: field:qc.inspection,id:0 field:qc.inspection.line,id:0 @@ -208,6 +214,16 @@ msgstr "Če se inšpekcija samodejno ustvari, se lahko prekliče ali izbriše" msgid "If checked new messages require your attention." msgstr "Če označeno, zahtevajo nova sporočila vašo pozornost." +#. module: quality_control +#: help:qc.trigger.line,partners:0 +#: help:qc.trigger.product_category_line,partners:0 +#: help:qc.trigger.product_line,partners:0 +#: help:qc.trigger.product_template_line,partners:0 +msgid "" +"If filled, the test will only be created when the action is done for one of " +"the specified partners. If empty, the test will be always created." +msgstr "Če izpolnjeno, se test ustvari le, ko je ukrep opravljen za enega izmed izbranih partnerjev. Če prazno, se test ustvari vedno." + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view @@ -345,11 +361,24 @@ msgstr "Naziv" msgid "Notes" msgstr "Opombe" +#. module: quality_control +#: model:qc.test.question,name:quality_control.qc_test_question_1 +msgid "Overall quality" +msgstr "Splošna kvaliteta" + #. module: quality_control #: field:qc.test.category,parent_id:0 msgid "Parent category" msgstr "Nadrejena kategorija" +#. module: quality_control +#: field:qc.trigger.line,partners:0 +#: field:qc.trigger.product_category_line,partners:0 +#: field:qc.trigger.product_line,partners:0 +#: field:qc.trigger.product_template_line,partners:0 +msgid "Partners" +msgstr "Partnerji" + #. module: quality_control #: model:ir.model,name:quality_control.model_qc_test_question_value msgid "Possible values of qualitative questions." @@ -365,8 +394,7 @@ msgstr "Pred-izpolni s pravilnimi vrednostmi" #: view:qc.inspection:quality_control.qc_inspection_search_view #: field:qc.inspection,product:0 #: view:qc.inspection.line:quality_control.qc_inspection_line_search_view -#: field:qc.inspection.line,product:0 -#: field:qc.trigger.product_line,product:0 +#: field:qc.inspection.line,product:0 field:qc.trigger.product_line,product:0 msgid "Product" msgstr "Proizvod" @@ -419,6 +447,11 @@ msgstr "Kvalitativne vrednosti" msgid "Quality control" msgstr "Kontrola kakovosti" +#. module: quality_control +#: model:ir.model,name:quality_control.model_qc_inspection +msgid "Quality control inspection" +msgstr "Inšpekcija nadzora kvalitete" + #. module: quality_control #: model:ir.model,name:quality_control.model_qc_inspection_line msgid "Quality control inspection line" @@ -553,6 +586,11 @@ msgstr "Prikaz častnih inšpekcij" msgid "Select test" msgstr "Izbira testiranja" +#. module: quality_control +#: field:qc.trigger,partner_selectable:0 +msgid "Selectable by partner" +msgstr "Izbira po partnerju" + #. module: quality_control #: field:qc.test.question,sequence:0 msgid "Sequence" @@ -563,6 +601,11 @@ msgstr "Zaporedje" msgid "Set test" msgstr "Nastavitev testiranja" +#. module: quality_control +#: model:qc.test.question,name:quality_control.qc_test_question_2 +msgid "Size" +msgstr "Velikost" + #. module: quality_control #: view:qc.inspection:quality_control.qc_inspection_search_view #: field:qc.inspection,state:0 @@ -645,6 +688,11 @@ msgstr "To polje omogoča skrivanje kategorije brez brisanja." msgid "This field will be marked if all tests have been succeeded." msgstr "To polje bo označeno, če bodo vsa testiranja uspešna." +#. module: quality_control +#: help:qc.trigger,partner_selectable:0 +msgid "This technical field is to allow to filter by partner in triggers" +msgstr "Tehnično polje za omogočanje filtriranja po partnerju v sprožilcih" + #. module: quality_control #: field:qc.trigger.line,trigger:0 #: field:qc.trigger.product_category_line,trigger:0 @@ -714,38 +762,33 @@ msgid "When this field is marked, the answer is considered correct." msgstr "Ko je to polje označeno, se odgovor smatra za pravilen." #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:93 #: code:addons/quality_control/models/qc_inspection.py:97 #, python-format msgid "You cannot remove an auto-generated inspection" msgstr "Ne morete odstraniti samodejno ustvarjene inšpekcije" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:96 #: code:addons/quality_control/models/qc_inspection.py:100 #, python-format msgid "You cannot remove an inspection that it's not in draft state" msgstr "Ne morete odstraniti inšpekcije, ki ni v stanju 'osnutek'" #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:109 #: code:addons/quality_control/models/qc_inspection.py:113 #, python-format msgid "You must set the test to perform first." msgstr "Najprej določite testiranje, ki se bo izvedlo." #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:124 #: code:addons/quality_control/models/qc_inspection.py:128 #, python-format -msgid "You should provide a unit of measure for qualitative questions." +msgid "You should provide a unit of measure for quantitative questions." msgstr "Določite EM za kvalitativna vprašanja." #. module: quality_control -#: code:addons/quality_control/models/qc_inspection.py:119 #: code:addons/quality_control/models/qc_inspection.py:123 #, python-format -msgid "You should provide an answer for all quantitative questions." +msgid "You should provide an answer for all qualitative questions." msgstr "Določiti morate en odgovor za vsa kvalitativna vprašanja." #. module: quality_control diff --git a/quality_control_oca/models/qc_inspection.py b/quality_control_oca/models/qc_inspection.py index 590dd5bdffa..fe307610c1d 100644 --- a/quality_control_oca/models/qc_inspection.py +++ b/quality_control_oca/models/qc_inspection.py @@ -64,16 +64,16 @@ def _get_qty(self): ('waiting', 'Waiting supervisor approval'), ('success', 'Quality success'), ('failed', 'Quality failed'), - ('canceled', 'Cancelled')], + ('canceled', 'Canceled')], string='State', readonly=True, default='draft') success = fields.Boolean( compute="_success", string='Success', - help='This field will be marked if all tests have been succeeded.', + help='This field will be marked if all tests have succeeded.', store=True) auto_generated = fields.Boolean( string='Auto-generated', readonly=True, copy=False, - help='If an inspection is auto-generated, it can be cancelled nor ' - 'removed') + help='If an inspection is auto-generated, it can be canceled nor ' + 'removed.') company_id = fields.Many2one( comodel_name='res.company', string='Company', readonly=True, states={'draft': [('readonly', False)]}, @@ -94,11 +94,11 @@ def unlink(self): for inspection in self: if inspection.auto_generated: raise exceptions.Warning( - _("You cannot remove an auto-generated inspection")) + _("You cannot remove an auto-generated inspection.")) if inspection.state != 'draft': raise exceptions.Warning( - _("You cannot remove an inspection that it's not in draft " - "state")) + _("You cannot remove an inspection that is not in draft " + "state.")) return super(QcInspection, self).unlink() @api.multi @@ -110,7 +110,7 @@ def action_todo(self): for inspection in self: if not inspection.test: raise exceptions.Warning( - _("You must set the test to perform first.")) + _("You must first set the test to perform.")) self.write({'state': 'ready'}) @api.multi @@ -121,12 +121,12 @@ def action_confirm(self): if not line.qualitative_value: raise exceptions.Warning( _("You should provide an answer for all " - "quantitative questions.")) + "qualitative questions.")) else: if not line.uom_id: raise exceptions.Warning( _("You should provide a unit of measure for " - "qualitative questions.")) + "quantitative questions.")) if inspection.success: inspection.state = 'success' else: @@ -266,21 +266,21 @@ def get_valid_values(self): comodel_name='qc.test.question.value', string='Answers') quantitative_value = fields.Float( 'Quantitative value', digits=(16, 5), - help="Value of the result if it's a quantitative question.") + help="Value of the result for a quantitative question.") qualitative_value = fields.Many2one( comodel_name='qc.test.question.value', string='Qualitative value', - help="Value of the result if it's a qualitative question.", + help="Value of the result for a qualitative question.", domain="[('id', 'in', possible_ql_values[0][2])]") notes = fields.Text(string='Notes') min_value = fields.Float( string='Min', digits=(16, 5), readonly=True, - help="Minimum valid value if it's a quantitative question.") + help="Minimum valid value for a quantitative question.") max_value = fields.Float( string='Max', digits=(16, 5), readonly=True, - help="Maximum valid value if it's a quantitative question.") + help="Maximum valid value for a quantitative question.") test_uom_id = fields.Many2one( comodel_name='product.uom', string='Test UoM', readonly=True, - help="UoM for minimum and maximum values if it's a quantitative " + help="UoM for minimum and maximum values for a quantitative " "question.") test_uom_category = fields.Many2one( comodel_name="product.uom.categ", related="test_uom_id.category_id", @@ -288,7 +288,7 @@ def get_valid_values(self): uom_id = fields.Many2one( comodel_name='product.uom', string='UoM', domain="[('category_id', '=', test_uom_category)]", - help="UoM of the inspection value if it's a quantitative question.") + help="UoM of the inspection value for a quantitative question.") question_type = fields.Selection( [('qualitative', 'Qualitative'), ('quantitative', 'Quantitative')], diff --git a/quality_control_oca/models/qc_test.py b/quality_control_oca/models/qc_test.py index 9566c867fe7..0868d522679 100644 --- a/quality_control_oca/models/qc_test.py +++ b/quality_control_oca/models/qc_test.py @@ -6,7 +6,8 @@ class QcTest(models.Model): - """A test is a group of questions to with the values that make them valid. + """ + A test is a group of questions along with the values that make them valid. """ _name = 'qc.test' _description = 'Quality control test' @@ -47,21 +48,16 @@ class QcTestQuestion(models.Model): @api.one @api.constrains('ql_values') def _check_valid_answers(self): - if self.type == 'quantitative': - return - for value in self.ql_values: - if value.ok: - return - raise exceptions.Warning( - _("There isn't any value with OK marked. You have to mark at " - "least one.")) + if (self.type == 'qualitative' and self.ql_values and + not self.ql_values.filtered('ok')): + raise exceptions.Warning( + _("There isn't no value marked as OK. You have to mark at " + "least one.")) @api.one @api.constrains('min_value', 'max_value') def _check_valid_range(self): - if self.type == 'qualitative': - return - if self.min_value > self.max_value: + if self.type == 'quantitative' and self.min_value > self.max_value: raise exceptions.Warning( _("Minimum value can't be higher than maximum value.")) @@ -84,7 +80,7 @@ def _check_valid_range(self): class QcTestQuestionValue(models.Model): _name = 'qc.test.question.value' - _description = 'Possible values of qualitative questions.' + _description = 'Possible values for qualitative questions.' test_line = fields.Many2one( comodel_name="qc.test.question", string="Test question") diff --git a/quality_control_oca/models/qc_test_category.py b/quality_control_oca/models/qc_test_category.py index 264518e5922..bdb1bdfc307 100644 --- a/quality_control_oca/models/qc_test_category.py +++ b/quality_control_oca/models/qc_test_category.py @@ -12,15 +12,12 @@ class QcTestTemplateCategory(models.Model): @api.one @api.depends('name', 'parent_id') def _get_complete_name(self): - if self.name: - names = [self.name] - parent = self.parent_id - while parent: - names.append(parent.name) - parent = parent.parent_id - self.complete_name = " / ".join(reversed(names)) - else: - self.complete_name = "" + names = [self.name] + parent = self.parent_id + while parent: + names.append(parent.name) + parent = parent.parent_id + self.complete_name = " / ".join(reversed(names)) @api.constrains('parent_id') def _check_recursion(self): diff --git a/quality_control_oca/models/qc_trigger.py b/quality_control_oca/models/qc_trigger.py index 039989fdc02..208e35e19e7 100644 --- a/quality_control_oca/models/qc_trigger.py +++ b/quality_control_oca/models/qc_trigger.py @@ -16,3 +16,7 @@ class QcTrigger(models.Model): comodel_name='res.company', string='Company', default=lambda self: self.env['res.company']._company_default_get( 'qc.test')) + partner_selectable = fields.Boolean( + string='Selectable by partner', default=False, readonly=True, + help='This technical field is to allow to filter by partner in' + ' triggers') diff --git a/quality_control_oca/models/qc_trigger_line.py b/quality_control_oca/models/qc_trigger_line.py index eab318dcddf..629bcb679eb 100644 --- a/quality_control_oca/models/qc_trigger_line.py +++ b/quality_control_oca/models/qc_trigger_line.py @@ -5,6 +5,16 @@ from openerp import models, fields +def _filter_trigger_lines(trigger_lines): + filtered_trigger_lines = [] + unique_tests = [] + for trigger_line in trigger_lines: + if trigger_line.test not in unique_tests: + filtered_trigger_lines.append(trigger_line) + unique_tests.append(trigger_line.test) + return filtered_trigger_lines + + class QcTriggerLine(models.AbstractModel): _name = "qc.trigger.line" _description = "Abstract line for defining triggers" @@ -14,8 +24,13 @@ class QcTriggerLine(models.AbstractModel): user = fields.Many2one( comodel_name='res.users', string='Responsible', track_visibility='always', default=lambda self: self.env.user) + partners = fields.Many2many( + comodel_name='res.partner', string='Partners', + help='If filled, the test will only be created when the action is done' + ' for one of the specified partners. If empty, the test will always be' + ' created.', domain="[('parent_id', '=', False)]") - def get_trigger_line_for_product(self, trigger, product): + def get_trigger_line_for_product(self, trigger, product, partner=False): """Overridable method for getting trigger_line associated to a product. Each inherited model will complete this module to make the search by product, template or category. @@ -33,15 +48,18 @@ class QcTriggerProductCategoryLine(models.Model): product_category = fields.Many2one(comodel_name="product.category") - def get_trigger_line_for_product(self, trigger, product): - trigger_lines = super(QcTriggerProductCategoryLine, - self).get_trigger_line_for_product(trigger, - product) + def get_trigger_line_for_product(self, trigger, product, partner=False): + trigger_lines = super( + QcTriggerProductCategoryLine, + self).get_trigger_line_for_product(trigger, product, + partner=partner) category = product.categ_id while category: - for trigger_line in category.qc_triggers: - if trigger_line.trigger.id == trigger.id: - trigger_lines.add(trigger_line) + for trigger_line in category.qc_triggers.filtered( + lambda r: r.trigger == trigger and ( + not r.partners or not partner or + partner.commercial_partner_id in r.partners)): + trigger_lines.add(trigger_line) category = category.parent_id return trigger_lines @@ -52,13 +70,16 @@ class QcTriggerProductTemplateLine(models.Model): product_template = fields.Many2one(comodel_name="product.template") - def get_trigger_line_for_product(self, trigger, product): - trigger_lines = super(QcTriggerProductTemplateLine, - self).get_trigger_line_for_product(trigger, - product) - for trigger_line in product.product_tmpl_id.qc_triggers: - if trigger_line.trigger.id == trigger.id: - trigger_lines.add(trigger_line) + def get_trigger_line_for_product(self, trigger, product, partner=False): + trigger_lines = super( + QcTriggerProductTemplateLine, + self).get_trigger_line_for_product(trigger, product, + partner=partner) + for trigger_line in product.product_tmpl_id.qc_triggers.filtered( + lambda r: r.trigger == trigger and ( + not r.partners or not partner or + partner.commercial_partner_id in r.partners)): + trigger_lines.add(trigger_line) return trigger_lines @@ -68,11 +89,14 @@ class QcTriggerProductLine(models.Model): product = fields.Many2one(comodel_name="product.product") - def get_trigger_line_for_product(self, trigger, product): - trigger_lines = super(QcTriggerProductLine, - self).get_trigger_line_for_product(trigger, - product) - for trigger_line in product.qc_triggers: - if trigger_line.trigger.id == trigger.id: - trigger_lines.add(trigger_line) + def get_trigger_line_for_product(self, trigger, product, partner=False): + trigger_lines = super( + QcTriggerProductLine, + self).get_trigger_line_for_product(trigger, product, + partner=partner) + for trigger_line in product.qc_triggers.filtered( + lambda r: r.trigger == trigger and ( + not r.partners or not partner or + partner.commercial_partner_id in r.partners)): + trigger_lines.add(trigger_line) return trigger_lines diff --git a/quality_control_oca/security/ir.model.access.csv b/quality_control_oca/security/ir.model.access.csv index a4b01334ba8..16a06efc0c7 100644 --- a/quality_control_oca/security/ir.model.access.csv +++ b/quality_control_oca/security/ir.model.access.csv @@ -10,9 +10,9 @@ access_manager_qc_test_question_value,qc_test_question_value,quality_control.mod access_manager_qc_test_category,qc_test_category,quality_control.model_qc_test_category,quality_control.group_quality_control_manager,1,1,1,1 access_manager_qc_trigger_user,qc_trigger user,quality_control.model_qc_trigger,quality_control.group_quality_control_user,1,0,0,0 access_manager_qc_trigger_manager,qc_trigger manager,quality_control.model_qc_trigger,quality_control.group_quality_control_manager,1,1,1,1 -access_manager_qc_trigger_product_category_line_user,qc_trigger product_category line user,quality_control.model_qc_trigger_product_category_line,,1,0,0,0 -access_manager_qc_trigger_product_category_line_manager,qc_trigger product_category line manager,quality_control.model_qc_trigger_product_category_line,quality_control.group_quality_control_user,1,1,1,1 +access_manager_qc_trigger_product_category_line_user,qc_trigger product_category line user,quality_control.model_qc_trigger_product_category_line,quality_control.group_quality_control_user,1,0,0,0 +access_manager_qc_trigger_product_category_line_manager,qc_trigger product_category line manager,quality_control.model_qc_trigger_product_category_line,quality_control.group_quality_control_manager,1,1,1,1 access_manager_qc_trigger_product_template_line_user,qc_trigger product_template line user,quality_control.model_qc_trigger_product_template_line,,1,0,0,0 -access_manager_qc_trigger_product_template_line_manager,qc_trigger product_template line manager,quality_control.model_qc_trigger_product_template_line,quality_control.group_quality_control_user,1,1,1,1 +access_manager_qc_trigger_product_template_line_manager,qc_trigger product_template line manager,quality_control.model_qc_trigger_product_template_line,quality_control.group_quality_control_manager,1,1,1,1 access_manager_qc_trigger_product_line_user,qc_trigger product line user,quality_control.model_qc_trigger_product_line,,1,0,0,0 -access_manager_qc_trigger_product_line_manager,qc_trigger product line manager,quality_control.model_qc_trigger_product_line,quality_control.group_quality_control_user,1,1,1,1 +access_manager_qc_trigger_product_line_manager,qc_trigger product line manager,quality_control.model_qc_trigger_product_line,quality_control.group_quality_control_manager,1,1,1,1 diff --git a/quality_control_oca/tests/__init__.py b/quality_control_oca/tests/__init__.py new file mode 100644 index 00000000000..895a14512d9 --- /dev/null +++ b/quality_control_oca/tests/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# (c) 2015 Oihane Crucelaegui - AvanzOSC +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from . import test_quality_control diff --git a/quality_control_oca/tests/test_quality_control.py b/quality_control_oca/tests/test_quality_control.py new file mode 100644 index 00000000000..e2e9dd442f7 --- /dev/null +++ b/quality_control_oca/tests/test_quality_control.py @@ -0,0 +1,206 @@ +# -*- coding: utf-8 -*- +# (c) 2015 Oihane Crucelaegui - AvanzOSC +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from openerp.tests.common import TransactionCase +from openerp import exceptions +from ..models.qc_trigger_line import\ + _filter_trigger_lines + + +class TestQualityControl(TransactionCase): + + def setUp(self): + super(TestQualityControl, self).setUp() + self.inspection_model = self.env['qc.inspection'] + self.category_model = self.env['qc.test.category'] + self.question_model = self.env['qc.test.question'] + self.wizard_model = self.env['qc.inspection.set.test'] + self.qc_trigger = self.env['qc.trigger'].create({ + 'name': 'Test Trigger', + 'active': True, + }) + self.test = self.env.ref('quality_control.qc_test_1') + self.val_ok = self.env.ref('quality_control.qc_test_question_value_1') + self.val_ko = self.env.ref('quality_control.qc_test_question_value_2') + self.qn_question = self.env.ref('quality_control.qc_test_question_2') + self.cat_generic = self.env.ref( + 'quality_control.qc_test_template_category_generic') + self.product = self.env.ref('product.product_product_11') + inspection_lines = ( + self.inspection_model._prepare_inspection_lines(self.test)) + self.inspection1 = self.inspection_model.create({ + 'name': 'Test Inspection', + 'inspection_lines': inspection_lines, + }) + self.wizard = self.wizard_model.with_context( + active_id=self.inspection1.id).create({ + 'test': self.test.id, + }) + self.wizard.action_create_test() + self.inspection1.action_todo() + + def test_inspection_correct(self): + for line in self.inspection1.inspection_lines: + if line.question_type == 'qualitative': + line.qualitative_value = self.val_ok + if line.question_type == 'quantitative': + line.quantitative_value = 5.0 + self.inspection1.action_confirm() + for line in self.inspection1.inspection_lines: + self.assertTrue( + line.success, + 'Incorrect state in inspection line %s' % line.name) + self.assertTrue( + self.inspection1.success, + 'Incorrect state in inspection %s' % self.inspection1.name) + self.assertEquals(self.inspection1.state, 'success') + self.inspection1.action_approve() + self.assertEquals(self.inspection1.state, 'success') + + def test_inspection_incorrect(self): + for line in self.inspection1.inspection_lines: + if line.question_type == 'qualitative': + line.qualitative_value = self.val_ko + if line.question_type == 'quantitative': + line.quantitative_value = 15.0 + self.inspection1.action_confirm() + for line in self.inspection1.inspection_lines: + self.assertFalse( + line.success, + 'Incorrect state in inspection line %s' % line.name) + self.assertFalse( + self.inspection1.success, + 'Incorrect state in inspection %s' % self.inspection1.name) + self.assertEquals(self.inspection1.state, 'waiting') + self.inspection1.action_approve() + self.assertEquals(self.inspection1.state, 'failed') + + def test_actions_errors(self): + inspection2 = self.inspection1.copy() + inspection2.action_draft() + inspection2.write({'test': False}) + with self.assertRaises(exceptions.Warning): + inspection2.action_todo() + inspection3 = self.inspection1.copy() + inspection3.write({ + 'inspection_lines': + self.inspection_model._prepare_inspection_lines(inspection3.test) + }) + for line in inspection3.inspection_lines: + if line.question_type == 'quantitative': + line.quantitative_value = 15.0 + with self.assertRaises(exceptions.Warning): + inspection3.action_confirm() + inspection4 = self.inspection1.copy() + inspection4.write({ + 'inspection_lines': + self.inspection_model._prepare_inspection_lines(inspection4.test) + }) + for line in inspection4.inspection_lines: + if line.question_type == 'quantitative': + line.write({ + 'uom_id': False, + 'quantitative_value': 15.0, + }) + elif line.question_type == 'qualitative': + line.qualitative_value = self.val_ok + with self.assertRaises(exceptions.Warning): + inspection4.action_confirm() + + def test_categories(self): + category1 = self.category_model.create({ + 'name': 'Category ONE', + }) + category2 = self.category_model.create({ + 'name': 'Category TWO', + 'parent_id': category1.id, + }) + self.assertEquals( + category2.complete_name, + '%s / %s' % (category1.name, category2.name), + 'Something went wrong when computing complete name') + with self.assertRaises(exceptions.ValidationError): + category1.parent_id = category2.id + + def test_get_qc_trigger_product(self): + self.test.write({ + 'fill_correct_values': True, + }) + trigger_lines = set() + self.product.write({ + 'qc_triggers': [(0, 0, {'trigger': self.qc_trigger.id, + 'test': self.test.id})], + }) + self.product.product_tmpl_id.write({ + 'qc_triggers': [(0, 0, {'trigger': self.qc_trigger.id, + 'test': self.test.id})], + }) + self.product.categ_id.write({ + 'qc_triggers': [(0, 0, {'trigger': self.qc_trigger.id, + 'test': self.test.id})], + }) + for model in ['qc.trigger.product_category_line', + 'qc.trigger.product_template_line', + 'qc.trigger.product_line']: + trigger_lines = trigger_lines.union( + self.env[model].get_trigger_line_for_product( + self.qc_trigger, self.product)) + self.assertEquals(len(trigger_lines), 3) + filtered_trigger_lines = _filter_trigger_lines(trigger_lines) + self.assertEquals(len(filtered_trigger_lines), 1) + for trigger_line in filtered_trigger_lines: + inspection = self.inspection_model._make_inspection( + self.product, trigger_line) + self.assertEquals(inspection.state, 'ready') + self.assertTrue(inspection.auto_generated) + self.assertEquals(inspection.test, self.test) + for line in inspection.inspection_lines: + if line.question_type == 'qualitative': + self.assertEquals(line.qualitative_value, self.val_ok) + elif line.question_type == 'quantitative': + self.assertEquals( + round(line.quantitative_value, 2), round(( + self.qn_question.min_value + + self.qn_question.max_value) * 0.5, 2)) + + def test_qc_inspection_not_draft_unlink(self): + with self.assertRaises(exceptions.Warning): + self.inspection1.unlink() + inspection2 = self.inspection1.copy() + inspection2.action_cancel() + self.assertEquals(inspection2.state, 'canceled') + inspection2.action_draft() + self.assertEquals(inspection2.state, 'draft') + inspection2.unlink() + + def test_qc_inspection_auto_generate_unlink(self): + inspection2 = self.inspection1.copy() + inspection2.write({ + 'auto_generated': True, + }) + with self.assertRaises(exceptions.Warning): + inspection2.unlink() + + def test_qc_inspection_product(self): + self.inspection1.write({ + 'object_id': '%s,%d' % (self.product._model, self.product.id), + }) + self.assertEquals(self.inspection1.product, + self.product) + + def test_qc_test_question_constraints(self): + with self.assertRaises(exceptions.ValidationError): + self.question_model.create({ + 'name': 'Quantitative Question', + 'type': 'quantitative', + 'min_value': 1.0, + 'max_value': 0.0, + }) + with self.assertRaises(exceptions.ValidationError): + self.question_model.create({ + 'name': 'Qualitative Question', + 'type': 'qualitative', + 'ql_values': [(0, 0, {'name': 'Qualitative answer', + 'ok': False})], + }) diff --git a/quality_control_oca/views/product_category_view.xml b/quality_control_oca/views/product_category_view.xml index 1da2e3591cf..79ef57ef9c7 100644 --- a/quality_control_oca/views/product_category_view.xml +++ b/quality_control_oca/views/product_category_view.xml @@ -14,6 +14,7 @@ + @@ -23,4 +24,3 @@ - diff --git a/quality_control_oca/views/product_template_view.xml b/quality_control_oca/views/product_template_view.xml index c145bfa60fb..3eb7082f12c 100644 --- a/quality_control_oca/views/product_template_view.xml +++ b/quality_control_oca/views/product_template_view.xml @@ -14,6 +14,7 @@ + @@ -23,4 +24,3 @@ - diff --git a/quality_control_oca/views/qc_inspection_view.xml b/quality_control_oca/views/qc_inspection_view.xml index f46fa2b0365..c7b5a2e7fd4 100644 --- a/quality_control_oca/views/qc_inspection_view.xml +++ b/quality_control_oca/views/qc_inspection_view.xml @@ -239,7 +239,7 @@ Inspection lines qc.inspection.line form - tree,form + tree qc.test.question
-