OCA / l10n-switzerland

Odoo Swiss localization
GNU Affero General Public License v3.0
53 stars 163 forks source link

[10.0] l10n_ch_qr_bill: Fix _get_communications #601

Closed grindtildeath closed 3 years ago

grindtildeath commented 3 years ago

_get_communications function defines the reference and reference_type to be used in the generation of the QR bill.

has_qrr only checks if the reference is defined in the name field of account.invoice. But the reference is displayed on the report if the bank account is set up for QR bill.

This allows to generate QR XML properly even if the name field is empty on customer invoices.

grindtildeath commented 3 years ago

ping @yvaucher

yvaucher commented 3 years ago

/ocabot merge patch

OCA-git-bot commented 3 years ago

What a great day to merge this nice PR. Let's do it! Prepared branch 10.0-ocabot-merge-pr-601-by-yvaucher-bump-patch, awaiting test results.

OCA-git-bot commented 3 years ago

Congratulations, your PR was merged at 496fa84b02def55b8c08d2db2759c0908dbda2bd. Thanks a lot for contributing to OCA. ❤️