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

chat.freenode.net #tryton log beginning Wed May 3 00:00:01 CEST 2017
2017-05-03 00:07 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-05-03 00:41 -!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton
2017-05-03 01:31 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-05-03 01:33 -!- kstenger(~karla@r190-133-239-112.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-05-03 02:26 -!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton
2017-05-03 04:14 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2017-05-03 04:24 -!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton
2017-05-03 05:04 -!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton
2017-05-03 07:37 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2017-05-03 07:40 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-05-03 07:57 -!- JanGB(~jan@178.15.79.61) has joined #tryton
2017-05-03 08:26 -!- rpit(~rpit@aftr-37-24-150-129.unity-media.net) has joined #tryton
2017-05-03 08:52 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-05-03 09:10 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-05-03 09:58 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2017-05-03 10:04 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2017-05-03 10:12 -!- kstenger1(~karla@r186-54-20-138.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-05-03 10:43 -!- thaneor(~ldlc6@r179-25-74-227.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-05-03 11:23 -!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton
2017-05-03 13:02 -!- mariomop(~quassel@host136.190-30-5.telecom.net.ar) has joined #tryton
2017-05-03 13:51 -!- piyush(7bc9095e@gateway/web/freenode/ip.123.201.9.94) has joined #tryton
2017-05-03 13:52 <piyush> how to create accepts a list of records as parameters for attachment?
2017-05-03 13:52 <pokoli> piyush: don't understand
2017-05-03 14:06 <piyush> how tocreate a new attachment?
2017-05-03 14:16 <pokoli> piyush: via API? Use the create method with a list of dictionaries, each dictonari should contain the values of the fields specified by its keys
2017-05-03 14:16 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2017-05-03 14:46 -!- JanGB(~jan@dslb-088-073-244-178.088.073.pools.vodafone-ip.de) has joined #tryton
2017-05-03 14:56 <piyush> I need to know types of values & field name
2017-05-03 15:00 <cedk> piyush: 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.
2017-05-03 15:01 <cedk> piyush: All API call are based on the same design.
2017-05-03 15:02 <cedk> piyush: 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 Models
2017-05-03 15:21 <piyush> ok,thank you I am just aksing if anyone knows & try to explain my problem
2017-05-03 15:21 <piyush> I already trying my self before asking!
2017-05-03 16:07 -!- dmollerm(~dmollerm@170.red-80-28-119.adsl.static.ccgg.telefonica.net) has joined #tryton
2017-05-03 16:12 -!- csotelo_at_work(~csotelo@179.43.99.44) has joined #tryton
2017-05-03 16:19 <csotelo_at_work> hello dear coders
2017-05-03 16:19 <csotelo_at_work> I have an issu on adding taxes to a line on a programative way: https://pastebin.com/GRZ7v8Ps
2017-05-03 16:20 <csotelo_at_work> please give me a hand
2017-05-03 16:22 <csotelo_at_work> is there a fast way or must I do it creating an instance for account.invoice.line-account.tax?
2017-05-03 16:22 <csotelo_at_work> thanks a lot
2017-05-03 16:22 <cedk> csotelo_at_work: line.taxes = taxes
2017-05-03 16:23 <csotelo_at_work> just that? lol
2017-05-03 16:33 <csotelo_at_work> cedk, thanks a lot
2017-05-03 16:33 <csotelo_at_work> it works as I spected
2017-05-03 16:33 <csotelo_at_work> thanks a alot
2017-05-03 16:58 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2017-05-03 17:24 -!- thaneor1(~ldlc6@179.26.1.83) has joined #tryton
2017-05-03 17:31 <sisalp> hello, my tryton client doesn't pass through my proxy, Only me ?
2017-05-03 17:32 <pokoli> sisalp: can I use you proxy to test it?
2017-05-03 17:33 <sisalp> Yes it is tryton.w101.tryton-online.com
2017-05-03 17:35 <sisalp> port 80 is redirected to *:443 *:8000
2017-05-03 17:36 -!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton
2017-05-03 17:38 <sisalp> gtk on tryton.w101.tryton-online.com:8044 is OK because it by-passes the proxy.
2017-05-03 17:40 <pokoli> I can access the tryton web interface without problems
2017-05-03 17:48 <sisalp> pokoli: 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 you
2017-05-03 17:50 -!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton
2017-05-03 17:51 <Pilou> sisalp: it seems that SSL validation behavior is different between 4.2 and 4.4
2017-05-03 17:51 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has left #tryton
2017-05-03 17:52 <sisalp> Pilou: it is the first time I install a gtk client. Up to now, I always ran it from source
2017-05-03 17:54 <sisalp> I 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 "-" "-"
2017-05-03 17:57 <cedk> sisalp: I can connect from here
2017-05-03 17:58 <cedk> sisalp: but there is no SSL
2017-05-03 17:58 <sisalp> cedk: long time ago we had to rm some keys for ssl to re-inialise. It may be the case here too
2017-05-03 17:59 <cedk> sisalp: you do not have a valid certificate
2017-05-03 18:01 <sisalp> cedk: I guess I have no certificate at all :-(
2017-05-03 18:01 <cedk> sisalp: it is a self-signed on port 443
2017-05-03 18:03 <sisalp> cedk : ok, probably I mixed and match things to go too fast. thank you for pointing this.
2017-05-03 18:06 <sisalp> cedk: do you confirm there is no SSL on port 8000 ?
2017-05-03 18:06 <cedk> sisalp: no there is SSL on port 8000
2017-05-03 18:10 <sisalp> cedk: do you tell me that cert invalidity may cause the problem or should I look elsewhere ?
2017-05-03 18:11 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton
2017-05-03 18:12 <cedk> sisalp: tryton client can no more connect to invalid certificate
2017-05-03 18:12 <sisalp> cedk: is self-signed invalid ?
2017-05-03 18:15 <cedk> sisalp: if it is not recongnized by the OS, it is not
2017-05-03 18:16 <sisalp> cedk: 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.
2017-05-03 18:17 <sisalp> cedk : the limitation is that let's encrypt is limited to 20 certs/a week
2017-05-03 18:21 <cedk> sisalp: why dont you get one certificate for *.tryton-online.com
2017-05-03 18:23 <sisalp> cedk: it is one of the options
2017-05-03 18:33 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-05-03 18:37 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-05-03 18:41 -!- JanGB(~jan@dslb-088-073-244-178.088.073.pools.vodafone-ip.de) has joined #tryton
2017-05-03 19:26 -!- JanGB1(~jan@dslb-088-073-244-178.088.073.pools.vodafone-ip.de) has joined #tryton
2017-05-03 19:30 -!- kstenger(~karla@r190-133-90-238.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-05-03 19:44 <sisalp> hi, 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 ?
2017-05-03 19:45 <sisalp> is it possible to not set a password when initialising a db ?
2017-05-03 19:45 <kstenger> sisalp: --password is to force asking on a second run, so it's expected
2017-05-03 19:47 <sisalp> kstenger: thank you, it is consistent with the documentation indeed. Will deal with it.
2017-05-03 19:48 <kstenger> sisalp: 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 this
2017-05-03 19:51 <sisalp> kstenger: but so it is meaningless on first run.
2017-05-03 20:02 <kstenger> sisalp: yes
2017-05-03 20:20 <sisalp> kstenger: in fact, not so simple to skip this password, will have a deeper thought tomorrow.
2017-05-03 20:20 <sisalp> kstenger: thank you
2017-05-03 20:21 <kstenger> sisalp: do you actually want to skip it? why so?
2017-05-03 20:22 <sisalp> kstenger: because trytond-admin is called by a script, and I cannot prompt for a password at that level.
2017-05-03 20:23 <sisalp> kstenger: after the database is set, I have the opportunity to reset passwords
2017-05-03 20:23 <kstenger> sisalp: ah, so you do not want to skip it, you want a scriptable solution :-)
2017-05-03 20:24 <sisalp> kstenger: I would prefer a skip, but will probably end by encoding some kind of password.
2017-05-03 20:28 <kstenger> sisalp: did you check TRYTONPASSFILE ? It's explained in trytond-admin --help
2017-05-03 20:34 <sisalp> kstenger: I was trying not to do that because I'm lazy.
2017-05-03 20:35 <kstenger> sisalp: will keep that in mind
2017-05-03 20:36 <sisalp> kstenger: by the way, when I add << EOF pw pw EOF, it prompts for password anyway
2017-05-03 20:39 <sisalp> kstenger: ;-) in fact I would prefer if creating a new db
2017-05-03 20:39 <sisalp> had no impact on environment.
2017-05-03 20:40 <sisalp> kstenger: thank you anyway
2017-05-03 20:47 <cedk> sisalp: TRYTONPASSFILE was added specially for your use case
2017-05-03 20:47 -!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton
2017-05-03 20:47 <kstenger> lazyness on the other hand has no programatic solution
2017-05-03 20:51 <sisalp> cedk: waooo ;-) thank you and I cannot avoid it then ;-) Will make a try
2017-05-03 20:58 -!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton
2017-05-03 20:59 <sisalp> cedk: I have set TRYTONPASSFILE=/tmp/file and put a password in file, but still prompted. I'm missing something probably obvious
2017-05-03 21:01 <sisalp> cedk: added export and WORKS LIKE A CHARM !
2017-05-03 21:18 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2017-05-03 21:19 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-05-03 21:33 -!- JanGB1(~jan@dslb-088-073-244-178.088.073.pools.vodafone-ip.de) has left #tryton
2017-05-03 22:38 -!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton
2017-05-03 22:42 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2017-05-03 23:23 -!- JosDzG(~Thunderbi@189.250.99.119) has joined #tryton

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