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

chat.freenode.net #tryton log beginning Tue Aug 9 00:00:02 CEST 2016
-!- samsagaz(~samsagaz@70-209-114-200.fibertel.com.ar) has joined #tryton00:08
nramirezuyhey, any ideas about how can I debug this? https://dpaste.de/LhC100:47
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:50
-!- nramirezuy(~nramirezu@r167-62-118-221.dialup.adsl.anteldata.net.uy) has joined #tryton03:51
-!- samsagaz(~samsagaz@70-209-114-200.fibertel.com.ar) has joined #tryton04:55
samsagazhi 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 :/04:55
samsagazi really cant understand how works with tryton04:56
-!- VaticanCameos(~VaticanCa@182.64.193.12) has joined #tryton07:01
-!- prakashpandey_(~prakashpa@106.51.24.230) has joined #tryton07:53
-!- Michale(67fecb7c@gateway/web/freenode/ip.103.254.203.124) has joined #tryton08:01
Michalewill country & subdivisional remains same for all db?08:01
-!- rpit(~rpit@2a02:908:e674:5940:56ee:75ff:fe0d:d3c7) has joined #tryton08:21
-!- meigallodixital(~meigallod@154.16.158.14) has joined #tryton08:24
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton08:37
-!- shrox(shrox@nat/iiit/x-iddclorunlhfixar) has joined #tryton09:03
-!- afibanez(~afibanez@170.red-80-28-119.adsl.static.ccgg.telefonica.net) has joined #tryton09:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:31
pokoliMichale: country data is static09:32
-!- Timitos(~kpreisler@tmo-102-155.customers.d1-online.com) has joined #tryton09:44
-!- Timitos(~kpreisler@tmo-102-155.customers.d1-online.com) has left #tryton10:01
-!- Timitos(~kpreisler@tmo-102-155.customers.d1-online.com) has joined #tryton10:01
-!- csotelo(~csotelo@190.237.231.144) has joined #tryton11:10
-!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton12:12
csotelodear coders.. dummy question, is there a way to setup a default model value?12:22
pokolicsotelo: you mean a default value for a many2one field?12:43
csotelopokoli, no exactly but applies also on many2one12:52
pokolicsotelo: to define a default value of a many2one you must use the normal default_<field> method and return the id of the default value12:52
csotelopokoli, what about want another field as default value12:53
csotelofor example12:53
csoteloI am calling a model, then it will set the id as default. but that is no readable for a final user12:53
csotelothen when I call a model object ( like on many2one ) I want to use something like a name field, or title or something else12:54
csotelowithout writing extra code12:54
pokolicsotelo: don't understand12:54
csotelolike django12:54
pokolicsotelo: what do you mean by readable. The user does not have access to the fields?12:55
csoteloI could set a field as default name12:55
csoteloI mean.. friendly12:55
csotelofor example12:55
csoteloyo have users12:55
csoteloeach time when I call users,the default name value will be the id12:55
csotelobut that is o friendly12:56
csotelono*12:56
pokolicsotelo: are you talking about the rec_name of the field? :$12:56
csoteloI want each time I call a User, I must have name as default12:56
csoteloI guess so....12:56
csotelorec name?12:56
pokolihttp://doc.tryton.org/4.0/trytond/doc/ref/models/models.html?highlight=rec_name#trytond.model.ModelStorage.rec_name12:57
csotelothanks a lot pokoli12:57
csoteloI am reading code and studying :)12:57
csoteloon before I was copyng and replaceing or reading what I need12:57
csoteloI am taking same time for study code12:57
csotelothanks a lot12:57
pokolicsotelo: you can customize the rec_name of every model, so you can customize which is the rendered string12:58
csoteloI see12:58
csotelothanks again13:00
-!- mariomop(~quassel@host118.190-30-193.telecom.net.ar) has joined #tryton13:09
-!- mariomop(~quassel@host118.190-30-193.telecom.net.ar) has joined #tryton13:25
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton14:02
-!- samsagaz(~samsagaz@70-209-114-200.fibertel.com.ar) has joined #tryton14:16
samsagazhi 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 :/14:42
samsagazi really cant understand how works with tryton14:42
pokolisamsagaz: i don't think there is a magic tutorial14:46
pokolisamsagaz: what are you trying to achieve with tryton?14:46
samsagazi just cant install14:46
samsagazhehe14:46
samsagazi just want to test it14:46
samsagazi have a friend that sell books14:47
samsagazand need something to manage clients and orders14:47
samsagazthats all14:47
pokolisamsagaz: you can test on https://demo.tryton.org14:47
samsagazwell 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...14:49
samsagazi cant start :/14:49
samsagazthe docs that read looks confucious to me14:49
samsagaz(sorry for my english)14:49
pokolisamsagaz: you can install the tryton client (what you call the tryton software) and connect to the demo server too14:50
samsagazyes i see that14:50
samsagazbut if i need to make a new app for a friend, they will use the tryton client?14:50
pokolisamsagaz: you can make a webapp that connects to tryton without using the tryton client, but using the tryton client will be easier14:52
samsagazok. at least now i understand something more14:52
samsagazthanks14:52
pokolisamsagaz: feel free to ask anything you doubt here14:56
samsagazthanks pokoli14:57
pokolisamsagaz: you're welcome ;)14:58
-!- flachtassekasse(~flachtass@p5DD198E0.dip0.t-ipconnect.de) has joined #tryton16:09
flachtassekasseI tried to sync contacts via webdav and got this error: https://paste.ee/p/Ldd3l16:16
pokoliflachtassekasse: Which version are you using?16:17
flachtassekasse3.8.016:18
pokoliflachtassekasse: could you please open an issue on the bugtracker?  http://bugs.tryton.org/16:19
flachtassekasseok, done.16:24
pokoliflachtassekasse: so if you can contribute a patch it will be amazing :P16:27
cedkit looks like a missing classmethod decorator16:29
flachtassekassewhat i did, was to make an instance of the class, like this: address = Address() in the vcard2values function and change the Address to address.16:29
cedkflachtassekasse: it does not seem correct16:30
flachtassekasseyes16:30
flachtassekassecedk: i add the decorator, and now the error is gone.16:45
cedkflachtassekasse: please follow: http://www.tryton.org/how-to-contribute.html16:47
cedkflachtassekasse: and try to add a test16:47
flachtassekassecedk: ok i will try that.16:53
-!- JosDzG(~Thunderbi@189.148.161.118) has joined #tryton17:30
-!- samsagaz(~samsagaz@70-209-114-200.fibertel.com.ar) has joined #tryton18:04
samsagazhey guys! i get tryton running18:04
samsagaz(cant beliave it)18:04
samsagazhehe18:04
samsagazpokoli :)18:04
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:37
-!- nramirezuy(~nramirezu@r167-62-104-237.dialup.adsl.anteldata.net.uy) has joined #tryton19:24
-!- JosDzGx(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton20:04
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton21:10

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