chat.freenode.net #tryton log beginning Wed 06 Nov 2019 12:00:01 AM CET | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:09 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 01:09 | |
-!- yangoon1(~mathiasb@mue-88-130-78-245.dsl.tropolys.de) has joined #tryton | 03:56 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 06:14 | |
-!- Timitos(~kpreisler@2001:a61:5a4:b101:762b:62ff:fe84:ed7e) has joined #tryton | 07:01 | |
-!- rpit(~rpit@p200300C88F32F600A22070230F535743.dip0.t-ipconnect.de) has joined #tryton | 07:21 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 07:29 | |
-!- rpit(~rpit@p4FFB778E.dip0.t-ipconnect.de) has joined #tryton | 08:16 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:30 | |
springwurm | something strange happens when you login to the http://demo5.4.tryton.org server, with the username demo_de. warning lots of opening tabs and errors. | 08:50 |
---|---|---|
springwurm | http://demo5.2.tryton.org is ok. | 08:53 |
Timitos | looks like somebody played with the actions on the user | 08:54 |
cedk | springwurm: I remove the actions | 08:55 |
cedk | there are always people putting a mess on the demo | 08:56 |
-!- nicoe(~nicoe@2a02:2788:54:5a3:7e2a:31ff:fe5e:b25d) has joined #tryton | 09:37 | |
-!- mariomop(~quassel@181.228.29.59) has joined #tryton | 10:48 | |
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 11:03 | |
-!- sebste(~sebste@x4db3290a.dyn.telefonica.de) has joined #tryton | 11:34 | |
sebste | Good day y'all! Can I ask for a pointer? When I want to mark an invoice as paid, sometimes the paymentmethods are switched, meaning, that for a costomer invoice, I can only choose outgoing payment methods and for supplier invoice i get only outgoing payment methods to choose. Can anyone tell me how the choice list does determine which methods to display? | 11:37 |
sebste | Soory I meant ingoing methods for supplier | 11:38 |
pokoli | sebste: the only restriction I see is that the debit or credit account of the payment method should be diferent from the account of the invoice | 11:39 |
pokoli | sebste: could you check that you have it correctly configured? | 11:39 |
sebste | pokoli: thanks, let me check... | 11:41 |
sebste | pokoli: that musat be the issue. So if I understand, the customer invoice takes its account from the parties debit account, right? I thought in this case the payment methods credit account must be the same? Do you have an example? | 11:55 |
sebste | sorry if this is a stupid question. I tried so many things, that I am completely mixed up on that now :-D | 11:56 |
sebste | Hmm: just updated server and client and ran tryton-admin. It failed with an operational error: https://pastebin.com/RYcafWLu | 12:12 |
sebste | After Login I get this error: https://pastebin.com/XrBqUBG0 | 12:13 |
sebste | Somehow server updates seem to not go down well with sqlite, is that true? | 12:14 |
pokoli | sebste: which tryton series are you running? | 12:15 |
pokoli | sebste: about sqilite: some features are not supported on sqlite, so I will recomend using postgres on production databases | 12:16 |
pokoli | sebste: we use sqlite for testing | 12:16 |
sebste | just updated to 5.4.0 | 12:18 |
sebste | I plan to migrate to postgres once i got everything set up. But I may be moving earlier once I got it running again. | 12:19 |
pokoli | sebste: from the first pasebin it seems that there is some query that is not valid on sqlite | 12:21 |
sebste | pokoli: So, what do you think - would it make sense to setup a postgres db, use the migration script from cedric to migrate a backup sqlite db to postgres and then run trytond-admin on the postgres db? Could kill two birds with one stone, right | 12:25 |
pokoli | sebste: yes, I think it's a good idea | 12:26 |
sebste | what is the recommended update method enyway? I used pip3 install --upgrade on trytond and all the trytond-modules and ran trytond-admin afterwards. is there a better way? | 12:27 |
pokoli | sebste: that should work, but I normally prefer to create a new virtualenv so you git rid of all the old dependencies | 12:40 |
pokoli | sebste: we now use docker so it's only a mather of update the image version and run trytond-admin | 12:40 |
sebste | I was struggling to get it running with docker for some reason in the past. But maybe I should be looking into it again. Will modified template files be keept when updating a docker image? | 12:42 |
sebste | Thanks for your help, again, btw | 12:43 |
sebste | Is ther esome documentation on how to setup tryton with docker? | 13:00 |
cedk | sebste: yes on https://hub.docker.com/r/tryton/tryton/ | 13:02 |
sebste | cedk: thank you, I have read that one, but already the first command fails with "$: command not found". I have installe docker and docker pulled tryton/tryton. Is there anything else I need to install / pull? | 13:06 |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 13:07 | |
sebste | cedk: sorry my fault. I made a error copying the command. I 'll play with it a bit | 13:12 |
cedk | sebste: '$' is the char used to represent the command line prompt. It is very common practice | 14:22 |
sebste | cedk: jepp, that was exactely my fault. I simply did not check. | 15:56 |
sebste | Got it to run now. | 15:56 |
sebste | Now I just need to figure out where the configfiles are located how to get my database into the pgsqlserver inside docker using your migration script... | 15:58 |
cedk | sebste: in Docker world, configuration is done using environment variables | 16:06 |
cedk | see http://docs.tryton.org/projects/server/en/latest/topics/configuration.html#topics-configuration | 16:06 |
cedk | to load data in a dockerized postgres, you may look at http://hg.tryton.org/tryton-docker-demo/file/tip/update.sh#l18 | 16:07 |
sebste | Well, I sort of have a tryton.conf. Couldn't I reuse it in the docker image and edit it to use the postgresql db? | 16:29 |
cedk | sebste: that's against the principal of docker, you do not edit inside the container but just configure it with environment variable | 16:56 |
cedk | sebste: every option of trytond.conf can be set with env | 16:56 |
cedk | sebste: check http://hg.tryton.org/tryton-docker-demo/file/tip/5.4.env | 16:57 |
sebste | Thanks, Cedric. Maybe I'll stick with a regular local installation, for now. I admit this is a bit overwhelming for me. | 17:03 |
-!- sebste_(~sebste@x4db3290a.dyn.telefonica.de) has joined #tryton | 19:13 | |
-!- sebste_(~sebste@x4db3290a.dyn.telefonica.de) has joined #tryton | 19:53 | |
-!- sebste_(~sebste@x4db3290a.dyn.telefonica.de) has joined #tryton | 19:54 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!