IRC logs of #tryton for Wednesday, 2016-01-20

chat.freenode.net #tryton log beginning Wed Jan 20 00:00:01 CET 2016
-!- smarro(~sebastian@190.48.239.127) has joined #tryton01:05
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:21
-!- smarro(~sebastian@190.48.239.127) has joined #tryton02:11
-!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton02:34
-!- zodman_(~zodman@187.189.156.23) has joined #tryton04:18
-!- yangoon1(~mathiasb@p549F0336.dip0.t-ipconnect.de) has joined #tryton06:01
-!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton07:06
-!- frispete(~frispete@p54A9181D.dip0.t-ipconnect.de) has joined #tryton07:40
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton07:54
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:49
-!- frispete(~frispete@p54A9181D.dip0.t-ipconnect.de) has joined #tryton09:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:10
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton09:17
-!- utente(~utente@net-2-36-184-95.cust.vodafonedsl.it) has joined #tryton09:39
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton09:59
-!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton10:09
-!- utente(~utente@host55-73-dynamic.244-95-r.retail.telecomitalia.it) has joined #tryton10:10
-!- nicoe(~nicoe@2001:6f8:3aa:2:ee55:f9ff:fe7b:f7ac) has joined #tryton10:10
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton10:33
-!- leio(~leio@gentoo/developer/leio) has joined #tryton10:38
-!- leio(~leio@gentoo/developer/leio) has joined #tryton11:06
-!- leio(~leio@gentoo/developer/leio) has joined #tryton11:38
-!- csotelo(~csotelo@201.240.152.28) has joined #tryton11:49
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton11:57
-!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton12:00
-!- mariomop(~quassel@host23.190-137-202.telecom.net.ar) has joined #tryton12:04
-!- leio(~leio@gentoo/developer/leio) has joined #tryton13:21
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton13:26
-!- clews(~cch@www.lycee.asn-wien.ac.at) has joined #tryton13:45
-!- bvillasanti(~bvillasan@190.105.71.186) has joined #tryton14:39
-!- dj_xatra_(~dj_xatra@217.166.83.130) has joined #tryton14:46
-!- flox(~florent@unaffiliated/flox) has joined #tryton15:02
-!- woakas(~woakas@static.15.240.46.78.clients.your-server.de) has joined #tryton15:02
-!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton15:03
csotelodear coders, I ma trying to do inheritance on a wizard without sucess, is possible to do that?16:02
cedkcsotelo: yes it is possible16:05
csotelothanks for the answer,  I just to know that for continue on searching my error, thanks a lot16:06
cedkcsotelo: indeed there is no difference with Model16:08
cedkcsotelo: it is the exact same code that does it16:08
csotelobut the wizard that I am using, is no declarated on the tryton.cfg probaly I am missunderstanding something16:08
cedkcsotelo: any object are declared in tryton.cfg16:09
csoteloI refer to http://hg.tryton.org/modules/account_invoice/file/db1193a32783/view/pay_ask_form.xml, that file is no on http://hg.tryton.org/modules/account_invoice/file/db1193a32783/tryton.cfg16:11
cedkcsotelo: but of course you have to define correct dependency, you can extend only object that are defined in module you depend on16:12
csotelothat is the reason on thinking I am misunderstanding something16:12
cedkcsotelo: views must not be defined in tryton.cfg, it is only data XML that should16:12
csoteloyes, I have done that, using the xml file, however I gues I am not taking care on something, probably the view model is no correctly defined16:13
cedkcsotelo: model should be the same as the one defined on the original record16:15
csotelocedk, I am coding the inherited models as, for example "class PayInvoiceStart:" instead "class PayInvoiceStart(ModelView):" is ok?16:17
cedkcsotelo: I'm confused because you talk about view and after about Model16:20
csoteloI understand, let me order myself and my ideas and do a right question16:21
csoteloIa m sorry16:21
csoteloI have paste the code that I have written http://pastebin.com/nU28xccq16:29
csoteloWhat I am trytin to do is adding some fields to the form used on the PayInvoice wizard16:31
cedkcsotelo: you must not set a type when inherit a view16:34
csotelothen I must take of that line.. ok16:35
cedkthe class PayInvoiceStart must use the metaclass PoolMeta16:35
cedkcsotelo: the name in the view record must match the name of the file in view/16:35
-!- smarro(~sebastian@host225.181-0-31.telecom.net.ar) has joined #tryton16:38
csoteloI need a gun to kill myself :S the name of the file was wrong16:39
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton17:00
csotelodear coder, I am looking the way on implement something like "def on_change_with_field", I couldnt find the way, any suggest?18:03
csotelocedk, is possible to do something like a on_change_with on wizards?18:06
cedkcsotelo: yes18:07
-!- kstenger(~karla@r186-48-246-222.dialup.adsl.anteldata.net.uy) has joined #tryton18:07
cedkcsotelo: http://doc.tryton.org/3.8/trytond/doc/ref/models/fields.html?highlight=on_change_with#trytond.model.fields.Field.on_change_with18:08
csotelothanks18:08
cedkcsotelo: but bettre to always use fields.depends instead of modifying the field18:08
csotelowell, what I need is to do some calculations, for example, if I change the currency, I must search the current currency rate and do a multiplication with an ammount, that is the reason on looking for on change with. Am I ok?18:10
cedkcsotelo: yes18:10
-!- sproing(58015584@gateway/web/ajax/mibbit.com/session) has joined #tryton18:12
sproingHi guys, i installed previous versions of tryton and rand tem fine, but then, i decided to go to last version tryton 3.8.3 installed client and server, but now i cant find the file trytond.conf neither the file tytond to launch the server. can anyone give me a hint?18:13
sproingplease?18:16
cedksproing: we don't provide anymore a configuration file18:20
cedksproing: trytond can run without or you have to create it following the documentation18:20
sproinghow to run it then, cause i cant find the archive i used to ./ in older versions...18:21
cedksproing: we don't know your configuration18:22
cedksproing: but mainly you have to define the database connection18:23
sproingi see, but generally, lets say in 3.8 trytond (executable) was in /usr/bin18:23
sproingyes? please continue! i am kind of lost in the 3.8 version18:24
sproingcreate a databese with postgres right? and define password... like the previous versions?18:25
cedksproing: I don't understand, are you setting a new server or migrating?18:26
-!- mariomop(~quassel@host23.190-137-202.telecom.net.ar) has joined #tryton18:27
sproingi reinstalled ubuntu and i am trying to set a new server with the tryton versio 3.8. previously i was able to do so in older versions, like 3.4...18:28
cedksproing: do you follow: http://doc.tryton.org/3.8/trytond/doc/index.html#first-steps18:29
csotelocedk, I couldnt get on_change_with behavior, this is my error http://pastebin.com/tVFEHcD018:30
sproingthis tutorila says to install the version provided by my operating system, i am trying to get 3.8.3 runningu so i pip install client and server... but installed the necesary packages listed before...18:35
cedkcsotelo: you are using a field that is not declared in depends18:36
cedksproing: which version of Ubuntu?18:37
cedksproing: 3.8 is available on xenial: http://packages.ubuntu.com/search?suite=default&section=all&arch=any&searchon=names&keywords=tryton18:37
csotelocedk, sorry for the missunderstanding,18:37
csotelothanks18:37
sproingubuntu 14.0418:39
cedksproing: so only 3.0 is available18:40
cedksproing: you plan to install from source?18:40
sproingyes i installed 3.4 with pip before...18:41
cedksproing: OK so you can still do the same18:41
sproinglook and also i decided going last version because i tried to install a model for spain account and it wouldnt let me, it would ask me for tryton 3.9 ... i didnt get it because i dont see a 3.9 nowhere...18:42
cedksproing: 3.9 is the development version18:42
cedksproing: there is no realese of it18:42
sproingso i cant install 3.9 in any ways?18:43
cedksproing: no or you have to fetch it from mercurial and it is a moving target18:47
cedksproing: you should see with the author if he don't have a real release18:48
sproinghttp://apps.tryton-erp.es/account_es/ i tried to install this module that says 3.418:48
sproingbut when installing it demands me to have version 3.918:48
cedksproing: so it is a bug in their package18:49
sproinglook i will reinstall tryton version 3.4 and try to come here in time to paste the error...18:50
sproinghope see you when i come back or find anybody so helpful as you! many thanks man!18:51
-!- aroncero_(~aroncero@86.63.19.153) has joined #tryton19:15
-!- yangoon(~mathiasb@p549F0336.dip0.t-ipconnect.de) has joined #tryton19:16
-!- Timitos1(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton19:16
aroncero_sproing: i have that module installed in 3.4 version as well as 3.8 and works fine19:18
-!- buxy_bak(~rhertzog@mail.vm.ouaza.com) has joined #tryton19:19
aroncero_sproing: Maybe you are deploying a developmnet version19:19
cedkaroncero_: he is no more there19:21
aroncero_cedk: sorry, I had no noticed19:22
cedkaroncero_: no problem, it is just to prevent you talking to nobody :-)19:23
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton19:24
aroncero_cedk: I'm married. I am used to it :P19:26
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton19:37
-!- kstenger(~karla@r190-133-124-217.dialup.adsl.anteldata.net.uy) has joined #tryton19:44
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton19:48
-!- jcm(~jcm@imb69-1-78-194-214-115.fbxo.proxad.net) has joined #tryton21:37

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