From b6f3a9302c37e34d0b60f5b7ca2624d90b810c94 Mon Sep 17 00:00:00 2001 From: Swapnesh Shah Date: Sun, 3 Apr 2022 14:22:59 +0000 Subject: [PATCH] [FIX] account: make currency required MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Field `currency_id` is required to create payment vals at https://github.com/sswapnesh/odoo/blob/c9f08119a506dbb4c86092408cf17905ea62ab5a/addons/account/wizard/account_payment_register.py#L511. closes odoo/odoo#87900 X-original-commit: a78b3220c272158dcc18042314989c3467e2538f Signed-off-by: William André (wan) --- addons/account/wizard/account_payment_register_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account/wizard/account_payment_register_views.xml b/addons/account/wizard/account_payment_register_views.xml index 093e653c875..0d1d5dfd4db 100644 --- a/addons/account/wizard/account_payment_register_views.xml +++ b/addons/account/wizard/account_payment_register_views.xml @@ -45,6 +45,7 @@ attrs="{'invisible': ['|', ('can_edit_wizard', '=', False), '&', ('can_group_payments', '=', True), ('group_payment', '=', False)]}">