From 83f5dc8e3515a6c885b944472733ca2194d6c498 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Mon, 14 Jan 2019 11:31:16 +0100 Subject: [PATCH] [FIX] account: do not set unknow field when creating invoice The field `reference_type` has been removed with b5bb5bd421ad5c643f72602f6a0f97a4a0eb8711 Adapt newly forward-ported test to not use this field. --- addons/account/tests/test_account_customer_invoice.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/account/tests/test_account_customer_invoice.py b/addons/account/tests/test_account_customer_invoice.py index 83822ef8ffb..0906eae595b 100644 --- a/addons/account/tests/test_account_customer_invoice.py +++ b/addons/account/tests/test_account_customer_invoice.py @@ -158,7 +158,6 @@ class TestAccountCustomerInvoice(AccountTestUsers): invoice = self.env['account.invoice'].create(dict( name="Test Customer Invoice", - reference_type="none", payment_term_id=payment_term.id, journal_id=journalrec.id, partner_id=partner3.id,