[FIX] test_invoice_refund

The test checks on empty bank account but with Odoo commit d5688e6ca0 (diff-f3712147f4b25231caa371bd83265dbe) the company bank account gets defaulted when not specified
This commit is contained in:
Raf Ven
2019-07-15 15:41:04 +02:00
committed by Thomas Binsfeld
parent 5f91a84874
commit 368ff27b1c
4 changed files with 12 additions and 1 deletions

View File

@@ -111,6 +111,9 @@ Contributors
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
* Carlos Dauden <carlos.dauden@tecnativa.com>
* `DynApps <https://www.dynapps.be>`_:
* Raf Ven <raf.ven@dynapps.be>
Maintainers
~~~~~~~~~~~

View File

@@ -9,3 +9,6 @@
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
* Carlos Dauden <carlos.dauden@tecnativa.com>
* `DynApps <https://www.dynapps.be>`_:
* Raf Ven <raf.ven@dynapps.be>

View File

@@ -456,6 +456,10 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<li>Carlos Dauden &lt;<a class="reference external" href="mailto:carlos.dauden&#64;tecnativa.com">carlos.dauden&#64;tecnativa.com</a>&gt;</li>
</ul>
</li>
<li><a class="reference external" href="https://www.dynapps.be">DynApps</a>:<ul>
<li>Raf Ven &lt;<a class="reference external" href="mailto:raf.ven&#64;dynapps.be">raf.ven&#64;dynapps.be</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">

View File

@@ -307,7 +307,8 @@ class TestAccountPaymentPartner(common.SavepointCase):
self.assertEquals(invoice_refund.payment_mode_id,
invoice.payment_mode_id)
self.assertEquals(invoice_refund.partner_bank_id,
invoice.partner_bank_id)
self.env.ref(
'account_payment_mode.main_company_iban'))
def test_partner(self):
self.customer.write({