[FIX] account: do not set unknow field when creating invoice

The field `reference_type` has been removed with b5bb5bd421

Adapt newly forward-ported test to not use this field.
This commit is contained in:
Christophe Simonis
2019-01-14 11:31:16 +01:00
parent 6a0675d36d
commit 83f5dc8e35
@@ -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,