From b86f0081d171542a2ad3bcc9bce02c19eb5a0748 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 24 Jul 2004 23:05:19 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20champ=20account=5Fnumber=20pour=20?= =?UTF-8?q?stocker=20le=20num=E9rode=20de=20compte=20comptable=20=E0=20uti?= =?UTF-8?q?liser=20pour=20chaque=20compte=20bancaire.=20Ce=20num=E9ro=20se?= =?UTF-8?q?ra=20=E0=20choisir=20au=20moment=20de=20la=20cr=E9ation=20du=20?= =?UTF-8?q?compta=20bancaire=20parmi=20la=20liste=20des=20comptes=20compta?= =?UTF-8?q?bles=20d=E9finies=20dans=20le=20plan=20comptable=20llx=5Fc=5Fac?= =?UTF-8?q?countsystem.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mysql/migration/1.1.0-1.2.0-RC1.sql | 2 ++ mysql/tables/llx_bank_account.sql | 3 ++- pgsql/tables/llx_bank_account.sql | 8 +++++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/mysql/migration/1.1.0-1.2.0-RC1.sql b/mysql/migration/1.1.0-1.2.0-RC1.sql index 7d86d6be001..9b7d4301d40 100644 --- a/mysql/migration/1.1.0-1.2.0-RC1.sql +++ b/mysql/migration/1.1.0-1.2.0-RC1.sql @@ -50,6 +50,8 @@ alter table llx_bank_account modify bank varchar(60); alter table llx_bank_account modify domiciliation varchar(255); alter table llx_bank_account add proprio varchar(60) after domiciliation ; alter table llx_bank_account add adresse_proprio varchar(255) after proprio ; +alter table llx_bank_account add account_number varchar(8) after clos ; +update llx_bank_account set account_number = '51' where account_number is null; alter table llx_paiement add fk_bank integer NOT NULL after note ; alter table llx_paiementfourn add fk_bank integer NOT NULL after note ; diff --git a/mysql/tables/llx_bank_account.sql b/mysql/tables/llx_bank_account.sql index c50cec3c6d2..79b90d37efa 100644 --- a/mysql/tables/llx_bank_account.sql +++ b/mysql/tables/llx_bank_account.sql @@ -42,5 +42,6 @@ create table llx_bank_account proprio varchar(60), adresse_proprio varchar(255), courant smallint default 0 not null, - clos smallint default 0 not null + clos smallint default 0 not null, + account_number varchar(8) )type=innodb; diff --git a/pgsql/tables/llx_bank_account.sql b/pgsql/tables/llx_bank_account.sql index 6e5e5277b98..5aec39bf4be 100644 --- a/pgsql/tables/llx_bank_account.sql +++ b/pgsql/tables/llx_bank_account.sql @@ -1,7 +1,8 @@ -- =================================================================== -- Copyright (C) 2000-2002 Rodolphe Quiedeville --- Copyright (C) 2002-2003 Éric Seigne --- Copyright (C) 2004 Benoit Mortier +-- Copyright (C) 2002-2003 Éric Seigne +-- Copyright (C) 2004 Benoit Mortier +-- Copyright (C) 2004 Laurent Destailleur -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -39,5 +40,6 @@ create table llx_bank_account proprio varchar(60), adresse_proprio varchar(255), courant smallint default 0 not null, - clos smallint default 0 not null + clos smallint default 0 not null, + account_number varchar(8) );