IRC logs of #tryton for Wednesday, 2019-11-06

chat.freenode.net #tryton log beginning Wed 06 Nov 2019 12:00:01 AM CET
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:09
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton01:09
-!- yangoon1(~mathiasb@mue-88-130-78-245.dsl.tropolys.de) has joined #tryton03:56
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton06:14
-!- Timitos(~kpreisler@2001:a61:5a4:b101:762b:62ff:fe84:ed7e) has joined #tryton07:01
-!- rpit(~rpit@p200300C88F32F600A22070230F535743.dip0.t-ipconnect.de) has joined #tryton07:21
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton07:29
-!- rpit(~rpit@p4FFB778E.dip0.t-ipconnect.de) has joined #tryton08:16
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:30
springwurmsomething 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
springwurmhttp://demo5.2.tryton.org is ok.08:53
Timitoslooks like somebody played with the actions on the user08:54
cedkspringwurm: I remove the actions08:55
cedkthere are always people putting a mess on the demo08:56
-!- nicoe(~nicoe@2a02:2788:54:5a3:7e2a:31ff:fe5e:b25d) has joined #tryton09:37
-!- mariomop(~quassel@181.228.29.59) has joined #tryton10:48
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton11:03
-!- sebste(~sebste@x4db3290a.dyn.telefonica.de) has joined #tryton11:34
sebsteGood 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
sebsteSoory I meant ingoing methods for supplier11:38
pokolisebste: the only restriction I see is that the debit or credit account of the payment method should be diferent from the account of the invoice11:39
pokolisebste: could you check that you have it correctly configured?11:39
sebstepokoli: thanks, let me check...11:41
sebstepokoli: 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
sebstesorry if this is a stupid question. I tried so many things, that I am completely mixed up on that now :-D11:56
sebsteHmm: just updated server and client and ran tryton-admin. It failed with an operational error: https://pastebin.com/RYcafWLu12:12
sebsteAfter Login I get this error: https://pastebin.com/XrBqUBG012:13
sebsteSomehow server updates seem to not go down well with sqlite, is that true?12:14
pokolisebste: which tryton series are you running?12:15
pokolisebste: about sqilite: some features are not supported on sqlite, so I will recomend using postgres on production databases12:16
pokolisebste: we use sqlite for testing12:16
sebstejust updated to 5.4.012:18
sebsteI 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
pokolisebste: from the first pasebin it seems that there is some query that is not valid on sqlite12:21
sebstepokoli: 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, right12:25
pokolisebste: yes, I think it's a good idea12:26
sebstewhat 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
pokolisebste: that should work, but I normally prefer to create a new virtualenv so you git rid of all the old dependencies12:40
pokolisebste: we now use docker so it's only a mather of update the image version and run trytond-admin12:40
sebsteI 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
sebsteThanks for your help, again, btw12:43
sebsteIs ther esome documentation on how to setup tryton with docker?13:00
cedksebste: yes on https://hub.docker.com/r/tryton/tryton/13:02
sebstecedk: 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 #tryton13:07
sebstecedk: sorry my fault. I made a error copying the command. I 'll play with it a bit13:12
cedksebste: '$' is the char used to represent the command line prompt. It is very common practice14:22
sebstecedk: jepp, that was exactely my fault. I simply did not check.15:56
sebsteGot it to run now.15:56
sebsteNow 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
cedksebste: in Docker world, configuration is done using environment variables16:06
cedksee http://docs.tryton.org/projects/server/en/latest/topics/configuration.html#topics-configuration16:06
cedkto load data in a dockerized postgres, you may look at http://hg.tryton.org/tryton-docker-demo/file/tip/update.sh#l1816:07
sebsteWell, 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
cedksebste: that's against the principal of docker, you do not edit inside the container but just configure it with environment variable16:56
cedksebste: every option of trytond.conf can be set with env16:56
cedksebste: check http://hg.tryton.org/tryton-docker-demo/file/tip/5.4.env16:57
sebsteThanks, 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 #tryton19:13
-!- sebste_(~sebste@x4db3290a.dyn.telefonica.de) has joined #tryton19:53
-!- sebste_(~sebste@x4db3290a.dyn.telefonica.de) has joined #tryton19:54

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!