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

[14.0][FIX]edi check: fix type #210

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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:3429869a9ad1356c420acbe14d3c47a7ef344d7e41aaabd2b1d70f56a7df9d4c
!! source digest: sha256:c34e53f7b6ba5f0bccb91b1c3aeff5f86b2bd7017fd061b9c2a704b3d53f3fb8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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.2",
"version": "14.0.0.1.3",
"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 and invoice.type == "out_invoice":
if get_all_banks and invoice.move_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:3429869a9ad1356c420acbe14d3c47a7ef344d7e41aaabd2b1d70f56a7df9d4c
!! source digest: sha256:c34e53f7b6ba5f0bccb91b1c3aeff5f86b2bd7017fd061b9c2a704b3d53f3fb8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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
Loading