Create an XML chart of accounts from Tryton server

37 views
Skip to first unread message

Vincent Bastos

unread,
Mar 3, 2017, 3:32:05 AM3/3/17
to tryton
Is it possible to create an XML chart of account file from the Tryton Sever? Maybe like an export button?

Or there is no other way but to create an XML file by hand?

Sergi Almacellas Abellana

unread,
Mar 3, 2017, 3:52:41 AM3/3/17
to try...@googlegroups.com
El 03/03/17 a les 09:32, Vincent Bastos ha escrit:
> Is it possible to create an XML chart of account file from the Tryton
> Sever? Maybe like an export button?

No, there is no option to do this. Indeed the templates tables are not
thought to be modified with the client.
>
> Or there is no other way but to create an XML file by hand?

The nantic/zikzakmedia guys have developed a python script to create the
xml from some csv files:

https://bitbucket.org/trytonspain/tryton-account_es_csv2xml

But after some years of using it, I'm still thinking that
creating/editing the XML by hand is enough.



--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

Luciano Rossi

unread,
Mar 3, 2017, 8:42:46 AM3/3/17
to try...@googlegroups.com
El 03/03/17 a las 05:52, Sergi Almacellas Abellana escribió:
> El 03/03/17 a les 09:32, Vincent Bastos ha escrit:
>> Is it possible to create an XML chart of account file from the Tryton
>> Sever? Maybe like an export button?
>
> No, there is no option to do this. Indeed the templates tables are not
> thought to be modified with the client.
>>
>> Or there is no other way but to create an XML file by hand?
>
> The nantic/zikzakmedia guys have developed a python script to create the
> xml from some csv files:
>
> https://bitbucket.org/trytonspain/tryton-account_es_csv2xml
>
> But after some years of using it, I'm still thinking that
> creating/editing the XML by hand is enough.

Idem here.

Script that was developed years ago from gcoop:
https://github.com/gcoop-libre/account_coop_ar/blob/master/conversor.py

CSV example:
https://github.com/gcoop-libre/account_coop_ar/blob/master/cuentas.csv
https://github.com/gcoop-libre/account_coop_ar/blob/master/tax_ar.csv
https://github.com/gcoop-libre/account_coop_ar/blob/master/account_types.csv

Perhaps, you can use one of the scripts to create a draft of your chart
of account, and then editing the XML by hand.

Cheers!
--
Luciano Rossi - lu...@gcoop.coop
http://gcoop.coop | Cooperativa de Software Libre
Julián Alvarez 958 CABA C1414DRT +54 11 4771-0055
Reply all
Reply to author
Forward
0 new messages