[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
This commit is contained in:
@@ -143,6 +143,7 @@ class PaymentAcquirer(models.Model):
|
||||
fees_dom_var = fields.Float('Variable domestic fees (in percents)')
|
||||
fees_int_fixed = fields.Float('Fixed international fees')
|
||||
fees_int_var = fields.Float('Variable international fees (in percents)')
|
||||
qr_code = fields.Boolean('Use SEPA QR Code')
|
||||
|
||||
# TDE FIXME: remove that brol
|
||||
module_id = fields.Many2one('ir.module.module', string='Corresponding Module')
|
||||
|
||||
Reference in New Issue
Block a user