Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.0][ADD] quality_control_issue #199

Merged
merged 5 commits into from
Oct 24, 2018
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions oca_dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
# Add a repository url and branch if you need a forked version
product-attribute
stock-logistics-warehouse
stock-logistics-workflow
110 changes: 110 additions & 0 deletions quality_control_issue/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
.. 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 Issue
=====================

This module extends the functionality of quality Control to allow you to
report and manage quality control issues.

Configuration
=============

To configure this module in order to take advantage of the kanban views you
need to create the stages for *issues* and *problems*. To **create** stages in
any kanban view click on *Add New Column*. Then you can **reorder** the stages
just dragging them.

In created stages you can **configure** them clicking on the gear button that
appears at the right of the stage name and clicking on *Edit*. Note the
following behaviors:

* You can set a *Quality Control Team*.

- Stages with no team set will be shared by all teams.
- Stages with a team associated will be only available for that specific
team.

* In Issue Stages you can also relate a *QC State* to the stage.

- When you move to a different stage an issue with *QC state* defined the
state of the issue will also change according to it.
- The other way around, if you change the state, the system will look for
an appropriate stage and if existing the issue will be move to that stage.
- If you change the *QC team* of an issue, the system will get the default
stage for that team and apply it to the issue.

Usage
=====

To use Quality Control Issues, you need to:

#. Go to *Quality Control > Issues > QC Issues* or to *Quality Control >
Dashboard* and click on *Issues* in any of your teams.
#. Click on create to report an issue.
#. Select the product and quantity for the issue. Optionally you can specify
a location and relate the issue to some *Problem*.

To manage your Quality Control Problems, you have to:

#. Go to *Quality Control > Problem Tracking > Problems* or to *Quality
Control > Dashboard* and click on *Problems* in any of your teams.

Issue Dispositions:
-------------------

You can perform the following actions in quality control issues 'in progress':

* Scrap: Click on *Scrap Products* button.
* Create RMA: Install `rma_quality_control_issue` and see instructions there.

.. 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/9.0

Known issues / Roadmap
======================

Todo:
-----

* Add more dispositions: repair, refurbish...

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 smash it by providing detailed and welcomed feedback.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

Contributors
------------

* Lois Rilo <[email protected]>
* Jordi Ballester Alomar <[email protected]>

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 https://odoo-community.org.
5 changes: 5 additions & 0 deletions quality_control_issue/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
31 changes: 31 additions & 0 deletions quality_control_issue/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Quality Control Issue",
"summary": "Allow to manage and report Quality Control Issues.",
"version": "9.0.1.0.0",
"category": "Quality Control",
"website": "https://odoo-community.org/",
"author": "Eficent , Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": [
"quality_control",
"quality_control_team",
"stock",
"stock_scrap",
],
"data": [
"security/ir.model.access.csv",
"security/quality_control_issue_security.xml",
"data/qc_issue_sequence.xml",
"data/qc_stage_data.xml",
"views/qc_issue_view.xml",
"views/qc_problem_view.xml",
"views/qc_problem_group_view.xml",
"views/qc_team_dashboard_view.xml",
"views/stock_scrap_view.xml",
],
}
15 changes: 15 additions & 0 deletions quality_control_issue/data/qc_issue_sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017 Eficent Business and IT Consulting Services S.L.
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->

<odoo noupdate="1">

<record id="seq_qc_issue" model="ir.sequence">
<field name="name">QC Issues</field>
<field name="code">qc.issue</field>
<field name="prefix">QCI/%(range_year)s/</field>
<field name="padding">5</field>
<field name="company_id" eval="False"/>
</record>

</odoo>
23 changes: 23 additions & 0 deletions quality_control_issue/data/qc_stage_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017 Eficent Business and IT Consulting Services S.L.
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->

<odoo>

<data noupdate="0">
<record model="qc.stage" id="qc_stage_new">
<field name="name">New</field>
<field name="sequence">1</field>
<field name="fold">False</field>
</record>
</data>

<data noupdate="0">
<record model="qc.stage" id="qc_stage_done">
<field name="name">Done</field>
<field name="sequence">100</field>
<field name="fold">True</field>
</record>
</data>

</odoo>
10 changes: 10 additions & 0 deletions quality_control_issue/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import stock_scrap
from . import qc_stage
from . import qc_problem
from . import qc_problem_group
from . import qc_issue_stage
from . import qc_issue
Loading