.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

=================
Maintenance Stock
=================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:3c75e13351d3b04da1a5646ec6fd3297366ae5088199ed3e128585025f63197b
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/license-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%2Fmaintenance-lightgray.png?logo=github
    :target: https://github.com/OCA/maintenance/tree/18.0/maintenance_stock
    :alt: OCA/maintenance
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/maintenance-18-0/maintenance-18-0-maintenance_stock
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/maintenance&target_branch=18.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the functionality of Odoo Maintenance module by
allowing link stock consumptions to maintenance requests.

**Table of contents**

.. contents::
   :local:

Usage
=====

Once installed, first you should enable consumptions for a certain
equipment and filling a default warehouse for the picking operations:

|image1|

Then, for every mainteance request of this equipment, *Picking List*
button allows us to make consumptions, that will be picking documents
with their own sequence:

|image2|

|image3|

By default, the origin location for this operations will be the stock
location for the default warehouse, and destination a new *Consumptions*
location, that will not compute for stock inventory, like e.g. partner
locations:

|image4|

From both request and equipment forms these stock operations and
*Product Moves* are available.

Return operations are also enabled, and will be linked to the request
and equipment as well:

|image5|

.. |image1| image:: https://raw.githubusercontent.com/OCA/maintenance/18.0/maintenance_stock/static/description/equipment.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/maintenance/18.0/maintenance_stock/static/description/request-1.png
.. |image3| image:: https://raw.githubusercontent.com/OCA/maintenance/18.0/maintenance_stock/static/description/pick-1.png
.. |image4| image:: https://raw.githubusercontent.com/OCA/maintenance/18.0/maintenance_stock/static/description/move-line.png
.. |image5| image:: https://raw.githubusercontent.com/OCA/maintenance/18.0/maintenance_stock/static/description/pick-2.png

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

- Product standard list. Enable defining product standard lists (at
  least, product and quantity per line), and link them with equipments.
  Then, every maintenance request could select one of them and
  automatically fill the product and quantity list.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/maintenance/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_stock%0Aversion:%2018.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
-------

* Solvos

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

- David Alonso <david.alonso@solvos.es>

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/maintenance <https://github.com/OCA/maintenance/tree/18.0/maintenance_stock>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
