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

[17.0][MIG] account_invoice_export #1037

Merged
merged 31 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4c596d6
[13.0][ADD] account_invoice_export
TDu Jun 16, 2020
442c5b7
[13.0][IMP] account_invoice_export
TDu Aug 14, 2020
83fd67d
Hide export button for supplier invoices
TDu Nov 9, 2020
85fc053
[IMP] account_invoice_export: black, isort, prettier
phuctranfxvn Dec 26, 2020
5fbf310
[MIG] account_invoice_export: Migration to 14.0
May 23, 2021
437ea2b
[FW][14.0][IMP] account_invoice_export send button visibility
TDu Mar 10, 2021
72046ab
[UPD] Update account_invoice_export.pot
oca-travis Oct 15, 2021
2204530
[UPD] README.rst
OCA-git-bot Oct 15, 2021
c663f4b
account_invoice_export 14.0.1.1.0
OCA-git-bot Oct 15, 2021
5a7aed4
[13.0][FIX] invoice export resend ebill
TDu Sep 10, 2021
ea9d287
[13.0][IMP] account_invoice_export custom url
TDu Mar 18, 2021
84714e1
[13.0][FIX] account_invoice_export password or user empty
TDu Apr 3, 2021
f096b01
account_invoice_export 14.0.1.2.0
OCA-git-bot Nov 12, 2021
9688af8
Fix account_invoice_export wrong assignment
TDu Dec 14, 2021
58be7b4
Fix account_invoice_export resend button visibility
TDu Feb 8, 2022
33fdfc3
account_invoice_export 14.0.1.2.1
OCA-git-bot May 19, 2022
98422f3
account_invoice_export 14.0.1.2.2
OCA-git-bot May 19, 2022
4fced84
Add job identity key on acount_invoice_export
TDu May 9, 2023
c7d424f
account_invoice_export 14.0.1.2.3
OCA-git-bot May 11, 2023
8863f33
[UPD] README.rst
OCA-git-bot Sep 3, 2023
91376fc
*: Fix pylint
etobella Oct 29, 2023
cdb2605
[BOT] post-merge updates
OCA-git-bot Oct 29, 2023
90a289d
[MIG] account_invoice_export: Migration to 16
TDu Nov 22, 2023
e2e315b
account_invoice_export: improve tests
TDu Dec 14, 2023
aa962ef
Add account_invoice_export_job
TDu Dec 14, 2023
d068fb9
[UPD] Update account_invoice_export.pot
Jul 12, 2024
c182de6
Added translation using Weblate (Italian)
mymage Jul 18, 2024
ac8576a
Translated using Weblate (Italian)
mymage Aug 23, 2024
4b99abd
[IMP] account_invoice_export: black, isort, prettier
TDu Sep 12, 2024
827fa1f
[MIG] account_invoice_export: Migration to 17.0
TDu Sep 12, 2024
fc57302
[IMP] account_invoce_export: Add tests
TDu Sep 12, 2024
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
101 changes: 101 additions & 0 deletions account_invoice_export/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
======================
Account Invoice Export
======================

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

.. |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/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/17.0/account_invoice_export
:alt: OCA/edi
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/edi-17-0/edi-17-0-account_invoice_export
: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=17.0
:alt: Try me on Runboat

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

The goal of this module is to allow sending invoices in different format
to external systems.

It extends the module account_invoice_transmit_method, adding options to
configure an url and credentials (Basic Authentication). In the UI a new
button Send ebill send the invoice pdf to the configure url.

The actual sending of the invoice is manage by queue.job and the
standard Odoo chatter on the invoice is used to inform the user on
success/failure of the dispatch.

**Table of contents**

.. contents::
:local:

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:%20account_invoice_export%0Aversion:%2017.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
-------

* Camptocamp SA

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

- Thierry Ducrest <[email protected]>
- Tam (Nguyen Duc) <[email protected]>

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

The development of this module has been financially supported by:

- Camptocamp

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-TDu| image:: https://github.com/TDu.png?size=40px
:target: https://github.com/TDu
:alt: TDu

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

|maintainer-TDu|

