IRC logs of #tryton for Tuesday, 2016-08-09

chat.freenode.net #tryton log beginning Tue Aug 9 00:00:02 CEST 2016
2016-08-09 00:08 -!- samsagaz(~samsagaz@70-209-114-200.fibertel.com.ar) has joined #tryton
2016-08-09 00:47 <nramirezuy> hey, any ideas about how can I debug this? https://dpaste.de/LhC1
2016-08-09 00:50 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-08-09 03:51 -!- nramirezuy(~nramirezu@r167-62-118-221.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-08-09 04:55 -!- samsagaz(~samsagaz@70-209-114-200.fibertel.com.ar) has joined #tryton
2016-08-09 04:55 <samsagaz> hi guys, someon eknow some good tutorial about tryton, i try a few that i found but get a lot of troubles to get it working :/
2016-08-09 04:56 <samsagaz> i really cant understand how works with tryton
2016-08-09 07:01 -!- VaticanCameos(~VaticanCa@182.64.193.12) has joined #tryton
2016-08-09 07:53 -!- prakashpandey_(~prakashpa@106.51.24.230) has joined #tryton
2016-08-09 08:01 -!- Michale(67fecb7c@gateway/web/freenode/ip.103.254.203.124) has joined #tryton
2016-08-09 08:01 <Michale> will country & subdivisional remains same for all db?
2016-08-09 08:21 -!- rpit(~rpit@2a02:908:e674:5940:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-08-09 08:24 -!- meigallodixital(~meigallod@154.16.158.14) has joined #tryton
2016-08-09 08:37 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-08-09 09:03 -!- shrox(shrox@nat/iiit/x-iddclorunlhfixar) has joined #tryton
2016-08-09 09:10 -!- afibanez(~afibanez@170.red-80-28-119.adsl.static.ccgg.telefonica.net) has joined #tryton
2016-08-09 09:31 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-08-09 09:32 <pokoli> Michale: country data is static
2016-08-09 09:44 -!- Timitos(~kpreisler@tmo-102-155.customers.d1-online.com) has joined #tryton
2016-08-09 10:01 -!- Timitos(~kpreisler@tmo-102-155.customers.d1-online.com) has left #tryton
2016-08-09 10:01 -!- Timitos(~kpreisler@tmo-102-155.customers.d1-online.com) has joined #tryton
2016-08-09 11:10 -!- csotelo(~csotelo@190.237.231.144) has joined #tryton
2016-08-09 12:12 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton
2016-08-09 12:22 <csotelo> dear coders.. dummy question, is there a way to setup a default model value?
2016-08-09 12:43 <pokoli> csotelo: you mean a default value for a many2one field?
2016-08-09 12:52 <csotelo> pokoli, no exactly but applies also on many2one
2016-08-09 12:52 <pokoli> csotelo: to define a default value of a many2one you must use the normal default_<field> method and return the id of the default value
2016-08-09 12:53 <csotelo> pokoli, what about want another field as default value
2016-08-09 12:53 <csotelo> for example
2016-08-09 12:53 <csotelo> I am calling a model, then it will set the id as default. but that is no readable for a final user
2016-08-09 12:54 <csotelo> then when I call a model object ( like on many2one ) I want to use something like a name field, or title or something else
2016-08-09 12:54 <csotelo> without writing extra code
2016-08-09 12:54 <pokoli> csotelo: don't understand
2016-08-09 12:54 <csotelo> like django
2016-08-09 12:55 <pokoli> csotelo: what do you mean by readable. The user does not have access to the fields?
2016-08-09 12:55 <csotelo> I could set a field as default name
2016-08-09 12:55 <csotelo> I mean.. friendly
2016-08-09 12:55 <csotelo> for example
2016-08-09 12:55 <csotelo> yo have users
2016-08-09 12:55 <csotelo> each time when I call users,the default name value will be the id
2016-08-09 12:56 <csotelo> but that is o friendly
2016-08-09 12:56 <csotelo> no*
2016-08-09 12:56 <pokoli> csotelo: are you talking about the rec_name of the field? :$
2016-08-09 12:56 <csotelo> I want each time I call a User, I must have name as default
2016-08-09 12:56 <csotelo> I guess so....
2016-08-09 12:56 <csotelo> rec name?
2016-08-09 12:57 <pokoli> http://doc.tryton.org/4.0/trytond/doc/ref/models/models.html?highlight=rec_name#trytond.model.ModelStorage.rec_name
2016-08-09 12:57 <csotelo> thanks a lot pokoli
2016-08-09 12:57 <csotelo> I am reading code and studying :)
2016-08-09 12:57 <csotelo> on before I was copyng and replaceing or reading what I need
2016-08-09 12:57 <csotelo> I am taking same time for study code
2016-08-09 12:57 <csotelo> thanks a lot
2016-08-09 12:58 <pokoli> csotelo: you can customize the rec_name of every model, so you can customize which is the rendered string
2016-08-09 12:58 <csotelo> I see
2016-08-09 13:00 <csotelo> thanks again
2016-08-09 13:09 -!- mariomop(~quassel@host118.190-30-193.telecom.net.ar) has joined #tryton
2016-08-09 13:25 -!- mariomop(~quassel@host118.190-30-193.telecom.net.ar) has joined #tryton
2016-08-09 14:02 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-08-09 14:16 -!- samsagaz(~samsagaz@70-209-114-200.fibertel.com.ar) has joined #tryton
2016-08-09 14:42 <samsagaz> hi guys, someon eknow some good tutorial about tryton, i try a few that i found but get a lot of troubles to get it working :/
2016-08-09 14:42 <samsagaz> i really cant understand how works with tryton
2016-08-09 14:46 <pokoli> samsagaz: i don't think there is a magic tutorial
2016-08-09 14:46 <pokoli> samsagaz: what are you trying to achieve with tryton?
2016-08-09 14:46 <samsagaz> i just cant install
2016-08-09 14:46 <samsagaz> hehe
2016-08-09 14:46 <samsagaz> i just want to test it
2016-08-09 14:47 <samsagaz> i have a friend that sell books
2016-08-09 14:47 <samsagaz> and need something to manage clients and orders
2016-08-09 14:47 <samsagaz> thats all
2016-08-09 14:47 <pokoli> samsagaz: you can test on https://demo.tryton.org
2016-08-09 14:49 <samsagaz> well let me ask something if i need to build a new app, need to use the tryton software (the one that i need to set an profile, username, password...
2016-08-09 14:49 <samsagaz> i cant start :/
2016-08-09 14:49 <samsagaz> the docs that read looks confucious to me
2016-08-09 14:49 <samsagaz> (sorry for my english)
2016-08-09 14:50 <pokoli> samsagaz: you can install the tryton client (what you call the tryton software) and connect to the demo server too
2016-08-09 14:50 <samsagaz> yes i see that
2016-08-09 14:50 <samsagaz> but if i need to make a new app for a friend, they will use the tryton client?
2016-08-09 14:52 <pokoli> samsagaz: you can make a webapp that connects to tryton without using the tryton client, but using the tryton client will be easier
2016-08-09 14:52 <samsagaz> ok. at least now i understand something more
2016-08-09 14:52 <samsagaz> thanks
2016-08-09 14:56 <pokoli> samsagaz: feel free to ask anything you doubt here
2016-08-09 14:57 <samsagaz> thanks pokoli
2016-08-09 14:58 <pokoli> samsagaz: you're welcome ;)
2016-08-09 16:09 -!- flachtassekasse(~flachtass@p5DD198E0.dip0.t-ipconnect.de) has joined #tryton
2016-08-09 16:16 <flachtassekasse> I tried to sync contacts via webdav and got this error: https://paste.ee/p/Ldd3l
2016-08-09 16:17 <pokoli> flachtassekasse: Which version are you using?
2016-08-09 16:18 <flachtassekasse> 3.8.0
2016-08-09 16:19 <pokoli> flachtassekasse: could you please open an issue on the bugtracker? http://bugs.tryton.org/
2016-08-09 16:24 <flachtassekasse> ok, done.
2016-08-09 16:27 <pokoli> flachtassekasse: so if you can contribute a patch it will be amazing :P
2016-08-09 16:29 <cedk> it looks like a missing classmethod decorator
2016-08-09 16:29 <flachtassekasse> what i did, was to make an instance of the class, like this: address = Address() in the vcard2values function and change the Address to address.
2016-08-09 16:30 <cedk> flachtassekasse: it does not seem correct
2016-08-09 16:30 <flachtassekasse> yes
2016-08-09 16:45 <flachtassekasse> cedk: i add the decorator, and now the error is gone.
2016-08-09 16:47 <cedk> flachtassekasse: please follow: http://www.tryton.org/how-to-contribute.html
2016-08-09 16:47 <cedk> flachtassekasse: and try to add a test
2016-08-09 16:53 <flachtassekasse> cedk: ok i will try that.
2016-08-09 17:30 -!- JosDzG(~Thunderbi@189.148.161.118) has joined #tryton
2016-08-09 18:04 -!- samsagaz(~samsagaz@70-209-114-200.fibertel.com.ar) has joined #tryton
2016-08-09 18:04 <samsagaz> hey guys! i get tryton running
2016-08-09 18:04 <samsagaz> (cant beliave it)
2016-08-09 18:04 <samsagaz> hehe
2016-08-09 18:04 <samsagaz> pokoli :)
2016-08-09 18:37 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-08-09 19:24 -!- nramirezuy(~nramirezu@r167-62-104-237.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-08-09 20:04 -!- JosDzGx(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton
2016-08-09 21:10 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton

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