[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user