summaryrefslogtreecommitdiff
path: root/addons/payment/views/payment_views.xml
diff options
context:
space:
mode:
authorsed-odoo <sed@odoo.com>2018-09-04 08:34:41 +0200
committersed-odoo <sed@odoo.com>2018-09-20 09:41:06 +0200
commit3a883e67287cbf0c93a746bc2080b897f2c87bfa (patch)
tree86924a931dc0045143646cc0c1d0e198dc09339b /addons/payment/views/payment_views.xml
parentc59d6d2329494705a5f9dd5ef6a1b0e2c43f8e38 (diff)
[IMP] l10n_ch,account,website_sale: Add SwissQR Code on invoice and improve the SEPA QR Code usability
Purpose ======= - Add the SwissQR Code on the invoice in aim to replace the actual ISR - Improve the settings of the SEPA QR Code to make it more user friendly Specifications ============== - ln_ch: - Add a SwissQR Code on the invoice to fit the Switzerland QR-Bill Format - Use the "partner_bank_id" field to generate the QR Code - Add function to get the address number out of the field "street" and "street2" - account: - Remove the SEPA QR Code's journal settings from the general setting - Display the "partner_bank_id" field on the invoice "Other info" page - Use the "partner_bank_id" field to generate the QR Code - website_sale: - Add a check box on the payment acquirers to use the SEPA QR Code on the e-commerce - Use the payment acquirer "journal_id" field to generate the SEPA QR Code
Diffstat (limited to 'addons/payment/views/payment_views.xml')
-rw-r--r--addons/payment/views/payment_views.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/payment/views/payment_views.xml b/addons/payment/views/payment_views.xml
index 913e828e8e2..1a92edccfe3 100644
--- a/addons/payment/views/payment_views.xml
+++ b/addons/payment/views/payment_views.xml
@@ -91,6 +91,7 @@
<field name="fees_int_fixed" attrs="{'invisible': [('fees_active', '=', False)]}"/>
<field name="fees_int_var" attrs="{'invisible': [('fees_active', '=', False)]}"/>
<field name="specific_countries"/>
+ <field name="qr_code" attrs="{'invisible': [('provider', '!=', 'transfer')]}"/>
<field name="country_ids" widget="many2many_tags" attrs="{'invisible': [('specific_countries', '=', False)]}"/>
<label for="view_template_id" groups="base.group_no_one"/>
<div groups="base.group_no_one">