8000 [16.0][MIG] edi_voxel_account_invoice_oca: Migration to 16.0 by macagua · Pull Request #1117 · OCA/edi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[16.0][MIG] edi_voxel_account_invoice_oca: Migration to 16.0 #1117

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

Open
wants to merge 23 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c23b3bd
[MIG] edi_voxel_account_invoice: Migration to v15.0
sergio-teruel Nov 2, 2022
e94db3f
[UPD] Update edi_voxel_account_invoice_oca.pot
Dec 14, 2022
12614fe
[FIX] edi_voxel_account_invoice_oca: Associate channels to methods vi…
Jan 5, 2023
21aa740
[UPD] README.rst
OCA-git-bot Jan 17, 2023
10fad0f
[UPD] README.rst
OCA-git-bot Sep 3, 2023
4c887cb
Update translation files
weblate Oct 9, 2023
73f432f
[IMP] edi_voxel_account_invoice_oca: test performance improvement
josep-tecnativa Oct 19, 2023
4040d20
[BOT] post-merge updates
OCA-git-bot Oct 19, 2023
5a41401
Translated using Weblate (Spanish)
Ivorra78 Nov 15, 2023
e82d70f
[FIX] edi_voxel_account_invoice_oca: Intercept post low level method
pedrobaeza Jun 6, 2024
c281874
[BOT] post-merge updates
OCA-git-bot Jun 6, 2024
6b75a46
[IMP] edi_voxel_account_invoice_oca: pre-commit stuff
macagua Jan 29, 2025
98ca1ad
[IMP] edi_voxel_account_invoice_oca: Updated the repository README file
macagua Jan 29, 2025
d45cdf4
[FIX] edi_voxel_account_invoice_oca: Fixed the error "Inherited view …
macagua Jan 29, 2025
5d3d3f7
[FIX] edi_voxel_account_invoice_oca: Fixed the issue of Many2many fie…
macagua Jan 29, 2025
048fc16
[FIX] edi_voxel_account_invoice_oca: Fixed some typos.
macagua Jan 29, 2025
0361ed6
[MIG] edi_voxel_account_invoice_oca: Migration to 16.0
macagua Jan 29, 2025
0b1cf64
[DON'T MERGE] test-requirements.txt
macagua Jan 29, 2025
ef7eef3
[FIX] edi_voxel_account_invoice_oca: Fixed the test-requirements.txt …
macagua Jan 29, 2025
78163e8
[FIX] edi_voxel_account_invoice_oca: Fixed the subdirectory name at t…
macagua Jan 29, 2025
a4911fe
[FIX] edi_voxel_account_invoice_oca: Updated the author and year for …
macagua Jan 29, 2025
25b0807
[DON'T MERGE] test-requirements.txt
macagua Jan 29, 2025
058a9bb
[FIX] edi_voxel_account_invoice_oca: Updated the author and year for …
macagua Jan 30, 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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ addon | version | maintainers | summary
[base_wamas_ubl](base_wamas_ubl/) | 16.0.1.17.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.
[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
136 changes: 136 additions & 0 deletions edi_voxel_account_invoice_oca/README.rst
1E0A
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
=========================
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
* Guavana

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
24 changes: 24 additions & 0 deletions edi_voxel_account_invoice_oca/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2019 Tecnativa - Ernesto Tejeda
# Copyright 2024, 2025 Guavana - Leonardo J. Caballero G.
# 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.2",
"development_status": "Production/Stable",
"category": "Accounting & Finance",
"author": "Tecnativa, Guavana, 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 10000
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
0