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

chat.freenode.net #tryton log beginning Wed Jan 20 00:00:01 CET 2016
2016-01-20 01:05 -!- smarro(~sebastian@190.48.239.127) has joined #tryton
2016-01-20 01:21 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-01-20 02:11 -!- smarro(~sebastian@190.48.239.127) has joined #tryton
2016-01-20 02:34 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton
2016-01-20 04:18 -!- zodman_(~zodman@187.189.156.23) has joined #tryton
2016-01-20 06:01 -!- yangoon1(~mathiasb@p549F0336.dip0.t-ipconnect.de) has joined #tryton
2016-01-20 07:06 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton
2016-01-20 07:40 -!- frispete(~frispete@p54A9181D.dip0.t-ipconnect.de) has joined #tryton
2016-01-20 07:54 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-01-20 08:49 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-01-20 09:03 -!- frispete(~frispete@p54A9181D.dip0.t-ipconnect.de) has joined #tryton
2016-01-20 09:10 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-01-20 09:17 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-01-20 09:39 -!- utente(~utente@net-2-36-184-95.cust.vodafonedsl.it) has joined #tryton
2016-01-20 09:59 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-01-20 10:09 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton
2016-01-20 10:10 -!- utente(~utente@host55-73-dynamic.244-95-r.retail.telecomitalia.it) has joined #tryton
2016-01-20 10:10 -!- nicoe(~nicoe@2001:6f8:3aa:2:ee55:f9ff:fe7b:f7ac) has joined #tryton
2016-01-20 10:33 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-01-20 10:38 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2016-01-20 11:06 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2016-01-20 11:38 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2016-01-20 11:49 -!- csotelo(~csotelo@201.240.152.28) has joined #tryton
2016-01-20 11:57 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-01-20 12:00 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton
2016-01-20 12:04 -!- mariomop(~quassel@host23.190-137-202.telecom.net.ar) has joined #tryton
2016-01-20 13:21 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2016-01-20 13:26 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-01-20 13:45 -!- clews(~cch@www.lycee.asn-wien.ac.at) has joined #tryton
2016-01-20 14:39 -!- bvillasanti(~bvillasan@190.105.71.186) has joined #tryton
2016-01-20 14:46 -!- dj_xatra_(~dj_xatra@217.166.83.130) has joined #tryton
2016-01-20 15:02 -!- flox(~florent@unaffiliated/flox) has joined #tryton
2016-01-20 15:02 -!- woakas(~woakas@static.15.240.46.78.clients.your-server.de) has joined #tryton
2016-01-20 15:03 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton
2016-01-20 16:02 <csotelo> dear coders, I ma trying to do inheritance on a wizard without sucess, is possible to do that?
2016-01-20 16:05 <cedk> csotelo: yes it is possible
2016-01-20 16:06 <csotelo> thanks for the answer, I just to know that for continue on searching my error, thanks a lot
2016-01-20 16:08 <cedk> csotelo: indeed there is no difference with Model
2016-01-20 16:08 <cedk> csotelo: it is the exact same code that does it
2016-01-20 16:08 <csotelo> but the wizard that I am using, is no declarated on the tryton.cfg probaly I am missunderstanding something
2016-01-20 16:09 <cedk> csotelo: any object are declared in tryton.cfg
2016-01-20 16:11 <csotelo> I 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.cfg
2016-01-20 16:12 <cedk> csotelo: but of course you have to define correct dependency, you can extend only object that are defined in module you depend on
2016-01-20 16:12 <csotelo> that is the reason on thinking I am misunderstanding something
2016-01-20 16:12 <cedk> csotelo: views must not be defined in tryton.cfg, it is only data XML that should
2016-01-20 16:13 <csotelo> yes, 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 defined
2016-01-20 16:15 <cedk> csotelo: model should be the same as the one defined on the original record
2016-01-20 16:17 <csotelo> cedk, I am coding the inherited models as, for example "class PayInvoiceStart:" instead "class PayInvoiceStart(ModelView):" is ok?
2016-01-20 16:20 <cedk> csotelo: I'm confused because you talk about view and after about Model
2016-01-20 16:21 <csotelo> I understand, let me order myself and my ideas and do a right question
2016-01-20 16:21 <csotelo> Ia m sorry
2016-01-20 16:29 <csotelo> I have paste the code that I have written http://pastebin.com/nU28xccq
2016-01-20 16:31 <csotelo> What I am trytin to do is adding some fields to the form used on the PayInvoice wizard
2016-01-20 16:34 <cedk> csotelo: you must not set a type when inherit a view
2016-01-20 16:35 <csotelo> then I must take of that line.. ok
2016-01-20 16:35 <cedk> the class PayInvoiceStart must use the metaclass PoolMeta
2016-01-20 16:35 <cedk> csotelo: the name in the view record must match the name of the file in view/
2016-01-20 16:38 -!- smarro(~sebastian@host225.181-0-31.telecom.net.ar) has joined #tryton
2016-01-20 16:39 <csotelo> I need a gun to kill myself :S the name of the file was wrong
2016-01-20 17:00 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-01-20 18:03 <csotelo> dear coder, I am looking the way on implement something like "def on_change_with_field", I couldnt find the way, any suggest?
2016-01-20 18:06 <csotelo> cedk, is possible to do something like a on_change_with on wizards?
2016-01-20 18:07 <cedk> csotelo: yes
2016-01-20 18:07 -!- kstenger(~karla@r186-48-246-222.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-01-20 18:08 <cedk> csotelo: http://doc.tryton.org/3.8/trytond/doc/ref/models/fields.html?highlight=on_change_with#trytond.model.fields.Field.on_change_with
2016-01-20 18:08 <csotelo> thanks
2016-01-20 18:08 <cedk> csotelo: but bettre to always use fields.depends instead of modifying the field
2016-01-20 18:10 <csotelo> well, 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?
2016-01-20 18:10 <cedk> csotelo: yes
2016-01-20 18:12 -!- sproing(58015584@gateway/web/ajax/mibbit.com/session) has joined #tryton
2016-01-20 18:13 <sproing> Hi 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?
2016-01-20 18:16 <sproing> please?
2016-01-20 18:20 <cedk> sproing: we don't provide anymore a configuration file
2016-01-20 18:20 <cedk> sproing: trytond can run without or you have to create it following the documentation
2016-01-20 18:21 <sproing> how to run it then, cause i cant find the archive i used to ./ in older versions...
2016-01-20 18:22 <cedk> sproing: we don't know your configuration
2016-01-20 18:23 <cedk> sproing: but mainly you have to define the database connection
2016-01-20 18:23 <sproing> i see, but generally, lets say in 3.8 trytond (executable) was in /usr/bin
2016-01-20 18:24 <sproing> yes? please continue! i am kind of lost in the 3.8 version
2016-01-20 18:25 <sproing> create a databese with postgres right? and define password... like the previous versions?
2016-01-20 18:26 <cedk> sproing: I don't understand, are you setting a new server or migrating?
2016-01-20 18:27 -!- mariomop(~quassel@host23.190-137-202.telecom.net.ar) has joined #tryton
2016-01-20 18:28 <sproing> i 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...
2016-01-20 18:29 <cedk> sproing: do you follow: http://doc.tryton.org/3.8/trytond/doc/index.html#first-steps
2016-01-20 18:30 <csotelo> cedk, I couldnt get on_change_with behavior, this is my error http://pastebin.com/tVFEHcD0
2016-01-20 18:35 <sproing> this 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...
2016-01-20 18:36 <cedk> csotelo: you are using a field that is not declared in depends
2016-01-20 18:37 <cedk> sproing: which version of Ubuntu?
2016-01-20 18:37 <cedk> sproing: 3.8 is available on xenial: http://packages.ubuntu.com/search?suite=default&section=all&arch=any&searchon=names&keywords=tryton
2016-01-20 18:37 <csotelo> cedk, sorry for the missunderstanding,
2016-01-20 18:37 <csotelo> thanks
2016-01-20 18:39 <sproing> ubuntu 14.04
2016-01-20 18:40 <cedk> sproing: so only 3.0 is available
2016-01-20 18:40 <cedk> sproing: you plan to install from source?
2016-01-20 18:41 <sproing> yes i installed 3.4 with pip before...
2016-01-20 18:41 <cedk> sproing: OK so you can still do the same
2016-01-20 18:42 <sproing> look 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...
2016-01-20 18:42 <cedk> sproing: 3.9 is the development version
2016-01-20 18:42 <cedk> sproing: there is no realese of it
2016-01-20 18:43 <sproing> so i cant install 3.9 in any ways?
2016-01-20 18:47 <cedk> sproing: no or you have to fetch it from mercurial and it is a moving target
2016-01-20 18:48 <cedk> sproing: you should see with the author if he don't have a real release
2016-01-20 18:48 <sproing> http://apps.tryton-erp.es/account_es/ i tried to install this module that says 3.4
2016-01-20 18:48 <sproing> but when installing it demands me to have version 3.9
2016-01-20 18:49 <cedk> sproing: so it is a bug in their package
2016-01-20 18:50 <sproing> look i will reinstall tryton version 3.4 and try to come here in time to paste the error...
2016-01-20 18:51 <sproing> hope see you when i come back or find anybody so helpful as you! many thanks man!
2016-01-20 19:15 -!- aroncero_(~aroncero@86.63.19.153) has joined #tryton
2016-01-20 19:16 -!- yangoon(~mathiasb@p549F0336.dip0.t-ipconnect.de) has joined #tryton
2016-01-20 19:16 -!- Timitos1(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-01-20 19:18 <aroncero_> sproing: i have that module installed in 3.4 version as well as 3.8 and works fine
2016-01-20 19:19 -!- buxy_bak(~rhertzog@mail.vm.ouaza.com) has joined #tryton
2016-01-20 19:19 <aroncero_> sproing: Maybe you are deploying a developmnet version
2016-01-20 19:21 <cedk> aroncero_: he is no more there
2016-01-20 19:22 <aroncero_> cedk: sorry, I had no noticed
2016-01-20 19:23 <cedk> aroncero_: no problem, it is just to prevent you talking to nobody :-)
2016-01-20 19:24 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-01-20 19:26 <aroncero_> cedk: I'm married. I am used to it :P
2016-01-20 19:37 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-01-20 19:44 -!- kstenger(~karla@r190-133-124-217.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-01-20 19:48 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-01-20 21:37 -!- jcm(~jcm@imb69-1-78-194-214-115.fbxo.proxad.net) has joined #tryton

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