IRC logs of #tryton for Wednesday, 2019-11-06 #tryton log beginning Wed 06 Nov 2019 12:00:01 AM CET
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:11
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton02:11
-!- yangoon1( has joined #tryton04:11
-!- springwurm(~Springwur@ has joined #tryton07:11
-!- Timitos(~kpreisler@2001:a61:5a4:b101:762b:62ff:fe84:ed7e) has joined #tryton08:11
-!- rpit( has joined #tryton08:11
-!- mrichez( has joined #tryton08:11
-!- rpit( has joined #tryton09:11
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:11
springwurmsomething strange happens when you login to the server, with the username demo_de. warning lots of opening tabs and errors.09:11
springwurm is ok.09:11
Timitoslooks like somebody played with the actions on the user09:11
cedkspringwurm: I remove the actions09:11
cedkthere are always people putting a mess on the demo09:11
-!- nicoe(~nicoe@2a02:2788:54:5a3:7e2a:31ff:fe5e:b25d) has joined #tryton10:11
-!- mariomop(~quassel@ has joined #tryton11:11
-!- nicoe( has joined #tryton12:11
-!- sebste( has joined #tryton12:11
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?12:11
sebsteSoory I meant ingoing methods for supplier12:11
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 invoice12:11
pokolisebste: could you check that you have it correctly configured?12:11
sebstepokoli: thanks, let me check...12:11
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?12:11
sebstesorry if this is a stupid question. I tried so many things, that I am completely mixed up on that now :-D12:11
sebsteHmm: just updated server and client and ran tryton-admin. It failed with an operational error:
sebsteAfter Login I get this error:
sebsteSomehow server updates seem to not go down well with sqlite, is that true?13:11
pokolisebste: which tryton series are you running?13:11
pokolisebste: about sqilite: some features are not supported on sqlite, so I will recomend using postgres on production databases13:11
pokolisebste: we use sqlite for testing13:11
sebstejust updated to 5.4.013:11
sebsteI plan to migrate to postgres once i got everything set up. But I may be moving earlier once I got it running again.13:11
pokolisebste: from the first pasebin it seems that there is some query that is not valid on sqlite13:11
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, right13:11
pokolisebste: yes, I think it's a good idea13:11
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?13:11
pokolisebste: that should work, but I normally prefer to create a new virtualenv so you git rid of all the old dependencies13:11
pokolisebste: we now use docker so it's only a mather of update the image version and run trytond-admin13:11
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?13:11
sebsteThanks for your help, again, btw13:11
sebsteIs ther esome documentation on how to setup tryton with docker?14:11
cedksebste: yes on
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?14:11
-!- springwurm(~Springwur@ has joined #tryton14:11
sebstecedk: sorry my fault. I made a error copying the command. I 'll play with it a bit14:11
cedksebste: '$' is the char used to represent the command line prompt. It is very common practice15:11
sebstecedk: jepp, that was exactely my fault. I simply did not check.16:11
sebsteGot it to run now.16:11
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...16:11
cedksebste: in Docker world, configuration is done using environment variables17:11
cedkto load data in a dockerized postgres, you may look at
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?17:11
cedksebste: that's against the principal of docker, you do not edit inside the container but just configure it with environment variable17:11
cedksebste: every option of trytond.conf can be set with env17:11
cedksebste: check
sebsteThanks, Cedric. Maybe I'll stick with a regular local installation, for now. I admit this is a bit overwhelming for me.18:11
-!- sebste_( has joined #tryton20:11
-!- sebste_( has joined #tryton20:11
-!- sebste_( has joined #tryton20:11

Generated by 2.16.0 by Marius Gedminas - find it at!