A Diumenge, 4 de desembre de 2011 23:57:49, Cédric Krier va escriure: > On 04/12/11 20:51 +0100, Mathias Behrle wrote: > > * Betr.: " [tryton-dev] Number of digits in chart of accounts creation" > > (Sun, 4 > > > > Dec 2011 19:16:23 +0100): > > > In Spain, the number of digits of account numbers is fixed for all > > > accounts (or better said, for non-view accounts). The thing is that > > > the number of fixed digits is choosen by the company so we have > > > customers that use 6 digits, others 8, others 9 and one even uses 11 > > > digits. > > > > > > This means that we do not know the exact account code until the chart > > > of accounts is created and we need to know that number in the > > > "account.account.create_chart_account" wizard. > > > > > > Let me put an example. There's the following account structure: > > > > > > 4 - (view) Acreedores y deudores => Customers and Suppliers > > > 43 - (view) Clientes => Customers > > > 430 - (view) Clientes => Customers > > > 4300 - (view) Clientes (euros) => Customers (euro) > > > 4300000 - (receivable) Clientes > > > > > > The number of zeros in the last account should depend on the number of > > > digits the company decides to work with. > > > > > > So basically what we'd need: > > > - Add a new field to "account.account.create_chart_account.account" > > > that allowed the user to select the number of digits. > > > - To be able to do is to use a special sign in the account code that > > > allowed us define codes such as "4300%" or "472%18", which would be > > > replaced by the necessary number of "0" so that the final code has the > > > required number of digits. > > > > > > Do other countries need that? Should we put that into core or better in > > > a new module? > > > > To my knowledge this (digitos subcuentas) is really a pecularity of Spain > > (Spanish language area?), at least it is not needed in the German > > language area (D-A-CH), neither Belgium nor France... For me it should > > go into a separate module. > > Agree, it is a very strange rule. (I did no see even why such rule) > By the way, are you sure it is a requirement because it sounds like a > accoutant obsession?
In fact, AFAIK it's accountant obsession, but that doesn't mean it's not a requirement :) I haven't seen a Spanish accountant that doesn't want that, so better provide it given that it's a de facto standard here. -- Albert Cervera i Areny http://www.NaN-tic.com Tel: +34 93 553 18 03 http://twitter.com/albertnan http://www.nan-tic.com/blog -- [email protected] mailing list
