From 6e28e4f26cf087b6f7b9690fa987111a1b76d672 Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" Date: Tue, 16 Oct 2018 10:24:16 +0000 Subject: [PATCH] [FIX] account: display partner.bank on journals Before this commit, when accessing journals through the menu item Bank Account, one was able to enter an partner.bank account number But, in case the partner.bank already exsited, there was no way to select it and a cryptic unicity constraint was raised After this commit, one can select an account already existing OPW 1884515 closes odoo/odoo#27840 --- addons/account/views/account_view.xml | 5 +++-- addons/sale_timesheet/views/hr_timesheet_templates.xml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/account/views/account_view.xml b/addons/account/views/account_view.xml index 88f2e59073f..e823f4d7774 100644 --- a/addons/account/views/account_view.xml +++ b/addons/account/views/account_view.xml @@ -398,8 +398,9 @@ - - + + + diff --git a/addons/sale_timesheet/views/hr_timesheet_templates.xml b/addons/sale_timesheet/views/hr_timesheet_templates.xml index 4b936897ef7..e98eefa165f 100644 --- a/addons/sale_timesheet/views/hr_timesheet_templates.xml +++ b/addons/sale_timesheet/views/hr_timesheet_templates.xml @@ -145,7 +145,7 @@ -
+