Metadata-Version: 2.1
Name: odoo-addon-l10n_br_repair
Version: 18.0.1.0.0.3
Requires-Python: >=3.10
Requires-Dist: odoo-addon-l10n_br_sale==18.0.*
Requires-Dist: odoo==18.0.*
Summary: Brazilian Localization Repair
Home-page: https://github.com/OCA/l10n-brazil
License: AGPL-3
Author: Escodoo, Odoo Community Association (OCA)
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
Classifier: Development Status :: 3 - Alpha
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

=============================
Brazilian Localization Repair
=============================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
    :target: https://odoo-community.org/page/development-status
    :alt: Alpha
.. |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%2Fl10n--brazil-lightgray.png?logo=github
    :target: https://github.com/OCA/l10n-brazil/tree/18.0/l10n_br_repair
    :alt: OCA/l10n-brazil
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/l10n-brazil-18-0/l10n-brazil-18-0-l10n_br_repair
    :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/l10n-brazil&target_branch=18.0
    :alt: Try me on Runboat

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

This module extends the Odoo Repair module to adapt it to the Brazilian
needs. Since Odoo 17.0 the repair order is billed through a sale order:
this module sets the fiscal operation of the repair order and carries it
to the quotation created from the repair and to the lines of the repair
parts, so the Brazilian taxes are computed and the fiscal documents
(NF-e, NFS-e and others) are issued by the Brazilian sale localization
(l10n_br_sale).

.. IMPORTANT::
   This is an alpha version, the data model and design can change at any time without warning.
   Only for development or testing purpose, do not use in production.
   `More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
   :local:

Installation
============

This module depends on:

- repair
- l10n_br_sale

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

To configure this module, you need to:

1. Go to Settings -> Users & Companies -> Companies
2. Select or create a company and go to Fiscal -> Repair
3. Set the default Fiscal Operation for repairs.

Usage
=====

To use this module, you need to:

1. Go to Repair
2. Create or select a Repair Order and check its Fiscal Operation (the
   default one comes from the company)
3. Add the parts and click on Create Quotation: the quotation and the
   lines of the parts get the fiscal operation, the CFOP and the
   Brazilian taxes
4. Add the services (labor) to the quotation and confirm it
5. Finish the repair and create the invoices from the sale order: one
   fiscal document is created for each document type (for instance a
   NF-e for the parts and a NFS-e for the services)

A repair order created by a sale order follows the fiscal operation of
that sale order.

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

- Parts replaced under warranty get a zero price on the quotation, but
  they still use the fiscal operation of the repair; a specific fiscal
  operation for warranty replacements is not handled yet.
- Add Fiscal Position Resource

Changelog
=========

18.0.1.0.0
----------

The repair order of Odoo 17.0+ has no own invoicing (no repair lines,
fees nor invoice): the fiscal integration now goes through the sale
order created from the repair (l10n_br_sale).

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

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

* Escodoo

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

- `Escodoo <https://www.escodoo.com.br>`__:

  - Marcel Savegnago <marcel.savegnago@escodoo.com.br>

- `Akretion <https://akretion.com/pt-BR>`__:

  - Raphaël Valyi <raphael.valyi@akretion.com.br>
  - Renato Lima <renato.lima@akretion.com.br>

- `KMEE <https://www.kmee.com.br>`__:

  - Luis Otavio Malta Conceição <luis.malta@kmee.com.br>
  - Luis Felipe Mileo <mileo@kmee.com.br>

Other credits
-------------

The development of this module has been financially supported by:

- Escodoo - https://www.escodoo.com.br

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.

.. |maintainer-marcelsavegnago| image:: https://github.com/marcelsavegnago.png?size=40px
    :target: https://github.com/marcelsavegnago
    :alt: marcelsavegnago

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-marcelsavegnago| 

This module is part of the `OCA/l10n-brazil <https://github.com/OCA/l10n-brazil/tree/18.0/l10n_br_repair>`_ project on GitHub.

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