Metadata-Version: 2.1
Name: odoo-addon-edi_voxel_account_invoice_oca
Version: 18.0.1.0.0.2
Requires-Python: >=3.10
Requires-Dist: odoo-addon-edi_voxel_oca==18.0.*
Requires-Dist: odoo-addon-stock_picking_invoice_link==18.0.*
Requires-Dist: odoo==18.0.*
Summary: Sends account invoices to Voxel.
Home-page: https://github.com/OCA/edi-voxel
License: AGPL-3
Author: Tecnativa, 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 :: 5 - Production/Stable
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

=========================
Voxel account invoice oca
=========================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
    :target: https://odoo-community.org/page/development-status
    :alt: Production/Stable
.. |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%2Fedi--voxel-lightgray.png?logo=github
    :target: https://github.com/OCA/edi-voxel/tree/18.0/edi_voxel_account_invoice_oca
    :alt: OCA/edi-voxel
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/edi-voxel-18-0/edi-voxel-18-0-edi_voxel_account_invoice_oca
    :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/edi-voxel&target_branch=18.0
    :alt: Try me on Runboat

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

This module allows you to send invoices to Voxel. Sending are queued in
jobs running in the background.

**Table of contents**

.. contents::
   :local:

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

To configure this module you have to belong to the access group 'Voxel
manager' under 'Technical Settings', then:

1. Open a customer form view. In 'Sales & Purchases' page, check 'Enable
   Voxel' if you want to send invoices to this customer through Voxel.
2. Go to *Settings > Users & Companies > Companies*, open the companies
   you want to enable Voxel communication and set 'Enable Voxel' field
   to True.
3. In the login list, add the corresponding login for connecting with
   Voxel to send the invoices. The final URL where the invoices are
   going to be sent is '<Login URL>/Outbox'.
4. Save the form and edit it again, find 'invoice login' field and
   select the login to be used in the invoice sending.
5. Select also the 'Send mode' to set when the Invoice will be sent:

..

   - On validate: The invoice will be sent to Voxel automatically when
     the invoice is validated.
   - At fixed time: The invoice will be sent to Voxel automatically at a
     fixed time.
   - With delay: The invoice will be sent to Voxel automatically a
     certain time after the invoice is validated.

Note:

This module enqueue the sending invoices to Voxel in jobs in the
background. To do that it uses queue_job module, so a configuration is
required according to that. The jobs for sending invoices to Voxel are
queued in the channel ``root.voxel_export channel``. The sending status
check jobs are queued in the channel ``root.voxel_status``.

Usage
=====

To use this module, you need to:

1. Go to *Invoicing > Customers > Invoices* and create a new Invoice or
   open an existing draft invoice. Make sure that the customer has
   'Enable Voxel' field checkbox (See configuration section).
2. Validate the invoice and it will be send to Voxel immediately or
   later, depending on the Voxel 'Send mode' chosen in the company
   configuration.
3. A new tab will be visible on the invoice form with the label 'Voxel'
   to show the information regarding sending the invoice to Voxel.
4. When the report is sent, you will be able to see the XML report in
   another tab next to the jobs tab.

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

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

* Tecnativa

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

- `Tecnativa <https://www.tecnativa.com>`__:

  - Ernesto Tejeda
  - Pedro M. Baeza
  - Sergio Teruel
  - Juan Carlos Oñate

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

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