From ffe58a56bf78f37d8b62e028b262c7e7b42f6e1a Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Wed, 24 Jul 2019 12:48:06 +0000 Subject: [PATCH] [FIX] purchase: Saving PO with a foreign currency Steps to reproduce the bug: - Create a company C with currency = USD - Create a vendor V with a supplier currency = EUR - Create a PO for V with one line, the default currency is EUR - Save Bug: The currency of the PO was USD when saving because the field currency is in readonly when the state is draft. opw:2035640 closes odoo/odoo#35144 Signed-off-by: Simon Goffin (sig) --- addons/purchase/views/purchase_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/purchase/views/purchase_views.xml b/addons/purchase/views/purchase_views.xml index fa25e1e3dee..f62bd34eb57 100644 --- a/addons/purchase/views/purchase_views.xml +++ b/addons/purchase/views/purchase_views.xml @@ -169,7 +169,7 @@ placeholder="Name, TIN, Email, or Reference" /> - +