Message from discussion
Party Bank information
Received: by 10.14.101.2 with SMTP id a2mr4641215eeg.6.1340712914031;
Tue, 26 Jun 2012 05:15:14 -0700 (PDT)
X-BeenThere: tryton@googlegroups.com
Received: by 10.14.150.12 with SMTP id y12ls2682eej.7.gmail; Tue, 26 Jun 2012
05:15:12 -0700 (PDT)
Received: by 10.14.28.65 with SMTP id f41mr4651419eea.11.1340712912879;
Tue, 26 Jun 2012 05:15:12 -0700 (PDT)
Received: by 10.14.28.65 with SMTP id f41mr4651418eea.11.1340712912858;
Tue, 26 Jun 2012 05:15:12 -0700 (PDT)
Return-Path: <fareshant...@gmail.com>
Received: from mail-ee0-f52.google.com (mail-ee0-f52.google.com [74.125.83.52])
by gmr-mx.google.com with ESMTPS id v14si37654666eef.2.2012.06.26.05.15.12
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 26 Jun 2012 05:15:12 -0700 (PDT)
Received-SPF: pass (google.com: domain of fareshant...@gmail.com designates 74.125.83.52 as permitted sender) client-ip=74.125.83.52;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of fareshant...@gmail.com designates 74.125.83.52 as permitted sender) smtp.mail=fareshant...@gmail.com; dkim=pass header...@gmail.com
Received: by eeke53 with SMTP id e53so1395325eek.25
for <tryton@googlegroups.com>; Tue, 26 Jun 2012 05:15:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=message-id:disposition-notification-to:date:from:user-agent
:mime-version:to:subject:references:in-reply-to:content-type
:content-transfer-encoding;
bh=8dHPCY5+zEkcacAfT18KVb7RZKMovCEcebRMrdcD+Iw=;
b=W87AgSgShYCOI8iyxqDrGo9kvR1xvXb8lhLyAmBPkxtBqGu48wPpBR4QpJ2Ax8bJU/
r7/U7xFwH5f/Qj618LrO++uAj1byrmHEWTnzKg8YNK5JCdDY42CZgtsZx8WvhOQXHNdS
pC+YQ7CJs8lW9loEgfcklGN702J/Yk5DLgtCJmBgDJ8hcJ4J5/jsjrRltbQT3h2iY/Ei
O/ohbnPlH/oPb+7EdwtAXEtSNGkDfsctlikBFlOhtWV51wEcHzeqFYAsqIxCyFDRaIqR
4SPMAkV3OcYZPK+4dNvHlGQ7OL/0Ai7IK7WnJVRb2oGrdddW93uHmOT7unWKlUdrmjbI
22+g==
Received: by 10.14.96.8 with SMTP id q8mr3080610eef.203.1340712912625;
Tue, 26 Jun 2012 05:15:12 -0700 (PDT)
Return-Path: <fareshant...@gmail.com>
Received: from [127.0.0.1] ([41.225.211.123])
by mx.google.com with ESMTPS id f56sm4835383eea.16.2012.06.26.05.15.10
(version=SSLv3 cipher=OTHER);
Tue, 26 Jun 2012 05:15:11 -0700 (PDT)
Message-ID: <4FE9A7CC.8000...@gmail.com>
Disposition-Notification-To: Fares Hantous <fareshant...@gmail.com>
Date: Tue, 26 Jun 2012 13:15:08 +0100
From: Fares Hantous <fareshant...@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: tryton@googlegroups.com
Subject: Re: [tryton] Re: Party Bank information
References: <CAPKa6ODtULUyD79ZKCDxU1PK6OhY02+qwRg4Nhfb2ku=cHc...@mail.gmail.com> <20120625154615.GI28...@tetsuo.ced.homedns.org> <CAPKa6OAAwepz5enAFpgSnUmtGyGwc679BKw3TDNVX9zHdMC...@mail.gmail.com> <2a3e50a4-aa46-467b-874d-44e7693f2...@6g2000vbv.googlegroups.com> <20120626081019.GG16...@tetsuo.ced.homedns.org> <CAPKa6OBAsPsPcVHovpm-Coje1t6yX7sYEbrVTn1isTBN=G0...@mail.gmail.com> <20120626103215.GL16...@tetsuo.ced.homedns.org> <4FE9944F.5050...@gmail.com> <20120626110033.GM16...@tetsuo.ced.homedns.org> <4FE99BF0.2090...@gmail.com> <20120626120546.GP16...@tetsuo.ced.homedns.org>
In-Reply-To: <20120626120546.GP16...@tetsuo.ced.homedns.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Le 26/06/2012 13:05, Cédric Krier a écrit :
> On 26/06/12 12:24 +0100, Fares Hantous wrote:
>> Le 26/06/2012 12:00, Cédric Krier a écrit :
>>> On 26/06/12 11:51 +0100, Fares Hantous wrote:
>>>> Le 26/06/2012 11:32, Cédric Krier a écrit :
>>>>> I mean the "Bank Account" Model must contains a list of "Account Number"
>>>>> with a type and the corresponding required fields.
>>>> After reading [1] and [2], it seems that it is possible to do that:
>>>> field1 M2O : country
>>>> field2 : key
>>>> field3 : IID
>>>> field4 : account number
>>>>
>>>> The IBAN is the concatenation : country.code + key + iid + account number
>>>> The RIB / BBAC is the concatenation : iid + account number
>>>>
>>>> This seems to be generic for all countries.
>>>>
>>>> [1] http://fr.wikipedia.org/wiki/ISO_13616
>>>> [2] http://fr.wikipedia.org/wiki/Basic_Bank_Account_Number
>>> I really think that it will be a dead end if you try to be too smart and
>>> too strict when storing such information.
>>> So the account number should be stored in a simple Char field.
>>>
>> Why?
>> This way, the user doesn't need to write twice (or 3 times) the
>> account number.
>> If you need the account number or the RIB or the IBAN, you get it.
> Because you are just speaking about a specific cases and not about
> general purpose.
>
Which case is not solved this way ?