Metadata-Version: 2.1
Name: odoo-addon-repair_order_group
Version: 18.0.2.0.1
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: Group several repair orders and keep them in sync
Home-page: https://github.com/OCA/repair
License: AGPL-3
Author: =?utf-8?q?Cetmix_O=C3=9C=2C_Odoo_Community_Association_=28OCA=29?=
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Description-Content-Type: text/x-rst

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

==================
Repair Order Group
==================

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

.. |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%2Frepair-lightgray.png?logo=github
    :target: https://github.com/OCA/repair/tree/18.0/repair_order_group
    :alt: OCA/repair
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/repair-18-0/repair-18-0-repair_order_group
    :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/repair&target_branch=18.0
    :alt: Try me on Runboat

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

This module allows users to group several repair orders and manage them
in a more convenient way.

Grouped repair orders are synchronized for the following actions:

- **Partner selection**: when a partner is changed in one repair order,
  the same partner is set on all other repair orders from the same
  group.
- **Order confirmation**: when one repair order is confirmed, all other
  repair orders from the same group are confirmed as well.
- **Order cancellation**: when one repair order is cancelled, all other
  repair orders from the same group are cancelled as well.
- **Quotation creation**: when a quotation is created, all repair orders
  from the same group are added to the same quotation.

The module also allows configuring the repair order states where the
**Add Grouped Repair** button is available. This is configured with the
**Available in** tags field in the Repair settings.

The button is always hidden when the related sales order is confirmed or
cancelled.

**Table of contents**

.. contents::
   :local:

Use Cases / Context
===================

Sometimes you need to create several repair orders in a row while
linking them to the same quotation. For example a service facility
receptionist needs to receive several items from the same client and
then prepare a sales order for all of them at once.

Currently this can be done from the sales order by adding products that
create repair orders on confirmation. However this approach has
limitations, because it makes it difficult to enter some repair details,
e.g. picking a serial number or filling in custom fields in the repair
order form.

Usage
=====

Create the first repair order.

Click the **Add Grouped Repair** button in the header. A new repair
order will be created with the same partner and the same repair order
group.

The availability of the **Add Grouped Repair** button can be configured
from **Repair > Configuration > Settings** in the **Add Grouped Repair**
setting.

Use the **Available in** field to select the repair order states where
the button should be available.

By default, the button is available in the **New** repair order state.
Additional states can be added in the **Available in** field.

The button is always hidden when the related sales order is confirmed or
cancelled.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/repair/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/repair/issues/new?body=module:%20repair_order_group%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
-------

* Cetmix OÜ

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

Cetmix <cetmix.com>

- Ivan Sokolov
- Loukachov Andrei
- Dmitry Meita

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

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