Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
a86e80d
[ADD] edi_account
etobella Nov 30, 2020
f78c737
[UPD] Update edi_account.pot
oca-travis Dec 1, 2020
bc67105
[UPD] README.rst
OCA-git-bot Dec 1, 2020
baadf6f
edi_account 13.0.1.0.1
OCA-git-bot Dec 1, 2020
b67740c
[CHG] edi: Use more permissive licence: AGPL-> LGPL
etobella Mar 10, 2021
984dce1
[UPD] README.rst
OCA-git-bot Mar 15, 2021
1d5a02d
edi_account 13.0.1.0.2
OCA-git-bot Mar 15, 2021
654717d
[MIG] edi_account_oca: Migration to 14.0
etobella May 6, 2021
87af93f
[UPD] Update edi_account_oca.pot
oca-travis May 13, 2021
749b928
[UPD] README.rst
OCA-git-bot May 13, 2021
63385c2
Added translation using Weblate (French)
Yvesldff Jun 17, 2021
331d8f5
Translated using Weblate (French)
Yvesldff Jun 17, 2021
27285be
[IMP] edi_account: Add a menu for accounting people
etobella Oct 5, 2021
0d28f03
[IMP] edi_account: Add a disable automatic on account.move
etobella Oct 5, 2021
e90eae7
[UPD] Update edi_account_oca.pot
Dec 9, 2021
57d8430
edi_account_oca 14.0.1.1.0
OCA-git-bot Dec 9, 2021
6a9325f
Update translation files
oca-transbot Dec 9, 2021
a98ee89
[MIG] edi_account_oca: Migration to 15.0
ao-landoo Feb 23, 2022
c38a9ae
[UPD] Update edi_account_oca.pot
Mar 1, 2022
696741f
[UPD] README.rst
OCA-git-bot Mar 1, 2022
e4ee18d
[FIX] edi_account_oca: Tests failing
etobella May 13, 2022
9c84e91
edi_account_oca 15.0.1.0.1
OCA-git-bot May 13, 2022
15be6b4
[UPD] Update edi_account_oca.pot
Feb 2, 2023
f445d94
Update translation files
weblate Feb 2, 2023
3557120
[IMP] edi_account_oca: pre-commit stuff
OriolMForgeFlow Aug 1, 2023
fb9275b
[MIG] edi_account_oca: Migration to 16.0
OriolMForgeFlow Aug 1, 2023
3460941
[UPD] Update edi_account_oca.pot
Oct 17, 2023
be64408
[BOT] post-merge updates
OCA-git-bot Oct 17, 2023
e6ad7c5
Update translation files
weblate Oct 17, 2023
ad748b6
[IMP] edi_oca: add partner form page
Jan 10, 2024
678086e
[BOT] post-merge updates
OCA-git-bot Jan 15, 2024
a7fb93e
[UPD] Update edi_account_oca.pot
Feb 4, 2024
3c47bf4
Update translation files
weblate Feb 4, 2024
8df5d4b
Added translation using Weblate (Italian)
mymage May 13, 2024
89c1321
[IMP] edi_account_oca: pre-commit auto fixes
Jun 20, 2024
0d1e2e7
[MIG] edi_account_oca: Migration to 17.0
Jun 20, 2024
33a3f87
[UPD] Update edi_account_oca.pot
Jul 25, 2024
6df49c3
[BOT] post-merge updates
OCA-git-bot Jul 25, 2024
fa7fbe4
Update translation files
weblate Jul 25, 2024
e2214c2
Translated using Weblate (Italian)
mymage Jul 29, 2024
d93cf55
[IMP] edi_account_oca: pre-commit stuff
JordiMForgeFlow Oct 23, 2024
d31ce27
[MIG] edi_account_oca: Migration to V18
JordiMForgeFlow Oct 23, 2024
d5ea955
[IMP] edi_account_oca: Use edi_configuration for account
thienvh332 Nov 12, 2024
ff5f6d4
[UPD] edi_account_oca: update setUpClass of account for test
thienvh332 Nov 13, 2024
ad879bb
[DON'T MERGE] Add test-requirements.txt
thienvh332 Nov 13, 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
104 changes: 104 additions & 0 deletions edi_account_oca/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
===========
Edi Account
===========

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

.. |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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi--framework-lightgray.png?logo=github
:target: https://github.com/OCA/edi-framework/tree/18.0/edi_account_oca
:alt: OCA/edi-framework
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/edi-framework-18-0/edi-framework-18-0-edi_account_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-framework&target_branch=18.0
:alt: Try me on Runboat

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

This module intends to create a base to be extended by local edi rules
for accounting.

In order to add a new integration for an account, you need to create a
listener:

.. code:: python

class MyEventListener(Component):
_name = "account.move.event.listener.demo"
_inherit = "base.event.listener"
_apply_on = ["account.move"]

def on_post_account_move(self, move):
"""Add your code here about creation of record"""

A skip if decorator can be added in order to make some checks on the
state of the move

**Table of contents**

.. contents::
:local:

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

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

* Creu Blanca

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

- Enric Tobella <[email protected]>
- [APSL-Nagarro](https://apsl.tech):

- Antoni Marroig <[email protected]>

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

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

|maintainer-etobella|

This module is part of the `OCA/edi-framework <https://github.com/OCA/edi-framework/tree/18.0/edi_account_oca>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions edi_account_oca/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import components
22 changes: 22 additions & 0 deletions edi_account_oca/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2020 Creu Blanca
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"name": "Edi Account",
"summary": """
Define EDI Configuration for Account Moves""",
"version": "18.0.1.0.0",
"license": "LGPL-3",
"author": "Creu Blanca,Odoo Community Association (OCA)",
"maintainers": ["etobella"],
"development_status": "Beta",
"website": "https://github.com/OCA/edi-framework",
"depends": ["account", "edi_oca", "component_event"],
"data": [
"views/account_journal.xml",
"views/res_partner.xml",
"views/account_move.xml",
"views/edi_exchange_record.xml",
],
"demo": [],
}
1 change: 1 addition & 0 deletions edi_account_oca/components/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import listener
16 changes: 16 additions & 0 deletions edi_account_oca/components/listener.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2024 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo.addons.component.core import Component


class EDIConfigAccountListener(Component):
_name = "edi.listener.config.account.move"
_inherit = "base.event.listener"
_apply_on = ["account.move"]

def on_send_via_email_account(self, record):
trigger = "on_send_via_email_account"
confs = record.partner_id.edi_account_conf_ids.edi_get_conf(trigger)
for conf in confs:
conf.edi_exec_snippet_do(record)
30 changes: 30 additions & 0 deletions edi_account_oca/i18n/edi_account.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * edi_account
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.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_account
#: model_terms:ir.ui.view,arch_db:edi_account.account_move_form_view
msgid "<span class=\"o_stat_text\">EDI</span>"
msgstr ""

#. module: edi_account
#: model_terms:ir.ui.view,arch_db:edi_account.view_account_journal_form
#: model_terms:ir.ui.view,arch_db:edi_account.view_partner_form
msgid "EDI Configuration"
msgstr ""

#. module: edi_account
#: model:ir.model,name:edi_account.model_account_move
msgid "Journal Entries"
msgstr ""
99 changes: 99 additions & 0 deletions edi_account_oca/i18n/edi_account_oca.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * edi_account_oca
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.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_account_oca
#: model_terms:ir.ui.view,arch_db:edi_account_oca.account_move_form_view
msgid "<span class=\"o_stat_text\">EDI</span>"
msgstr ""

#. module: edi_account_oca
#: model:ir.actions.act_window,name:edi_account_oca.act_open_edi_exchange_record_account_move_view
msgid "Account Moves Exchange Record"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_bank_statement_line__edi_disable_auto
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__edi_disable_auto
#: model:ir.model.fields,field_description:edi_account_oca.field_account_payment__edi_disable_auto
msgid "Disable auto"
msgstr ""

#. module: edi_account_oca
#: model_terms:ir.ui.view,arch_db:edi_account_oca.view_account_journal_form
#: model_terms:ir.ui.view,arch_db:edi_account_oca.view_partner_form
msgid "EDI Configuration"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__origin_exchange_type_id
msgid "EDI origin exchange type"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__origin_exchange_record_id
msgid "EDI origin record"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,help:edi_account_oca.field_account_move__origin_exchange_record_id
msgid "EDI record that originated this document."
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__edi_config
msgid "Edi Config"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__edi_has_form_config
msgid "Edi Has Form Config"
msgstr ""

#. module: edi_account_oca
#: model_terms:ir.ui.view,arch_db:edi_account_oca.account_move_form_view
msgid "Electronic Data Interchange"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__exchange_record_ids
msgid "Exchange Record"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__exchange_record_count
msgid "Exchange Record Count"
msgstr ""

#. module: edi_account_oca
#: model:ir.ui.menu,name:edi_account_oca.menu_account_edi_root
msgid "Exchange records"
msgstr ""

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

#. module: edi_account_oca
#: model:ir.ui.menu,name:edi_account_oca.menu_account_edi_exchange_record
msgid "Moves"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,help:edi_account_oca.field_account_bank_statement_line__edi_disable_auto
#: model:ir.model.fields,help:edi_account_oca.field_account_move__edi_disable_auto
#: model:ir.model.fields,help:edi_account_oca.field_account_payment__edi_disable_auto
msgid "When marked, EDI automatic processing will be avoided"
msgstr ""
105 changes: 105 additions & 0 deletions edi_account_oca/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * edi_account_oca
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-06-17 15:48+0000\n"
"Last-Translator: Yves Le Doeuff <[email protected]>\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: edi_account_oca
#: model_terms:ir.ui.view,arch_db:edi_account_oca.account_move_form_view
msgid "<span class=\"o_stat_text\">EDI</span>"
msgstr ""

#. module: edi_account_oca
#: model:ir.actions.act_window,name:edi_account_oca.act_open_edi_exchange_record_account_move_view
msgid "Account Moves Exchange Record"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_bank_statement_line__edi_disable_auto
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__edi_disable_auto
#: model:ir.model.fields,field_description:edi_account_oca.field_account_payment__edi_disable_auto
msgid "Disable auto"
msgstr ""

#. module: edi_account_oca
#: model_terms:ir.ui.view,arch_db:edi_account_oca.view_account_journal_form
#: model_terms:ir.ui.view,arch_db:edi_account_oca.view_partner_form
msgid "EDI Configuration"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__origin_exchange_type_id
msgid "EDI origin exchange type"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__origin_exchange_record_id
msgid "EDI origin record"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,help:edi_account_oca.field_account_move__origin_exchange_record_id
msgid "EDI record that originated this document."
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__edi_config
msgid "Edi Config"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__edi_has_form_config
msgid "Edi Has Form Config"
msgstr ""

#. module: edi_account_oca
#: model_terms:ir.ui.view,arch_db:edi_account_oca.account_move_form_view
msgid "Electronic Data Interchange"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__exchange_record_ids
msgid "Exchange Record"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,field_description:edi_account_oca.field_account_move__exchange_record_count
msgid "Exchange Record Count"
msgstr ""

#. module: edi_account_oca
#: model:ir.ui.menu,name:edi_account_oca.menu_account_edi_root
msgid "Exchange records"
msgstr ""

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

#. module: edi_account_oca
#: model:ir.ui.menu,name:edi_account_oca.menu_account_edi_exchange_record
msgid "Moves"
msgstr ""

#. module: edi_account_oca
#: model:ir.model.fields,help:edi_account_oca.field_account_bank_statement_line__edi_disable_auto
#: model:ir.model.fields,help:edi_account_oca.field_account_move__edi_disable_auto
#: model:ir.model.fields,help:edi_account_oca.field_account_payment__edi_disable_auto
msgid "When marked, EDI automatic processing will be avoided"
msgstr ""

#~ msgid "Display Name"
#~ msgstr "Nom affiché"
Loading