From a27488fa23c3d360a7db229b328442d515ebfd22 Mon Sep 17 00:00:00 2001 From: Mehul Patel Date: Wed, 6 Dec 2017 19:02:51 +0530 Subject: [PATCH] [FIX] l10n_generic_coa : define journal_id in the demo data creating vendor bills The default function commputing the journal_id on invoices uses the context to get the type of the invoice and choose the journal. In regular cases, it works fine, but not with demo data. Hence, we need to explicitly set the journal on them. --- addons/l10n_generic_coa/data/account_invoice_demo.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/l10n_generic_coa/data/account_invoice_demo.xml b/addons/l10n_generic_coa/data/account_invoice_demo.xml index 1f25cabae1a..a93b18c6121 100644 --- a/addons/l10n_generic_coa/data/account_invoice_demo.xml +++ b/addons/l10n_generic_coa/data/account_invoice_demo.xml @@ -118,6 +118,7 @@ none in_invoice + @@ -141,6 +142,7 @@ in_invoice + @@ -160,6 +162,7 @@ in_invoice +