IRC logs of #tryton for Wednesday, 2017-05-03

chat.freenode.net #tryton log beginning Wed May 3 00:00:01 CEST 2017
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:07
-!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton00:41
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton01:31
-!- kstenger(~karla@r190-133-239-112.dialup.adsl.anteldata.net.uy) has joined #tryton01:33
-!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton02:26
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton04:14
-!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton04:24
-!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton05:04
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton07:37
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:40
-!- JanGB(~jan@178.15.79.61) has joined #tryton07:57
-!- rpit(~rpit@aftr-37-24-150-129.unity-media.net) has joined #tryton08:26
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:52
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:10
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton09:58
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton10:04
-!- kstenger1(~karla@r186-54-20-138.dialup.adsl.anteldata.net.uy) has joined #tryton10:12
-!- thaneor(~ldlc6@r179-25-74-227.dialup.adsl.anteldata.net.uy) has joined #tryton10:43
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton11:23
-!- mariomop(~quassel@host136.190-30-5.telecom.net.ar) has joined #tryton13:02
-!- piyush(7bc9095e@gateway/web/freenode/ip.123.201.9.94) has joined #tryton13:51
piyushhow to create accepts a list of records as parameters for attachment?13:52
pokolipiyush: don't understand13:52
piyushhow tocreate a new attachment?14:06
pokolipiyush: via API? Use the create method with a list of dictionaries, each dictonari should contain the values of the fields specified by its keys14:16
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton14:16
-!- JanGB(~jan@dslb-088-073-244-178.088.073.pools.vodafone-ip.de) has joined #tryton14:46
piyushI need to know types of values & field name14:56
cedkpiyush: Please stop asking always the same question, Tryton is a generic framework, very extensible etc. So to use its API you have to look at the code of the module installed and unsertand it.15:00
cedkpiyush: All API call are based on the same design.15:01
cedkpiyush: we will not provide you any definition for a specific call, learn to find it yourself by reading the generic documentation and the implementation of the Models15:02
piyushok,thank you I am just aksing if anyone knows & try to explain my problem15:21
piyushI already trying my self before asking!15:21
-!- dmollerm(~dmollerm@170.red-80-28-119.adsl.static.ccgg.telefonica.net) has joined #tryton16:07
-!- csotelo_at_work(~csotelo@179.43.99.44) has joined #tryton16:12
csotelo_at_workhello dear coders16:19
csotelo_at_workI have an issu on adding taxes to a line on a programative way: https://pastebin.com/GRZ7v8Ps16:19
csotelo_at_workplease give me a hand16:20
csotelo_at_workis there a fast way or must I do it creating an instance for account.invoice.line-account.tax?16:22
csotelo_at_workthanks a lot16:22
cedkcsotelo_at_work: line.taxes = taxes16:22
csotelo_at_workjust that? lol16:23
csotelo_at_workcedk, thanks a lot16:33
csotelo_at_workit works as I spected16:33
csotelo_at_workthanks a alot16:33
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton16:58
-!- thaneor1(~ldlc6@179.26.1.83) has joined #tryton17:24
sisalphello, my tryton client doesn't pass through my proxy, Only me ?17:31
pokolisisalp: can I use you proxy to test it?17:32
sisalpYes it is tryton.w101.tryton-online.com17:33
sisalpport 80 is redirected to *:443 *:800017:35
-!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton17:36
sisalp gtk on tryton.w101.tryton-online.com:8044 is OK because it by-passes the proxy.17:38
pokoliI can access the tryton web interface without problems17:40
sisalppokoli: This is why I suspect a problem in my network conf or on the ssl protocol of the client. If it is supposed to work as 4.2, I have to do my homework to fix it. Thank you17:48
-!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton17:50
Pilousisalp: it seems that SSL validation behavior is different between 4.2 and 4.417:51
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has left #tryton17:51
sisalpPilou: it is the first time I install a gtk client. Up to now, I always ran it from source17:52
sisalpI get this on the proxy : tryton.w101.tryton-online.com 62.147.203.125 - - [03/May/2017:17:53:48 +0200] "GET / HTTP/1.0" 400 0 "-" "-"17:54
cedksisalp: I can connect from here17:57
cedksisalp: but there is no SSL17:58
sisalpcedk: long time ago we had to rm some keys for ssl to re-inialise. It may be the case here too17:58
cedksisalp: you do not have a valid certificate17:59
sisalpcedk: I guess I have no certificate at all :-(18:01
cedksisalp: it is a self-signed on port 44318:01
sisalpcedk : ok, probably I mixed and match things to go too fast.  thank you for pointing this.18:03
sisalpcedk: do you confirm there is no SSL on port 8000 ?18:06
cedksisalp: no there is SSL on port 800018:06
sisalpcedk: do you tell me that cert invalidity may cause the problem or should I look elsewhere ?18:10
-!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton18:11
cedksisalp: tryton client can no more connect to invalid certificate18:12
sisalpcedk: is self-signed invalid ?18:12
cedksisalp: if it is not recongnized by the OS, it is not18:15
sisalpcedk: thank you for explaination. It tell me why it doen't work. I'll have to figure out how to fix this if I need to.18:16
sisalpcedk : the limitation is that let's encrypt is limited to 20 certs/a week18:17
cedksisalp: why dont you get one certificate for *.tryton-online.com18:21
sisalpcedk: it is one of the options18:23
-!- kobain(~kobain@unaffiliated/kobain) has joined #tryton18:33
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:37
-!- JanGB(~jan@dslb-088-073-244-178.088.073.pools.vodafone-ip.de) has joined #tryton18:41
-!- JanGB1(~jan@dslb-088-073-244-178.088.073.pools.vodafone-ip.de) has joined #tryton19:26
-!- kstenger(~karla@r190-133-90-238.dialup.adsl.anteldata.net.uy) has joined #tryton19:30
sisalphi, trying to use trytond-admin to init a db, with and without --password, I don't see any difference. It prompts for password.  Is it expected ?19:44
sisalpis it possible to not set a password when initialising a db ?19:45
kstengersisalp: --password is to force asking on a second run, so it's expected19:45
sisalpkstenger: thank you, it is consistent with the documentation indeed. Will deal with it.19:47
kstengersisalp: IIRC it was possible to get a DB without admin password when you cancel or get an error on the first run, so this parameter was created to fix this19:48
sisalpkstenger: but so it is meaningless on first run.19:51
kstengersisalp: yes20:02
sisalpkstenger: in fact, not so simple to skip this password, will have a deeper thought tomorrow.20:20
sisalpkstenger: thank you20:20
kstengersisalp: do you actually want to skip it? why so?20:21
sisalpkstenger: because trytond-admin is called by a script, and I cannot prompt for a password at that level.20:22
sisalpkstenger: after the database is set, I have the opportunity to reset passwords20:23
kstengersisalp: ah, so you do not want to skip it, you want a scriptable solution :-)20:23
sisalpkstenger: I would prefer a skip, but will probably end by encoding some kind of password.20:24
kstengersisalp: did you check TRYTONPASSFILE ? It's explained in trytond-admin --help20:28
sisalpkstenger: I was trying not to do that because I'm lazy.20:34
kstengersisalp: will keep that in mind20:35
sisalpkstenger: by the way, when I add << EOF pw pw EOF, it prompts for password anyway20:36
sisalpkstenger: ;-) in fact I would prefer if creating a new db20:39
sisalphad no impact on environment.20:39
sisalpkstenger: thank you anyway20:40
cedksisalp: TRYTONPASSFILE was added specially for your use case20:47
-!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton20:47
kstengerlazyness on the other hand has no programatic solution20:47
sisalpcedk: waooo ;-) thank you and I cannot avoid it then ;-) Will make a try20:51
-!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton20:58
sisalpcedk: I have set TRYTONPASSFILE=/tmp/file and put a password in file, but still prompted. I'm missing something probably obvious20:59
sisalpcedk: added export and WORKS LIKE A CHARM !21:01
-!- smarro(~sebastian@181.16.7.104) has joined #tryton21:18
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton21:19
-!- JanGB1(~jan@dslb-088-073-244-178.088.073.pools.vodafone-ip.de) has left #tryton21:33
-!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton22:38
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton22:42
-!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton23:23

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