-
-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[16.0][IMP] quality_control_oca: Adding images to failed questions, d…
…epending on test configuration.
- Loading branch information
1 parent
3271ae2
commit bc0ab6e
Showing
15 changed files
with
341 additions
and
15 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 |
---|---|---|
|
@@ -32,6 +32,9 @@ 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. | ||
|
||
Allows you to add images to questions asked during inspections. | ||
Depending on the configuration, adding images is allowed or not and defining whether it is mandatory to add them to questions that are not satisfactory. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
|
@@ -67,6 +70,58 @@ The complete inspection workflow is: | |
| | ||
| -> Failure (Pending approval) -> Approved | ||
Usage | ||
===== | ||
|
||
Setting up images for inspections | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
#. Go to *Quality Control > Tests > Tests*. | ||
#. Add a new test. | ||
#. Check the *Enable images* box. | ||
|
||
.. image:: https://raw.githubusercontent.com/quality_control_oca/static/src/img/enable_image.png | ||
:height: 100 | ||
:width: 200 | ||
:alt: Enable images | ||
|
||
#. Fill in the other fields. | ||
#. Relate the test to the inspection. | ||
|
||
Set required images for inspections | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
#. Go to *Quality Control > Testing > Tests*. | ||
#. Add a new test. | ||
#. Check the *Enable images* box. | ||
#. Check the *Required images* box. | ||
|
||
.. image:: https://raw.githubusercontent.com/quality_control_oca/static/src/img/enable_required_image.png | ||
:height: 100 | ||
:width: 200 | ||
:alt: Requires images | ||
|
||
#. Fill in the other fields. | ||
#. Relate the test to the inspection. | ||
|
||
Add images to inspections | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
#. Go to *Quality Control > Inspections > Inspections*. | ||
#. Add a new inspection. | ||
#. Add a new test, using the smart button *Set test*. | ||
|
||
.. image:: https://raw.githubusercontent.com/quality_control_oca/static/src/img/add_test.png | ||
:height: 100 | ||
:width: 200 | ||
:alt: Add test | ||
|
||
#. Once the test is selected, if the field *Enable images* is enabled, a new field will be shown in the questions to upload an image. | ||
# In case the test has the field *Images required* checked, the questions in which your answer is not correct will require an image. | ||
|
||
.. image:: https://raw.githubusercontent.com/quality_control_oca/static/src/img/image_required_inspection.png | ||
:height: 100 | ||
:width: 200 | ||
:alt: Image required for inspection | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
|
@@ -110,6 +165,10 @@ Contributors | |
|
||
* Vicent Cubells | ||
|
||
* `Binhex Cloud <https://www.binhex.cloud/>`_: | ||
|
||
* Edilio Escalona Almira <[email protected]> | ||
|
||
Other credits | ||
~~~~~~~~~~~~~ | ||
|
||
|
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
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
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
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 |
---|---|---|
|
@@ -13,3 +13,7 @@ | |
* `Trey Kilobytes de Soluciones SL <https://www.trey.es>`__: | ||
|
||
* Vicent Cubells | ||
|
||
* `Binhex Cloud <https://www.binhex.cloud/>`_: | ||
|
||
* Edilio Escalona Almira <[email protected]> |
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
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. | ||
|
||
Allows you to add images to questions asked during inspections. | ||
Depending on the configuration, adding images is allowed or not and defining whether it is mandatory to add them to questions that are not satisfactory. |
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,48 @@ | ||
Setting up images for inspections | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
#. Go to *Quality Control > Tests > Tests*. | ||
#. Add a new test. | ||
#. Check the *Enable images* box. | ||
|
||
.. image:: /quality_control_oca/static/src/img/enable_image.png | ||
:height: 100 | ||
:width: 200 | ||
:alt: Enable images | ||
|
||
#. Fill in the other fields. | ||
#. Relate the test to the inspection. | ||
|
||
Set required images for inspections | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
#. Go to *Quality Control > Testing > Tests*. | ||
#. Add a new test. | ||
#. Check the *Enable images* box. | ||
#. Check the *Required images* box. | ||
|
||
.. image:: /quality_control_oca/static/src/img/enable_required_image.png | ||
:height: 100 | ||
:width: 200 | ||
:alt: Requires images | ||
|
||
#. Fill in the other fields. | ||
#. Relate the test to the inspection. | ||
|
||
Add images to inspections | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
#. Go to *Quality Control > Inspections > Inspections*. | ||
#. Add a new inspection. | ||
#. Add a new test, using the smart button *Set test*. | ||
|
||
.. image:: /quality_control_oca/static/src/img/add_test.png | ||
:height: 100 | ||
:width: 200 | ||
:alt: Add test | ||
|
||
#. Once the test is selected, if the field *Enable images* is enabled, a new field will be shown in the questions to upload an image. | ||
# In case the test has the field *Images required* checked, the questions in which your answer is not correct will require an image. | ||
|
||
.. image:: /quality_control_oca/static/src/img/image_required_inspection.png | ||
:height: 100 | ||
:width: 200 | ||
:alt: Image required for inspection |
Oops, something went wrong.