This module is part of the `OCA/edi <https://github.com/OCA/edi/tree/17.0/account_invoice_export>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions account_invoice_export/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
22 changes: 22 additions & 0 deletions account_invoice_export/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2020 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)

{
"name": "Account Invoice Export",
"version": "17.0.1.0.0",
"category": "Invoicing Management",
"license": "AGPL-3",
"development_status": "Beta",
"summary": "",
"author": "Camptocamp SA, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/edi",
"depends": ["account", "account_invoice_transmit_method"],
"maintainers": ["TDu"],
"data": [
"data/mail_activity_type.xml",
"views/transmit_method.xml",
"views/account_move.xml",
"views/message_template.xml",
],
"installable": True,
}
10 changes: 10 additions & 0 deletions account_invoice_export/data/mail_activity_type.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="mail_activity_transmit_warning" model="mail.activity.type">
<field name="name">Transmission Error</field>
<field name="icon">fa-warning</field>
<field name="delay_count">0</field>
<field name="sequence">99</field>
<field name="decoration_type">warning</field>
</record>
</odoo>
149 changes: 149 additions & 0 deletions account_invoice_export/i18n/account_invoice_export.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_export
#
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: account_invoice_export
#: model:ir.model.fields,help:account_invoice_export.field_account_bank_statement_line__send_through_http
#: model:ir.model.fields,help:account_invoice_export.field_account_move__send_through_http
#: model:ir.model.fields,help:account_invoice_export.field_account_payment__send_through_http
#: model:ir.model.fields,help:account_invoice_export.field_transmit_method__send_through_http
msgid "Adds a Send eBill button on the invoice"
msgstr ""

#. module: account_invoice_export
#. odoo-python
#: code:addons/account_invoice_export/models/account_move.py:0
#, python-format
msgid "An error of type {} occured."
msgstr ""

#. module: account_invoice_export
#: model_terms:ir.ui.view,arch_db:account_invoice_export.transmit_method_form
msgid ""
"By default the PDF of the invoice will be sent using the connection "
"parameters below (basic authenticaiton)."
msgstr ""

#. module: account_invoice_export
#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form
msgid "Ebill has already been sent. Are you sure you want to send it again ?"
msgstr ""

#. module: account_invoice_export
#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__send_through_http
#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__send_through_http
#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__send_through_http
#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__send_through_http
msgid "Enable send eBill"
msgstr ""

#. module: account_invoice_export
#: model_terms:ir.ui.view,arch_db:account_invoice_export.exception_sending_invoice
msgid "Error sending invoice to"
msgstr ""

#. module: account_invoice_export
#. odoo-python
#: code:addons/account_invoice_export/models/account_move.py:0
#, python-format
msgid "HTTP error {status_code} sending invoice to {method_name}"
msgstr ""

#. module: account_invoice_export
#: model_terms:ir.ui.view,arch_db:account_invoice_export.transmit_method_form
msgid ""
"Handling specific connection needs and/or exporting other files can be done "
"through code."
msgstr ""

#. module: account_invoice_export
#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__invoice_export_confirmed
#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__invoice_export_confirmed
#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__invoice_export_confirmed
msgid "Invoice Export Confirmed"
msgstr ""

#. module: account_invoice_export
#: model:ir.model.fields,field_description:account_invoice_export.field_account_bank_statement_line__invoice_exported
#: model:ir.model.fields,field_description:account_invoice_export.field_account_move__invoice_exported
#: model:ir.model.fields,field_description:account_invoice_export.field_account_payment__invoice_exported
msgid "Invoice Exported"
msgstr ""

#. module: account_invoice_export
#. odoo-python
#: code:addons/account_invoice_export/models/account_move.py:0
#, python-format
msgid "Invoice successfuly sent to {}"
msgstr ""

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

#. module: account_invoice_export
#. odoo-python
#: code:addons/account_invoice_export/models/account_move.py:0
#, python-format
msgid "Nothing done, invoice has already been exported before."
msgstr ""

#. module: account_invoice_export
#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_pwd
msgid "Password"
msgstr ""

#. module: account_invoice_export
#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form
msgid "Resend eBill"
msgstr ""

#. module: account_invoice_export
#: model:ir.actions.server,name:account_invoice_export.action_send_ebill
#: model_terms:ir.ui.view,arch_db:account_invoice_export.view_move_form
msgid "Send eBill"
msgstr ""

#. module: account_invoice_export
#: model_terms:ir.ui.view,arch_db:account_invoice_export.exception_sending_invoice
msgid "The failed job has the uuid"
msgstr ""

#. module: account_invoice_export
#: model:mail.activity.type,name:account_invoice_export.mail_activity_transmit_warning
msgid "Transmission Error"
msgstr ""

#. module: account_invoice_export
#: model:ir.model,name:account_invoice_export.model_transmit_method
msgid "Transmit Method of a document"
msgstr ""

#. module: account_invoice_export
#. odoo-python
#: code:addons/account_invoice_export/models/account_move.py:0
#, python-format
msgid "Transmit method is not configured to send through HTTP"
msgstr ""

#. module: account_invoice_export
#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_url
msgid "Url"
msgstr ""

#. module: account_invoice_export
#: model:ir.model.fields,field_description:account_invoice_export.field_transmit_method__destination_user
msgid "User"
msgstr ""
Loading
Loading