chat.freenode.net #tryton log beginning Wed Nov 14 00:00:01 CET 2018 | ||
cedk | csotelo: the sequence attribute | 23:14 |
---|---|---|
csotelo | cedk, <tree sequence="sequence"> vs <tree>? but.. something else? sorry for the question if it looks weird, I just want to understand | 23:17 |
cedk | csotelo: yes that's the difference | 23:17 |
csotelo | cedk, and how it affect the view? | 23:17 |
cedk | csotelo: it allow DnD to order the records | 23:36 |
cedk | csotelo: http://docs.tryton.org/projects/server/en/latest/topics/views/index.html?highlight=sequence#tree | 23:36 |
csotelo | cedk, great! thanks!!} | 23:36 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:49 | |
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton | 00:32 | |
-!- thaneor(~lenovo3@179.26.10.62) has joined #tryton | 00:35 | |
-!- JanGB(~jan@ip5f5ad180.dynamic.kabel-deutschland.de) has joined #tryton | 01:17 | |
-!- JanGB(~jan@ip5f5ad180.dynamic.kabel-deutschland.de) has left #tryton | 01:44 | |
-!- yangoon1(~mathiasb@10-73-142-46.pool.kielnet.net) has joined #tryton | 03:03 | |
-!- yangoon(~mathiasb@i59F4B828.versanet.de) has joined #tryton | 04:01 | |
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton | 05:57 | |
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 06:11 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:39 | |
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 07:53 | |
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 08:58 | |
-!- rpit(~rpit@p200300C88F34F90004285E5355998F82.dip0.t-ipconnect.de) has joined #tryton | 09:01 | |
-!- rpit1(~rpit@p200300C88F34F90040BD9D9681C5292D.dip0.t-ipconnect.de) has joined #tryton | 10:40 | |
-!- mariomop(~quassel@181.93.172.107) has joined #tryton | 11:22 | |
cedk | why I prefer discuss over ML: https://groups.google.com/forum/#!topic/tryton/eGAfeCtBGvA | 11:27 |
pokoli | cedk: I thought exactly the same after seen too much replies | 11:33 |
cedk | we should start the process of closing ML | 11:36 |
mrichez | hi, in tryton 5, wizard form size is rather small : https://snag.gy/D2jbwc.jpg. Could it be improved ? | 11:48 |
cedk | mrichez: you can define an height on the Many2Many | 11:53 |
cedk | wizard takes the natural size of the content | 11:54 |
mrichez | cedk: ok thanks :-) | 11:54 |
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton | 12:26 | |
-!- thaneor1(~lenovo3@r179-25-102-128.dialup.adsl.anteldata.net.uy) has joined #tryton | 12:37 | |
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton | 13:07 | |
-!- dkellygb(~dkellygb@82-71-0-77.dsl.in-addr.zen.co.uk) has joined #tryton | 13:25 | |
-!- tafelgeschirr_(~tafelgesc@5.104.149.54) has joined #tryton | 14:14 | |
-!- mono(~mono@181.137.134.104) has joined #tryton | 14:54 | |
-!- k_valdivia(~k_valdivi@2800:200:f400:1d68:444:bd1b:3741:c87) has joined #tryton | 15:12 | |
-!- JanGB(~jan@x2f7fb98.dyn.telefonica.de) has joined #tryton | 15:31 | |
-!- csotelo(~csotelo@190.239.103.125) has joined #tryton | 15:42 | |
dkellygb | Hello Everybody, I like the concept of Tryton but I am having difficulty installing. The documentation seems very sparce. For example, we have our own Postgresql server. How do I create the database and then get the clients to see it? | 15:43 |
pokoli | dkellygb: hello and welcome aboard! Once you have the server installed you can setup your database with the following steps: http://doc.tryton.org/projects/trytond/en/latest/topics/setup_database.html#topics-setup-database | 15:44 |
dkellygb | I assume that the config file in "trytond-admin -c <config file> -d <database name> --all" is /etc/tryton/trytond.conf | 15:48 |
-!- JanGB(~jan@x2f7fb98.dyn.telefonica.de) has joined #tryton | 15:52 | |
nicoe | dkellygb: it depends how you installed tryton but indeed there's good chances it's the right file | 15:53 |
dkellygb | I updated the trytond.conf file with uri = postgresql://tryton:dave@192.168.0.6:5432/ and commmented out the Sqlite stuff. | 15:59 |
dkellygb | Then I ran the command "uri = postgresql://tryton:dave@192.168.0.6:5432/" | 16:00 |
dkellygb | I got this traceback:Traceback (most recent call last): | 16:00 |
dkellygb | File "/usr/bin/trytond-admin", line 21, in <module> | 16:00 |
dkellygb | admin.run(options) | 16:00 |
dkellygb | File "/usr/lib/python3/dist-packages/trytond/admin.py", line 24, in run | 16:00 |
dkellygb | with Transaction().start(db_name, 0, _nocache=True): | 16:00 |
dkellygb | File "/usr/lib/python3/dist-packages/trytond/transaction.py", line 88, in start | 16:00 |
dkellygb | database = Database(database_name).connect() | 16:00 |
dkellygb | File "/usr/lib/python3/dist-packages/trytond/backend/sqlite/database.py", line 251, in connect | 16:00 |
dkellygb | raise IOError('Database "%s" doesn\'t exist!' % db_filename) | 16:00 |
dkellygb | OSError: Database "tryton.sqlite" doesn't exist! | 16:00 |
dkellygb | It seems to still be looking for sqlite stuff. | 16:01 |
dkellygb | Sorry, the command I ran was: | 16:01 |
dkellygb | trytond-admin -c /etc/tryton/trytond.conf -d tryton --all | 16:01 |
nicoe | Could you run the same command with -v and post a link to a pastebin-like with your log? | 16:03 |
-!- JanGB1(~jan@x2f7fb98.dyn.telefonica.de) has joined #tryton | 16:04 | |
dkellygb | Where is the log kept? | 16:05 |
cedk | dkellygb: looks like configuration file is not readable by the user | 16:08 |
dkellygb | Do I need elevated privileges? | 16:10 |
cedk | dkellygb: no but read access to the configuration file | 16:13 |
dkellygb | Ok, I chmod the trytond.conf and it tells me psycopg2 is not installed. Give me a minute to do that. | 16:15 |
-!- JanGB(~jan@x2f7fb98.dyn.telefonica.de) has joined #tryton | 16:23 | |
dkellygb | When I run the command again, I get "psycopg2.OperationalError: FATAL: database "tryton" does not exist" Do I have to create the database first before I run the command? | 16:25 |
dkellygb | Ok, so you need to create the postgresql database first. | 16:28 |
nicoe | dkellygb: yes something along the lines "createdb -E UTF8 -T template0 name_of_your_db" (you will need to have the rights to do this) | 16:28 |
dkellygb | Yeah, I did that and it worked. | 16:41 |
dkellygb | Now, however, I can access the database using pgadmin but when I try to log in with the client, it can't see the database. | 16:41 |
dkellygb | I put 192.168.0.6:5432 in the host line and tryton in the database line and I get could not connect to server. I will try to reboot. | 16:42 |
dkellygb | Rebooting doesn't seem to help. Where do I find the logs? | 16:43 |
nicoe | Do you run trytond ? | 16:45 |
pokoli | dkellygb: you have to connect to the ip of the server using the port 8000 | 16:47 |
pokoli | dkellygb: take care that the default configuration only listens to localhost so connecting from a diferent machine will not work | 16:48 |
dkellygb | Ah, the server is the trytond server not the postgresql server? | 16:48 |
pokoli | dkellygb: see http://doc.tryton.org/projects/trytond/en/latest/topics/configuration.html#listen | 16:48 |
pokoli | dkellygb: yes, the server is trytond server | 16:48 |
pokoli | dkellygb: if you installed using distro packages it may be running as services otherwise you should start it manually | 16:49 |
-!- dkellygb(~dkellygb@82-71-0-77.dsl.in-addr.zen.co.uk) has joined #tryton | 17:00 | |
dkellygb | I am now back. I am able to get in after a reboot. I suppose the server needs a restart to read the updated conf files. | 17:00 |
pokoli | dkellygb: then the server is installed as system service so it's restarted after the reboot | 17:01 |
pokoli | dkellygb: may I ask you which SO are you using? | 17:01 |
csotelo | Hello domunity, is there some module to support more than one currency on accounting configuration | 17:29 |
csotelo | sorry for the type writing mistake | 17:29 |
csotelo | I mean, on our chart account we have accounts for local currency (PEN) and and foreign currencies (EUR/USD) but account configuration just support one currency, my question is: is possible to manage more than one currency? | 17:32 |
dkellygb | Hi pokoli, what is SO? | 17:34 |
csotelo | dkellygb, he is talking about to your operative system | 17:34 |
dkellygb | Ok, Linux Mint 19 Cinnamon. This is based on Ubuntu 18.04 Bionic. | 17:35 |
cedk | csotelo: you can not mix currencies in a chart of account, anywhere | 17:45 |
pokoli | dkellygb: then you should probably be able to restart the server with: systemctl restart trytond | 17:48 |
pokoli | dkellygb: which requires elevated privileges | 17:48 |
pokoli | csotelo: the chart of account is only managed in the local currency. The invoice module automatically managed currency conversion when using foreign currencies | 17:49 |
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 17:53 | |
-!- JanGB(~jan@x2f7fb98.dyn.telefonica.de) has joined #tryton | 18:02 | |
csotelo | cedk, on our chart account we have the accounts 121201 for posted invoices in local currency and 121202 for posted invoiced on foreign currencies | 18:20 |
pokoli | csotelo: you should convert the foreign currencies amount to the company currency amount | 18:23 |
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton | 18:38 | |
-!- k_valdivia(~k_valdivi@2800:200:f400:1d68:444:bd1b:3741:c87) has joined #tryton | 18:46 | |
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton | 19:45 | |
-!- JanGB1(~jan@dslb-088-075-074-201.088.075.pools.vodafone-ip.de) has joined #tryton | 20:02 | |
-!- JanGB1(~jan@dslb-088-075-074-201.088.075.pools.vodafone-ip.de) has left #tryton | 20:02 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 21:01 | |
-!- k_valdivia(~k_valdivi@2800:200:f400:1d68:444:bd1b:3741:c87) has joined #tryton | 21:42 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!