← Back to team overview

banking-addons-team team mailing list archive

[Merge] lp:~therp-nl/banking-addons/ba61-SCT_suitable_bank_types into lp:banking-addons/6.1

 

Stefan Rijnhart (Therp) has proposed merging lp:~therp-nl/banking-addons/ba61-SCT_suitable_bank_types into lp:banking-addons/6.1.

Requested reviews:
  Banking Addons Core Editors (banking-addons-team)

For more details, see:
https://code.launchpad.net/~therp-nl/banking-addons/ba61-SCT_suitable_bank_types/+merge/187027

Because there is no suitable bank type missing for SCT, if I create a payment with a payment mode of this type no bank account is selected on the payment order.

-- 
https://code.launchpad.net/~therp-nl/banking-addons/ba61-SCT_suitable_bank_types/+merge/187027
Your team Banking Addons Core Editors is requested to review the proposed merge of lp:~therp-nl/banking-addons/ba61-SCT_suitable_bank_types into lp:banking-addons/6.1.
=== modified file 'account_banking_sepa_credit_transfer/data/payment_type_sepa_sct.xml'
--- account_banking_sepa_credit_transfer/data/payment_type_sepa_sct.xml	2013-05-15 20:09:21 +0000
+++ account_banking_sepa_credit_transfer/data/payment_type_sepa_sct.xml	2013-09-23 13:46:19 +0000
@@ -7,7 +7,8 @@
 <record id="export_sepa_sct_001_001_04" model="payment.mode.type">
     <field name="name">SEPA Credit Transfer v04</field>
     <field name="code">pain.001.001.04</field>
-    <field name="suitable_bank_types"></field>
+    <field name="suitable_bank_types"
+           eval="[(6,0,[ref('base_iban.bank_iban')])]" />
     <field name="ir_model_id" ref="model_banking_export_sepa_wizard"/>
     <field name="payment_order_type">payment</field>
 </record>
@@ -15,7 +16,8 @@
 <record id="export_sepa_sct_001_001_03" model="payment.mode.type">
     <field name="name">SEPA Credit Transfer v03</field>
     <field name="code">pain.001.001.03</field>
-    <field name="suitable_bank_types"></field>
+    <field name="suitable_bank_types"
+           eval="[(6,0,[ref('base_iban.bank_iban')])]" />
     <field name="ir_model_id" ref="model_banking_export_sepa_wizard"/>
     <field name="payment_order_type">payment</field>
 </record>
@@ -23,7 +25,8 @@
 <record id="export_sepa_sct_001_001_02" model="payment.mode.type">
     <field name="name">SEPA Credit Transfer v02</field>
     <field name="code">pain.001.001.02</field>
-    <field name="suitable_bank_types"></field>
+    <field name="suitable_bank_types"
+           eval="[(6,0,[ref('base_iban.bank_iban')])]" />
     <field name="ir_model_id" ref="model_banking_export_sepa_wizard"/>
     <field name="payment_order_type">payment</field>
 </record>


Follow ups