Skip to content

Commit

Permalink
Merge pull request #209 from dhongu/14.0-edi-check
Browse files Browse the repository at this point in the history
[14.0][FIX] edi check: fix conturi multiple doar in out_invoice
  • Loading branch information
danila12 authored Sep 4, 2024
2 parents 7cf4fdb + 3ec0c09 commit 141efdc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion l10n_ro_edi_check/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Romania - EDI data check
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b2547500a5868eb84e712579d3a34e9002e173bbc479858fe28aa11ea96401cb
!! source digest: sha256:3429869a9ad1356c420acbe14d3c47a7ef344d7e41aaabd2b1d70f56a7df9d4c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion l10n_ro_edi_check/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Romania - EDI data check",
"license": "AGPL-3",
"version": "14.0.0.1.1",
"version": "14.0.0.1.2",
"author": "Terrabit," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-romania",
"category": "Tools",
Expand Down
2 changes: 1 addition & 1 deletion l10n_ro_edi_check/models/account_edi_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _get_invoice_payment_means_vals_list(self, invoice):
get_param = self.env["ir.config_parameter"].sudo().get_param
get_all_banks = get_param("l10n_ro_edi_check.get_all_banks", "False")
get_all_banks = safe_eval(get_all_banks)
if get_all_banks:
if get_all_banks and invoice.type == "out_invoice":
domain = [("l10n_ro_print_report", "=", True), ("currency_id", "=", invoice.company_id.currency_id.id)]
banks = self.env["res.partner.bank"].search(domain)
if banks:
Expand Down
2 changes: 1 addition & 1 deletion l10n_ro_edi_check/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ <h1 class="title">Romania - EDI data check</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b2547500a5868eb84e712579d3a34e9002e173bbc479858fe28aa11ea96401cb
!! source digest: sha256:3429869a9ad1356c420acbe14d3c47a7ef344d7e41aaabd2b1d70f56a7df9d4c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/dhongu/l10n-romania/tree/15.0/l10n_ro_edi_check"><img alt="dhongu/l10n-romania" src="https://img.shields.io/badge/github-dhongu%2Fl10n--romania-lightgray.png?logo=github" /></a></p>
<blockquote>
Expand Down

0 comments on commit 141efdc

Please sign in to comment.