mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Move fields mandate_required and export_ascii from payment mode to payment method
Display chatter on payment orders Several small usability improvements
This commit is contained in:
committed by
Enric Tobella
parent
d417b32fb8
commit
0ed6c5f588
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data noupdate="0">
|
||||
<data noupdate="1">
|
||||
|
||||
|
||||
<record id="sepa_credit_transfer" model="account.payment.method">
|
||||
|
||||
@@ -57,11 +57,12 @@ class AccountPaymentOrder(models.Model):
|
||||
else:
|
||||
raise UserError(
|
||||
_("PAIN version '%s' is not supported.") % pain_flavor)
|
||||
xsd_file = self.payment_mode_id.payment_method_id.get_xsd_file_path()
|
||||
pay_method = self.payment_mode_id.payment_method_id
|
||||
xsd_file = pay_method.get_xsd_file_path()
|
||||
gen_args = {
|
||||
'bic_xml_tag': bic_xml_tag,
|
||||
'name_maxsize': name_maxsize,
|
||||
'convert_to_ascii': self.payment_mode_id.convert_to_ascii,
|
||||
'convert_to_ascii': pay_method.convert_to_ascii,
|
||||
'payment_method': 'TRF',
|
||||
'file_prefix': 'sct_',
|
||||
'pain_flavor': pain_flavor,
|
||||
|
||||
Reference in New Issue
Block a user