From 488715260efcef68d977e4d59101d3db0cd1384a Mon Sep 17 00:00:00 2001 From: Nicolas Micoud <58596990+nmicoud@users.noreply.github.com> Date: Thu, 30 Sep 2021 13:21:21 +0200 Subject: [PATCH] IDEMPIERE-4983 : Fix Russian Ruble currency (#903) * IDEMPIERE-4983 : Fix Russian Ruble currency update currency currency code from RUR to RUB --- migration/i8.2z/oracle/202109271700_IDEMPIERE-4983.sql | 10 ++++++++++ .../i8.2z/postgresql/202109271700_IDEMPIERE-4983.sql | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 migration/i8.2z/oracle/202109271700_IDEMPIERE-4983.sql create mode 100644 migration/i8.2z/postgresql/202109271700_IDEMPIERE-4983.sql diff --git a/migration/i8.2z/oracle/202109271700_IDEMPIERE-4983.sql b/migration/i8.2z/oracle/202109271700_IDEMPIERE-4983.sql new file mode 100644 index 0000000000..e8919884d2 --- /dev/null +++ b/migration/i8.2z/oracle/202109271700_IDEMPIERE-4983.sql @@ -0,0 +1,10 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-4983 +-- Sep 27, 2021, 5:00:28 PM CEST +UPDATE C_Currency SET ISO_Code = 'RUB',Updated=TO_DATE('2021-09-27 17:02:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE C_Currency_ID=155 +; + +SELECT register_migration_script('202109271700_IDEMPIERE-4983.sql') FROM dual +; diff --git a/migration/i8.2z/postgresql/202109271700_IDEMPIERE-4983.sql b/migration/i8.2z/postgresql/202109271700_IDEMPIERE-4983.sql new file mode 100644 index 0000000000..2a653452bf --- /dev/null +++ b/migration/i8.2z/postgresql/202109271700_IDEMPIERE-4983.sql @@ -0,0 +1,7 @@ +-- IDEMPIERE-4983 +-- Sep 27, 2021, 5:00:28 PM CEST +UPDATE C_Currency SET ISO_Code = 'RUB',Updated=TO_TIMESTAMP('2021-09-27 17:02:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE C_Currency_ID=155 +; + +SELECT register_migration_script('202109271700_IDEMPIERE-4983.sql') FROM dual +;