IRC logs of #tryton for Friday, 2013-01-25

chat.freenode.net #tryton log beginning Fri Jan 25 00:00:02 CET 2013
2013-01-25 03:48 <iamnoob> plantian: ping, got some time?
2013-01-25 04:02 <plantian> iamnoob: Did you just change your name?
2013-01-25 04:14 <trytonnoob> plantian: just to be sure.. is it in the XML <field name="name"> or <field name="res_model"> ?
2013-01-25 04:18 <plantian> trytonnoob: it depends on the model, as in <record model="XXXX"> I think, so check the documentation or check an official module for that record
2013-01-25 04:18 <plantian> haha, killing me
2013-01-25 04:19 <iamnoob> there fixed my name
2013-01-25 04:21 <plantian> iamnoob: it depends on the model, as in <record model="XXXX"> I think, so check the documentation or check an official module for that record
2013-01-25 04:22 <plantian> iamnoob: I thought of something you might be missing, you might need to add access rules for your models.
2013-01-25 04:22 <plantian> iamnoob: hold on and i will send link
2013-01-25 04:23 <iamnoob> plantian: big thanks
2013-01-25 04:23 <plantian> iamnoob: here is an example in the stock module for the stock.inventory model: http://hg.tryton.org/2.6/modules/stock/file/5795e9e6dee0/inventory.xml#l135
2013-01-25 04:24 <plantian> I didn't see those in your xml file for your models. I'm not sure if they are required or not.
2013-01-25 04:26 <iamnoob> plantian: ok thanks.. ill work on it.. feedyou back again
2013-01-25 06:45 <iamnoob> plantian: hi. i have updated my XML.. and im comparing the one ive done to the link..and some official modules XML.. but im having a new error .. which im not familiar with
2013-01-25 06:45 <plantian> iamnoob: Okay
2013-01-25 06:45 <plantian> Just pastebin it
2013-01-25 06:47 <iamnoob> plantian: updated XML http://pastebin.com/AwRwKN38 error log : pastebin.com/m0MARnV6
2013-01-25 06:47 <iamnoob> plantian: updated XML http://pastebin.com/AwRwKN38 error log : http://pastebin.com/m0MARnV6
2013-01-25 06:49 <plantian> iamnoob: Something is odd with your data tags, there seem to be one <data> at line 3 and two </data> tags at line 69 and line 90. You should remove the one at line 69, unless it is a copy/paste error.
2013-01-25 06:52 <iamnoob> plantian: just tried out removing </data> tag at line 69.. still got the error msg..
2013-01-25 06:54 <iamnoob> plantian: updated XML file http://pastebin.com/AwRwKN38 btw. im using the official module country and currency as a side by side checking..
2013-01-25 06:57 <plantian> iamnoob: okay, let me try an experiment
2013-01-25 06:58 <iamnoob> plantian: thanks you.. your very helpfull
2013-01-25 06:58 <plantian> iamnoob: If I take the official stock module and put an invalid name in the search domain of the access rule it gives your error.
2013-01-25 06:59 <plantian> iamnoob: It seems that your models are still not being loaded for some reason.
2013-01-25 07:00 <plantian> ie. on line 71 it runs the search for [('model', '=', 'catgroup.catgroup')] but there is no catgroup.catgroup model so it fails
2013-01-25 07:01 <plantian> iamnoob: Is it possible for you to move your existing deployment directory, Catalog or whatever, into another location and try copying in a fresh set of files from your development directory?
2013-01-25 07:01 <iamnoob> plantian: do you think that there something wrong in my .py file? im also manually checking the database.. still the table have not being created..
2013-01-25 07:03 <iamnoob> plantian: ok will do that
2013-01-25 07:04 <plantian> iamnoob: It could be there are old files there messing something up. I don't know, just an idea.
2013-01-25 07:04 <iamnoob> plantian: i did think of that for a while.. since i came from 1.4
2013-01-25 07:04 <iamnoob> plantian: wil try to clean things up. and get a new set of files again.. thanks
2013-01-25 07:05 <plantian> I was thinking about just your module directory.
2013-01-25 07:05 <iamnoob> plantian: ohh i see.. ok ill start there
2013-01-25 07:15 <iamnoob> plantian: forgot to ask this.. im manually putting my module-directory inside trytond-2.6.2-py2.6.egg/trytond/modules.. is this correct? or i have to do the easy-install.pth? found at usr/local/lib/pythong2.6/dist-package .. edit it and insert my own folder..
2013-01-25 07:16 <plantian> iamnoob: you could install your module with easy install by creating a setup.py file, but for now seems like the module file might be easier, i think it should work
2013-01-25 07:17 <iamnoob> plantian: ok got it..
2013-01-25 07:36 -!- calbasi(~joan@161.44.14.37.dynamic.jazztel.es) has left #tryton
2013-01-25 07:39 <iamnoob> plantian: your right... also by droping the old database and creating a new one.. this will read my module properly
2013-01-25 07:40 <plantian> iamnoob: great, so now tryton starts up with no error?
2013-01-25 07:49 <iamnoob> plantian: yes .. got an error on my .py file but i think im ok now.. thanks!
2013-01-25 07:49 <plantian> iamnoob: great, I'm glad its working
2013-01-25 07:51 <iamnoob> plantian: yes thanks a lot :)
2013-01-25 09:26 <damocle83> hi!
2013-01-25 09:27 <damocle83> how is possible remove tryton and neso on ubuntu 12.04
2013-01-25 09:27 <damocle83> c'è qualche italiano?
2013-01-25 09:30 <damocle83> !help
2013-01-25 09:31 <damocle83> cedk, hi!
2013-01-25 09:31 <cedk> damocle83: I don't know, I don't have Ubuntu
2013-01-25 09:31 <damocle83> cedk, d'oh! :)
2013-01-25 09:32 <damocle83> anyone have ubuntu?
2013-01-25 09:36 <iamnoob> damocle83: what kind of removal do you want? unistall?
2013-01-25 09:37 <damocle83> iamnoob, i try to install source file after software center install, then no run!
2013-01-25 09:37 <damocle83> iamnoob, nou i can uninstall all to reinstall like new
2013-01-25 09:38 <damocle83> soory for my english
2013-01-25 09:38 <damocle83> *sorry
2013-01-25 09:38 <damocle83> :)
2013-01-25 09:39 <damocle83> i type " sudo apt-get autoremove tryton" but the response is "no tryton found"
2013-01-25 09:42 <iamnoob> damocle83: i not sure if this is what you want to get. try going into "synaptic package manager" then on the search box.. type in tryton . righclick on in.. remove..click apply.. then goto https://tryton.org/downloads.html and follow the "Setuptools" instructions
2013-01-25 10:06 <damocle83> ok i try!
2013-01-25 10:06 <damocle83> thanks
2013-01-25 10:06 -!- damocle83(~damocle83@2-229-98-76.ip196.fastwebnet.it) has left #tryton
2013-01-25 10:51 <iamnoob> hi anyone got a good example on how to set a default value on a Field.Char please..
2013-01-25 10:52 <cedk> iamnoob: def default_<fieldnam>(): …
2013-01-25 10:54 <jcav> iamnoob: and it's a classmethod / staticmethod
2013-01-25 10:54 <iamnoob> cedk: hi thanks.. i may need to revised my question..
2013-01-25 10:55 <iamnoob> actually i have this field.char where i want to the current user to be the default value
2013-01-25 10:56 <jcav> iamnoob: You can access the current user through Transaction().user
2013-01-25 10:57 <iamnoob> jcav: ok thanks!
2013-01-25 10:57 <cedk> iamnoob: http://doc.tryton.org/2.6/trytond/doc/topics/models/fields_default_value.html
2013-01-25 11:05 <gb6972> tryton 2.6 - invoice print - unit price shows only 2 position after decimal point. I need 4. Where can i change this output? In my invoice.odt - unit - formatLang(line.unit_price, invoice.party.lang, currency=invoice.currency). thanks
2013-01-25 11:25 <cedk> gb6972: change the rounding of the unit
2013-01-25 12:55 <damocle83> Hi
2013-01-25 12:58 <damocle83> is possible to use browser to connect with tryton?
2013-01-25 12:58 <damocle83> C'è qualche italiano/a?
2013-01-25 13:08 <damocle83> how is possible install web client?
2013-01-25 13:11 <pokoli> damocle83: web client is still in development
2013-01-25 13:12 <damocle83> pokoli, oh, when will be possible use web client?
2013-01-25 13:12 <pokoli> damocle83: Sorry, I don't know. Ask cedk or nicoe
2013-01-25 13:13 <damocle83> pokoli, ok thank's
2013-01-25 13:16 <damocle83> now have new question, whit "easy_install" is possible download all the modules in one command?
2013-01-25 13:31 <gb6972> cedk: thanks...it works! :-))
2013-01-25 13:31 -!- gb6972(~gunther@194-208-216-240.tele.net) has left #tryton
2013-01-25 13:43 <nicoe> damocle83: about your easy_install question, you should use pip
2013-01-25 13:43 <nicoe> damocle83: pip will fetch all the dependancies from the web and install it
2013-01-25 13:45 <nicoe> damocle83: about the webclient, it's not usable yet although we have the treeview working (and thus the menu) and the login process
2013-01-25 13:45 <damocle83> nicoe, ok i try!
2013-01-25 13:48 <eriam> Hello, I still have the 404 while trying to checkout the trytond with hgnested
2013-01-25 13:48 <eriam> any clues ?
2013-01-25 13:50 <eriam> http://nopaste.dk/p18989
2013-01-25 13:54 <nicoe> eriam: works for me
2013-01-25 13:54 <cedk> eriam: could you show the TCP dump
2013-01-25 13:54 <eriam> hold on ..
2013-01-25 13:55 <bechamel> cedk: http://hg.tryton.org/trytond/modules/account (in a web browser) gives: 00manifest.i@account: no match found
2013-01-25 13:56 <cedk> bechamel: because it must be: http://hg.tryton.org/trytond/trytond/modules/account
2013-01-25 14:10 <damocle83> nicoe, success!
2013-01-25 14:10 -!- damocle83(~damocle83@2-229-98-76.ip196.fastwebnet.it) has left #tryton
2013-01-25 14:11 <eriam> http://nopaste.dk/p18991 # is that enough information ?
2013-01-25 14:12 <eriam> hmm the double / seems problematic
2013-01-25 14:13 <eriam> ok so that's it
2013-01-25 14:14 <eriam> I need to do a hg nclone http://hg.tryton.org/trytond
2013-01-25 14:15 <eriam> without trailing slash
2013-01-25 14:15 <eriam> thanks for the pointer
2013-01-25 14:15 <cedk> eriam: we don't get the status of the answer
2013-01-25 14:26 <eriam> cedk: http://nopaste.dk/p18995
2013-01-25 14:28 <cedk> eriam: yes clearly it is the double /
2013-01-25 14:29 <eriam> yes, it works perfectly now
2013-01-25 14:30 <eriam> everything checked out ! let's get this thing rocking ;)
2013-01-25 15:03 <gb6972> 2.6 - invoice.odt: what code do i need to put the name of my user-employee to the invoice? This code does not work: <user.employee.full_name or "">
2013-01-25 15:25 <katr> gb6972: Maybe <user.rec_name>
2013-01-25 15:51 <gb6972> katr 15:25:45 .. thanks! it works.
2013-01-25 15:51 <gb6972> :-))
2013-01-25 15:52 <katr> gb6972: Great!
2013-01-25 15:53 -!- gb6972(~gunther@194-208-216-240.tele.net) has left #tryton
2013-01-25 19:47 -!- sharoonthomas(~sharoonth@106.201.180.212) has left #tryton
2013-01-25 23:07 -!- calbasi(~joan@161.44.14.37.dynamic.jazztel.es) has left #tryton

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