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

16.0 mig edi voxel #1108

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
8c25096
[IMP] edi_voxel_account_invoice_oca, edi_voxel_oca, edi_voxel_sale_or…
macagua Nov 19, 2024
0ea14b9
[MIG] edi_voxel_account_invoice_oca: Migration to 16.0
macagua Nov 19, 2024
f331236
[MIG] edi_voxel_oca: Migration to 16.0
macagua Nov 19, 2024
0fecb62
[MIG] edi_voxel_sale_order_import_oca: Migration to 16.0
macagua Nov 19, 2024
7caa13b
[MIG] edi_voxel_sale_secondary_unit_oca: Migration to 16.0
macagua Nov 19, 2024
dea93be
[MIG] edi_voxel_secondary_unit_oca: Migration to 16.0
macagua Nov 19, 2024
4a034eb
[MIG] edi_voxel_stock_picking_oca: Migration to 16.0
macagua Nov 19, 2024
025281b
[MIG] edi_voxel_stock_picking_secondary_unit_oca: Migration to 16.0
macagua Nov 19, 2024
49ec38e
[FIX] Fixed the error "Inherited view cannot have 'Groups' define on …
macagua Nov 19, 2024
c79ea1a
[UPD] Updated the Contributors sections
macagua Nov 19, 2024
168c9b4
[FIX] Fixed the issue of One2many field not expanding to the full for…
macagua Dec 19, 2024
53a5cbf
[UPD] Updated the Gettext template format files
macagua Dec 19, 2024
8f968f5
[UPD] Updated the Spanish translation file
macagua Dec 19, 2024
8a72942
[ADD] Added the Spanish of the Dominican Republic translation file
macagua Dec 19, 2024
35ce219
[FIX] Fixed some typos
macagua Dec 23, 2024
be099bd
[ADD] Added the Dominican Republic Spanish file
macagua Dec 23, 2024
92e4c75
[FIX] Fixed the issue of Many2many field not expanding to the full fo…
macagua Dec 23, 2024
0a41f58
[UPD] Updated the README file for the repository
macagua Jan 13, 2025
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
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ addon | version | maintainers | summary
[base_wamas_ubl](base_wamas_ubl/) | 16.0.1.13.0 | | Base module to aggregate WAMAS - UBL features.
[despatch_advice_import](despatch_advice_import/) | 16.0.1.2.0 | | Despatch Advice import
[despatch_advice_import_ubl](despatch_advice_import_ubl/) | 16.0.1.1.0 | | Import Despatch Advice files
[edi_voxel_account_invoice_oca](edi_voxel_account_invoice_oca/) | 16.0.1.0.2 | [![macagua](https://github.com/macagua.png?size=30px)](https://github.com/macagua) | Sends account invoices to Voxel.
[edi_voxel_oca](edi_voxel_oca/) | 16.0.1.0.0 | [![macagua](https://github.com/macagua.png?size=30px)](https://github.com/macagua) | Base module for connecting with Voxel
[edi_voxel_sale_order_import_oca](edi_voxel_sale_order_import_oca/) | 16.0.1.0.1 | [![macagua](https://github.com/macagua.png?size=30px)](https://github.com/macagua) | Import sale order from Voxel.
[edi_voxel_sale_secondary_unit_oca](edi_voxel_sale_secondary_unit_oca/) | 16.0.1.0.0 | [![ernestotejeda](https://github.com/ernestotejeda.png?size=30px)](https://github.com/ernestotejeda) [![macagua](https://github.com/macagua.png?size=30px)](https://github.com/macagua) | Map Voxel UoM to Sale Secondary UoM and Use Them
[edi_voxel_secondary_unit_oca](edi_voxel_secondary_unit_oca/) | 16.0.1.0.0 | [![ernestotejeda](https://github.com/ernestotejeda.png?size=30px)](https://github.com/ernestotejeda) [![macagua](https://github.com/macagua.png?size=30px)](https://github.com/macagua) | Add Voxel UoM code to Secondary UoM model
[edi_voxel_stock_picking_oca](edi_voxel_stock_picking_oca/) | 16.0.1.0.2 | [![macagua](https://github.com/macagua.png?size=30px)](https://github.com/macagua) | Sends stock picking report to Voxel.
[edi_voxel_stock_picking_secondary_unit_oca](edi_voxel_stock_picking_secondary_unit_oca/) | 16.0.1.0.0 | [![ernestotejeda](https://github.com/ernestotejeda.png?size=30px)](https://github.com/ernestotejeda) [![macagua](https://github.com/macagua.png?size=30px)](https://github.com/macagua) | Export Secondary UoMs Voxel Code in picking Voxel documents
[pdf_helper](pdf_helper/) | 16.0.1.1.0 | [![simahawk](https://github.com/simahawk.png?size=30px)](https://github.com/simahawk) [![alexis-via](https://github.com/alexis-via.png?size=30px)](https://github.com/alexis-via) | Provides helpers to work w/ PDFs
[sale_order_import](sale_order_import/) | 16.0.1.2.0 | | Import RFQ or sale orders from files
[sale_order_import_edifact](sale_order_import_edifact/) | 16.0.1.1.0 | [![rmorant](https://github.com/rmorant.png?size=30px)](https://github.com/rmorant) | EDIFACT/D96A Order
Expand Down
135 changes: 135 additions & 0 deletions edi_voxel_account_invoice_oca/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
=========================
Voxel account invoice oca
=========================

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

.. |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/licence-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-lightgray.png?logo=github
:target: https://github.com/OCA/edi/tree/16.0/edi_voxel_account_invoice_oca
:alt: OCA/edi
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-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&target_branch=16.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:

#. Open a customer form view. In 'Sales & Purchases' page,
check 'Enable Voxel' if you want to send invoices to this
customer through Voxel.
#. Go to *Settings > Users & Companies > Companies*, open the companies you
want to enable Voxel communication and set 'Enable Voxel' field to True.
#. 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'.
#. Save the form and edit it again, find 'invoice login' field and select
the login to be used in the invoice sending.
#. 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:

#. 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).
#. Validate the invoice and it will be send to Voxel immediately or later,
depending on the Voxel 'Send mode' chosen in the company configuration.
#. A new tab will be visible on the invoice form with the label 'Voxel'
to show the information regarding sending the invoice to Voxel.
#. 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/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/issues/new?body=module:%20edi_voxel_account_invoice_oca%0Aversion:%2016.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

* `Guavana <https://guavana.com>`_:

* Leonardo J. Caballero G.

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 <https://github.com/OCA/edi/tree/16.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.
4 changes: 4 additions & 0 deletions edi_voxel_account_invoice_oca/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import reports
23 changes: 23 additions & 0 deletions edi_voxel_account_invoice_oca/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2019 Tecnativa - Ernesto Tejeda
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Voxel account invoice oca",
"summary": "Sends account invoices to Voxel.",
"version": "16.0.1.0.0",
"development_status": "Production/Stable",
"category": "Accounting & Finance",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/edi",
"license": "AGPL-3",
"depends": ["edi_voxel_oca", "stock_picking_invoice_link"],
"data": [
"data/ir_cron_data.xml",
"data/queue_job_function_data.xml",
"views/account_move_views.xml",
"views/report_voxel_invoice.xml",
"views/res_company_view.xml",
"views/res_config_settings_views.xml",
],
"installable": True,
}
16 changes: 16 additions & 0 deletions edi_voxel_account_invoice_oca/data/ir_cron_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright 2020 Tecnativa - Ernesto Tejeda
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="ir_cron_check_invoice_export_status" model="ir.cron">
<field name="name">Edi Voxel: Update invoice export status</field>
<field name="model_id" ref="sale.model_account_move" />
<field name="state">code</field>
<field name="code">model._cron_update_voxel_export_status()</field>
<field name="user_id" ref="base.user_root" />
<field name="interval_number">10</field>
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field eval="False" name="doall" />
</record>
</odoo>
14 changes: 14 additions & 0 deletions edi_voxel_account_invoice_oca/data/queue_job_function_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!-- Copyright 2023 Tecnativa - Ernesto tejeda
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">
<record id="job_function_get_and_send_voxel_report" model="queue.job.function">
<field name="model_id" ref="account.model_account_move" />
<field name="method">_get_and_send_voxel_report</field>
<field name="channel_id" ref="edi_voxel_oca.channel_voxel_export" />
</record>
<record id="job_function_update_error_status" model="queue.job.function">
<field name="model_id" ref="account.model_account_move" />
<field name="method">_update_error_status</field>
<field name="channel_id" ref="edi_voxel_oca.channel_voxel_status" />
</record>
</odoo>
181 changes: 181 additions & 0 deletions edi_voxel_account_invoice_oca/i18n/edi_voxel_account_invoice_oca.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * edi_voxel_account_invoice_oca
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_move_form
msgid "Cancel sending"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_account_invoice_filter
msgid "Cancelled Voxel reports"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.model,name:edi_voxel_account_invoice_oca.model_res_company
msgid "Companies"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.model,name:edi_voxel_account_invoice_oca.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.model,name:edi_voxel_account_invoice_oca.model_report_edi_voxel_account_invoice_oca_template_voxel_invoice
msgid "Edi Voxel Account Invoice Report"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.actions.server,name:edi_voxel_account_invoice_oca.ir_cron_check_invoice_export_status_ir_actions_server
#: model:ir.cron,cron_name:edi_voxel_account_invoice_oca.ir_cron_check_invoice_export_status
#: model:ir.cron,name:edi_voxel_account_invoice_oca.ir_cron_check_invoice_export_status
msgid "Edi Voxel: Update invoice export status"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.model.fields,help:edi_voxel_account_invoice_oca.field_account_move__voxel_state
msgid "Indicates the status of sending report to Voxel"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.model.fields,field_description:edi_voxel_account_invoice_oca.field_res_company__voxel_invoice_login_id
#: model:ir.model.fields,field_description:edi_voxel_account_invoice_oca.field_res_config_settings__voxel_invoice_login_id
msgid "Invoice login"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.model.fields,field_description:edi_voxel_account_invoice_oca.field_account_bank_statement_line__voxel_job_ids
#: model:ir.model.fields,field_description:edi_voxel_account_invoice_oca.field_account_move__voxel_job_ids
#: model:ir.model.fields,field_description:edi_voxel_account_invoice_oca.field_account_payment__voxel_job_ids
msgid "Jobs"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.model,name:edi_voxel_account_invoice_oca.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.model.fields,field_description:edi_voxel_account_invoice_oca.field_account_move__processing_error
msgid "Processing Error"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_move_form
msgid "Requeue"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_move_form
msgid "Send now"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_move_form
msgid "Send to Voxel"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_account_invoice_filter
msgid "The last Voxel report processing with errors"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_account_invoice_filter
msgid "The last attempt to sent to Voxel has failed"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_move_form
msgid "Voxel"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.model.fields,field_description:edi_voxel_account_invoice_oca.field_account_bank_statement_line__voxel_enabled
#: model:ir.model.fields,field_description:edi_voxel_account_invoice_oca.field_account_move__voxel_enabled
#: model:ir.model.fields,field_description:edi_voxel_account_invoice_oca.field_account_payment__voxel_enabled
msgid "Voxel Enabled"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.model.fields,field_description:edi_voxel_account_invoice_oca.field_account_move__voxel_filename
msgid "Voxel Filename"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_move_form
msgid "Voxel Jobs"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_move_form
msgid "Voxel XML report"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_account_invoice_filter
msgid "Voxel cancelled"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_account_invoice_filter
msgid "Voxel filters"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.actions.report,name:edi_voxel_account_invoice_oca.report_voxel_invoice
msgid "Voxel invoice"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_account_invoice_filter
msgid "Voxel report accepted"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_account_invoice_filter
msgid "Voxel report failed"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_account_invoice_filter
msgid "Voxel report in process"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_account_invoice_filter
msgid "Voxel report not sent"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model_terms:ir.ui.view,arch_db:edi_voxel_account_invoice_oca.view_account_invoice_filter
msgid "Voxel report processing error"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.model.fields,field_description:edi_voxel_account_invoice_oca.field_account_move__voxel_state
msgid "Voxel send state"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.model.fields,field_description:edi_voxel_account_invoice_oca.field_account_move__voxel_xml_report
msgid "XML Report"
msgstr ""

#. module: edi_voxel_account_invoice_oca
#: model:ir.actions.report,print_report_name:edi_voxel_account_invoice_oca.report_voxel_invoice
msgid "object._get_voxel_filename()"
msgstr ""
Loading
Loading