From 9c7043d2356b239704a278ef32a2d77fb4c893a2 Mon Sep 17 00:00:00 2001 From: mreficent Date: Mon, 5 Nov 2018 15:28:39 +0100 Subject: [PATCH 01/15] [IMP] account: test data: don't define any currency on test bank journal The constraint introduced in https://github.com/odoo/odoo/commit/22f0da809e84618901b7ca4b78582abd64c03c55 raised in case the currency of the company loading the test data was also USD. --- addons/account/test/account_minimal_test.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/account/test/account_minimal_test.xml b/addons/account/test/account_minimal_test.xml index e127af9b289..5e1753efbfc 100644 --- a/addons/account/test/account_minimal_test.xml +++ b/addons/account/test/account_minimal_test.xml @@ -284,7 +284,6 @@ bank - From 5de5953ae7d60748ae7d7a2a66437d63fa8bec3f Mon Sep 17 00:00:00 2001 From: Andrea Stirpe Date: Fri, 24 Aug 2018 15:20:00 +0200 Subject: [PATCH 02/15] [FIX] account_asset: domain in multicompany In a multicompany environment, an user who has access to multiple companies is able to select accounts and analytic accounts of multiple companies. This can easily lead to mistakes in the definition of the asset category. With this commit the user can only read/select accounts and analytic accounts belonging to the company already set in the asset category. This is what is already done in most invoice or other accounting views Closes #26578 --- addons/account_asset/views/account_asset_views.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/account_asset/views/account_asset_views.xml b/addons/account_asset/views/account_asset_views.xml index f569a6b60b1..6689500c0ac 100644 --- a/addons/account_asset/views/account_asset_views.xml +++ b/addons/account_asset/views/account_asset_views.xml @@ -28,18 +28,18 @@