diff --git a/mysql/migration/2.4.0-2.5.0.sql b/mysql/migration/2.4.0-2.5.0.sql index 68b8a25b2a1..7014d0e4d75 100644 --- a/mysql/migration/2.4.0-2.5.0.sql +++ b/mysql/migration/2.4.0-2.5.0.sql @@ -78,3 +78,6 @@ alter table llx_don add import_key varchar(14); update llx_const set visible = 1, name = 'FACTURE_ENABLE_RECUR', value='1' where name = 'FACTURE_DISABLE_RECUR' and value = '0'; delete from llx_const where name = 'FACTURE_DISABLE_RECUR' and value = '1'; + +update llx_bank_account set ref = label where ref is null or ref = ''; +