IRC logs of #tryton for Thursday, 2017-01-26

chat.freenode.net #tryton log beginning Thu Jan 26 00:00:01 CET 2017
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:10
-!- johbo(~johbo@static.166.236.251.148.clients.your-server.de) has joined #tryton02:49
-!- mamcode_(~mamcode@201.208.171.171) has joined #tryton04:31
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton07:48
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton07:57
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton09:14
-!- udono(~udono@tmo-108-221.customers.d1-online.com) has joined #tryton09:20
-!- rpit(~rpit@2a02:908:e672:7480:56ee:75ff:fe0d:d3c7) has joined #tryton09:25
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton09:46
notizblockhas anyone experienced ProtocolError messages (403 FORBIDDEN) on the client the session times out (4.2.1)?09:56
notizblockseveral of our users reported this since the upgrade to 4.209:56
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:58
pokolinotizblock: not me. But you can reproduce by deleting the ir.session table, which will cause a session timeout on the next client request10:00
notizblockpokoli: thx, I'll try to reproduce10:02
pokolinotizblock: indeed the server returns 403 when there is no session: http://hg.tryton.org/trytond/file/tip/trytond/protocols/dispatcher.py#l6110:02
pokolinotizblock: so both clients should manage it. This is the case for sao http://hg.tryton.org/sao/file/tip/src/session.js#l24310:04
notizblockprevious versions just asked for the password again10:05
pokolinotizblock: yes, that's the expected behaviour10:05
pokolinotizblock: about gtk client: just tested on trunk and it's working as expected (sorry but can not find the code)10:06
notizblockpokoli: hmm, interesting.10:06
notizblockpokoli: the linux client does so as well10:08
notizblockwe use nginx in front of trytond, maybe the setup is causing issues.10:08
pokolinotizblock: I have a try with nginx proxy and it's also working correctly. I can share my config if that can help10:15
notizblockpokoli: we have a rather high session timeout (3600), I'm currently testing against the production server and see if I can reproduce with such a long timeout10:16
notizblockpokoli: sure, would be interesting to see10:17
-!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton10:18
notizblockpokoli: might be interesting to have those configs published somewhere to help people start out10:18
pokolinotizblock: you can filter by create_uid to only delete the sessions of a specific user10:18
pokolinotizblock: yes, maybe we can create some tutorials to explain how to setup trytond with nginx and wsgi10:19
cedkpokoli: I do not think there is anything special with the Tryton wsgi10:27
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton10:28
pokolicedk: nor me but it's usefull for newbies to know how to setup it in production.10:32
pokolicedk: indeed both django and flask provide such tutorial: https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ and http://flask.pocoo.org/docs/0.12/deploying/10:32
cedkpokoli: past shows that we can not support that10:58
cedkpokoli: for me, this is the best we can offer: http://doc.tryton.org/4.2/trytond/doc/topics/start_server.html#wsgi-server11:00
cedkexcept if there are something else general to say11:02
pokolicedk: I imagine notizblock issues are related to nginx and not to wsgi, but lets wait for his input11:14
-!- mariomop(~quassel@181.93.213.138) has joined #tryton12:03
-!- smarro(~sebastian@186.130.0.54) has joined #tryton12:04
notizblockworks as expected after on linux gtk12:45
notizblockthe client just asked for the password and that's it12:45
pokolinotizblock: so the issue is on windows?12:47
-!- smarro(~sebastian@186.130.0.54) has joined #tryton12:53
notizblockpokoli: don't know yet. I'll try to reproduce and report back13:21
-!- Pilou(~Pilou@rogoth.ir5.eu) has joined #tryton13:58
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton13:58
-!- buxy(~rhertzog@mail.vm.ouaza.com) has joined #tryton14:08
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton14:22
-!- thaneor(~ldlc6@r179-25-80-38.dialup.adsl.anteldata.net.uy) has joined #tryton14:28
-!- mamcode_(~mamcode@201.209.10.41) has joined #tryton16:24
-!- leio(~leio@gentoo/developer/leio) has left #tryton16:56
-!- gp(~gp@104-14-168-137.lightspeed.rcsntx.sbcglobal.net) has joined #tryton17:58
gpI tried to post to the google group but my post never appeared.  Can tryton model a manufacture to order with financing by floorplan workflow? I.e. 1) order placed by customer. 2) loan taken out against order for cost (not sale price) required to manufacture and fulfill order. 3) Order fulfilled and paid by customer for sale price. 4) Loan amount plus interest repaid. 5) interest fee recorded and used to calculate profit/margin/roi18:09
gpfor individual order and overall18:09
cedkgp: there is moderation for new posters18:11
cedkgp: I moderated your message18:11
gpcedk: that explains it! thanks =)18:12
gpCould tryton handle this use case?18:13
cedkgp: probably with some customization but I will answer on mailing list18:17
gpcedk: okay I see the message on the group now =) thanks18:18
-!- smarro(~sebastian@186.130.0.54) has joined #tryton18:51
gpcedk: I made a response but it said I am still being moderated19:27
-!- thaneor(~ldlc6@179.26.135.155) has joined #tryton22:52
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:06

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!