Skip to content
Snippets Groups Projects
Commit 38068f81 authored by Christophe Simonis's avatar Christophe Simonis Committed by Martin Trigaux
Browse files

[FIX] account: cherry-pick of 83f5dc8e

do not set unknow field when creating invoice

The field `reference_type` has been removed with b5bb5bd4

Adapt newly forward-ported test to not use this field.

closes odoo/odoo#30255
parent b28788a8
Branches
Tags
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment