Skip to content

Commit

Permalink
[ADD] account_invoices_batches_mail_attach_existing_attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankC013 committed Oct 9, 2024
1 parent 34f70b6 commit 0c944dd
Show file tree
Hide file tree
Showing 18 changed files with 733 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
========================================================
Account Invoices Batches Mail Attach Existing Attachment
========================================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3d2151598064005ae1a3a1962b4ad1d6e0f2a9b2f80083564fe8c421e3520b82
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-NuoBiT%2Fodoo--addons-lightgray.png?logo=github
:target: https://github.com/NuoBiT/odoo-addons/tree/14.0/account_invoices_batches_mail_attach_existing_attachment
:alt: NuoBiT/odoo-addons

|badge1| |badge2| |badge3|

Glue module for account invoices batches and account mail attach existing attachment

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/NuoBiT/odoo-addons/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/NuoBiT/odoo-addons/issues/new?body=module:%20account_invoices_batches_mail_attach_existing_attachment%0Aversion:%2014.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
~~~~~~~

* NuoBiT Solutions
* S.L.

Contributors
~~~~~~~~~~~~

* `NuoBiT <https://www.nuobit.com>`_:

* Frank Cespedes <[email protected]>

Maintainers
~~~~~~~~~~~

This module is part of the `NuoBiT/odoo-addons <https://github.com/NuoBiT/odoo-addons/tree/14.0/account_invoices_batches_mail_attach_existing_attachment>`_ project on GitHub.

You are welcome to contribute.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizard
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright NuoBiT Solutions - Frank Cespedes <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

{
"name": "Account Invoices Batches Mail Attach Existing Attachment",
"summary": "Glue module for account invoices batches and account mail attach "
"existing attachment",
"author": "NuoBiT Solutions, S.L.",
"website": "https://github.com/nuobit/odoo-addons",
"version": "14.0.1.0.0",
"license": "AGPL-3",
"depends": ["account_invoice_batches", "account_mail_attach_existing_attachment"],
"data": [
"views/res_partner_view.xml",
"views/account_move_view.xml",
"wizard/account_invoice_batch_process.xml",
],
"auto_install": True,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoices_batches_mail_attach_existing_attachment
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-09 13:42+0000\n"
"PO-Revision-Date: 2024-10-09 13:42+0000\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_invoices_batches_mail_attach_existing_attachment
#: model:ir.model,name:account_invoices_batches_mail_attach_existing_attachment.model_account_invoice_batch_process
msgid "Account Invoice Batch Process"
msgstr "Proceso de lote de facturas de cuenta"

#. module: account_invoices_batches_mail_attach_existing_attachment
#: model:ir.model,name:account_invoices_batches_mail_attach_existing_attachment.model_res_partner
msgid "Contact"
msgstr "Contacto"

#. module: account_invoices_batches_mail_attach_existing_attachment
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_account_invoice_batch_process__display_name
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_account_move__display_name
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_res_partner__display_name
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: account_invoices_batches_mail_attach_existing_attachment
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_account_invoice_batch_process__invoice_batch_sending_email_attachments
msgid "E-mail (Attach documents)"
msgstr "E-mail (Adjuntar documentos)"

#. module: account_invoices_batches_mail_attach_existing_attachment
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_account_invoice_batch_process__id
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_account_move__id
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_res_partner__id
msgid "ID"
msgstr ""

#. module: account_invoices_batches_mail_attach_existing_attachment
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_ambugest_res_partner__invoice_batch_sending_method
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_oxigesti_res_partner__invoice_batch_sending_method
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_res_partner__invoice_batch_sending_method
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_res_users__invoice_batch_sending_method
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_sage_res_partner__invoice_batch_sending_method
msgid "Invoice Batch Sending method"
msgstr "Método de envío de Lote de facturación"

#. module: account_invoices_batches_mail_attach_existing_attachment
#: model:ir.model,name:account_invoices_batches_mail_attach_existing_attachment.model_account_move
msgid "Journal Entry"
msgstr "Asiento contable"

#. module: account_invoices_batches_mail_attach_existing_attachment
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_account_invoice_batch_process____last_update
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_account_move____last_update
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_res_partner____last_update
msgid "Last Modified on"
msgstr "Última modificación el"

#. module: account_invoices_batches_mail_attach_existing_attachment
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_account_bank_statement_line__invoice_batch_sending_method
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_account_move__invoice_batch_sending_method
#: model:ir.model.fields,field_description:account_invoices_batches_mail_attach_existing_attachment.field_account_payment__invoice_batch_sending_method
msgid "Sending method"
msgstr "Método de envío"

#. module: account_invoices_batches_mail_attach_existing_attachment
#: code:addons/account_invoices_batches_mail_attach_existing_attachment/models/account_move.py:0
#: code:addons/account_invoices_batches_mail_attach_existing_attachment/models/res_partner.py:0
#: model:ir.model.fields.selection,name:account_invoices_batches_mail_attach_existing_attachment.selection__account_move__invoice_batch_sending_method__emailattachments
#: model:ir.model.fields.selection,name:account_invoices_batches_mail_attach_existing_attachment.selection__res_partner__invoice_batch_sending_method__emailattachments
#, python-format
msgid "e-mail (Attach documents)"
msgstr "e-mail (Adjuntar documentos)"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import res_partner
from . import account_move
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright NuoBiT Solutions - Frank Cespedes <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from odoo import _, fields, models


class AccountMove(models.Model):
_inherit = "account.move"

invoice_batch_sending_method = fields.Selection(
selection_add=[("emailattachments", _("e-mail (Attach documents)"))],
ondelete={"emailattachments": "set null"},
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright NuoBiT Solutions - Frank Cespedes <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from odoo import _, fields, models


class ResPartner(models.Model):
_inherit = "res.partner"

invoice_batch_sending_method = fields.Selection(
selection_add=[("emailattachments", _("e-mail (Attach documents)"))],
ondelete={"emailattachments": "set default"},
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `NuoBiT <https://www.nuobit.com>`_:

* Frank Cespedes <[email protected]>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Glue module for account invoices batches and account mail attach existing attachment
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0c944dd

Please sign in to comment.