-
-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
115 changed files
with
87,145 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
=================== | ||
Quality Control OCA | ||
=================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github | ||
:target: https://github.com/OCA/manufacture/tree/15.0/quality_control_oca | ||
:alt: OCA/manufacture | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-quality_control_oca | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/129/15.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module provides a generic infrastructure for quality tests. The idea is | ||
that it can be later reused for doing quality inspections on production lots | ||
or any other area of the company. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Configuration | ||
============= | ||
|
||
* Question: The thing to be checked. We have two types of questions: | ||
|
||
* Qualitative: The result is a description, color, yes, no... | ||
|
||
* Quantitative: The result must be within a range. | ||
|
||
* Possible values: The values chosen in qualitative questions. | ||
|
||
* Test: The set of questions to be used in inspections. | ||
|
||
* Once these values are set, we define the inspection. | ||
|
||
We have a *generic* test that can be applied to any model: shipments, | ||
invoices or product, or a *test related*, making it specific to a particular | ||
product and that eg apply whenever food is sold or when creating a batch. | ||
|
||
Once these parameters are set, we can just pass the test. We create a | ||
new inspection, selecting a relationship with the model (sale, stock move...), | ||
and pressing "Select test" button to choose the test to pass. Then, you must | ||
fill the lines depending on the chosen test. | ||
|
||
The complete inspection workflow is: | ||
|
||
Draft -> Confirmed -> Success | ||
| | ||
| -> Failure (Pending approval) -> Approved | ||
Known issues / Roadmap | ||
====================== | ||
|
||
* Make translatable the trigger name. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/manufacture/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 <https://github.com/OCA/manufacture/issues/new?body=module:%20quality_control_oca%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* AvanzOSC | ||
* Tecnativa | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es> | ||
* Ana Juaristi <anajuaristi@avanzosc.es> | ||
* Lois Rilo <lois.rilo@forgeflow.com> | ||
* Simone Rubino <simone.rubino@agilebg.com> | ||
* Juan Humanes <juan.humanes@guadaltech.es> | ||
* Ignacio José Alés López <ignacio.ales@guadaltech.es> | ||
* Pimolnat Suntian <pimolnats@ecosoft.co.th> | ||
* `Tecnativa <https://www.tecnativa.com>`_: | ||
|
||
* Pedro M. Baeza | ||
* Carlos Roca | ||
|
||
* `Trey Kilobytes de Soluciones SL <https://www.trey.es>`__: | ||
|
||
* Vicent Cubells | ||
|
||
Other credits | ||
~~~~~~~~~~~~~ | ||
|
||
* Originally based on the old nan_quality_control_* modules from NaN·tic. | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
This module is part of the `OCA/manufacture <https://github.com/OCA/manufacture/tree/15.0/quality_control_oca>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
from . import models | ||
from . import wizard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Copyright 2010 NaN Projectes de Programari Lliure, S.L. | ||
# Copyright 2014-2021 Tecnativa Pedro M. Baeza | ||
# Copyright 2014 Oihane Crucelaegui - AvanzOSC | ||
# Copyright 2017-2020 ForgeFlow S.L. | ||
# Copyright 2017 Simone Rubino - Agile Business Group | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Quality Control OCA", | ||
"version": "16.0.1.0.0", | ||
"category": "Quality Control", | ||
"license": "AGPL-3", | ||
"summary": "Generic infrastructure for quality tests.", | ||
"author": "AvanzOSC, Tecnativa, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/manufacture", | ||
"depends": ["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", | ||
], | ||
"demo": ["demo/quality_control_demo.xml"], | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2010 NaN Projectes de Programari Lliure, S.L. | ||
Copyright 2014 Serv. Tec. Avanzados - Pedro M. Baeza | ||
Copyright 2014 Oihane Crucelaegui - AvanzOSC | ||
Copyright 2017 ForgeFlow S.L. | ||
Copyright 2017 Simone Rubino - Agile Business Group | ||
Copyright 2021 Tecnativa - Carlos Roca | ||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> | ||
<odoo noupdate="1"> | ||
<record id="qc_test_template_category_generic" model="qc.test.category"> | ||
<field name="name">Generic</field> | ||
</record> | ||
<record id="qc_test_template_category_referenced" model="qc.test.category"> | ||
<field name="name">Referenced</field> | ||
</record> | ||
<record forcecreate="True" id="decimal_quality_control" model="decimal.precision"> | ||
<field name="name">Quality Control</field> | ||
<field name="digits">5</field> | ||
</record> | ||
<record id="seq_qc_inspection" model="ir.sequence"> | ||
<field name="name">Quality inspection</field> | ||
<field name="code">qc.inspection</field> | ||
<field name="prefix">QC-</field> | ||
<field name="padding">6</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<odoo noupdate="1"> | ||
<record model="qc.test" id="qc_test_1"> | ||
<field name="name">Generic Test (demo)</field> | ||
<field name="type">generic</field> | ||
<field name="active" eval="True" /> | ||
<field name="category" ref="qc_test_template_category_generic" /> | ||
</record> | ||
<record model="qc.test.question" id="qc_test_question_1"> | ||
<field name="name">Overall quality</field> | ||
<field name="test" ref="qc_test_1" /> | ||
<field name="type">qualitative</field> | ||
</record> | ||
<record model="qc.test.question.value" id="qc_test_question_value_1"> | ||
<field name="name">Good</field> | ||
<field name="ok" eval="True" /> | ||
<field name="test_line" ref="qc_test_question_1" /> | ||
</record> | ||
<record model="qc.test.question.value" id="qc_test_question_value_2"> | ||
<field name="name">Bad</field> | ||
<field name="ok" eval="False" /> | ||
<field name="test_line" ref="qc_test_question_1" /> | ||
</record> | ||
<record model="qc.test.question" id="qc_test_question_2"> | ||
<field name="name">Size</field> | ||
<field name="test" ref="qc_test_1" /> | ||
<field name="type">quantitative</field> | ||
<field name="min_value" eval="1.0" /> | ||
<field name="max_value" eval="10.0" /> | ||
<field name="uom_id" ref="uom.product_uom_unit" /> | ||
</record> | ||
</odoo> |
Oops, something went wrong.