From a6026eb71d77172249c4f0e9c08ccaf85c038f74 Mon Sep 17 00:00:00 2001 From: william Date: Tue, 14 Apr 2020 14:04:46 +0000 Subject: [PATCH] [FIX] account: default account in form The default account was never set when adding a new line because the key was missing from overriden context closes odoo/odoo#49583 X-original-commit: a0f0b5e4f3e569e6bb217c1243a705e180970219 Signed-off-by: wan Signed-off-by: Laurent Smet --- addons/account/views/account_move_views.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 80e769da0cd..62ad2bfc10b 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -681,7 +681,7 @@ + context="{'default_move_type': context.get('default_move_type'), 'journal_id': journal_id, 'default_partner_id': commercial_partner_id, 'default_currency_id': currency_id != company_currency_id and currency_id or False}"> @@ -879,7 +879,7 @@ This entry has been generated through the Invoicing app, before installing Accounting. Its balance has been imported separately.