Skip to content

Commit

Permalink
[IMP] l10n_do_accounting: set '%' as a safe character for DGII URL co…
Browse files Browse the repository at this point in the history
…mpose (#1070) (#1072)
  • Loading branch information
jose-pcg committed Jun 22, 2023
1 parent ef492ff commit 9118ac8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion l10n_do_accounting/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Localization",
"license": "LGPL-3",
"website": "https://github.com/odoo-dominicana",
"version": "15.0.0.10.5",
"version": "15.0.0.10.6",
# any module necessary for this one to work correctly
"depends": ["l10n_latam_invoice_document", "l10n_do"],
# always loaded
Expand Down
2 changes: 1 addition & 1 deletion l10n_do_accounting/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def _compute_l10n_do_electronic_stamp(self):
)
qr_string += "CodigoSeguridad=%s" % security_code

invoice.l10n_do_electronic_stamp = urls.url_quote_plus(qr_string)
invoice.l10n_do_electronic_stamp = urls.url_quote_plus(qr_string, safe="%")

(self - l10n_do_ecf_invoice).l10n_do_electronic_stamp = False

Expand Down

0 comments on commit 9118ac8

Please sign in to comment.