IRC logs of #tryton for Wednesday, 2013-11-20

chat.freenode.net #tryton log beginning Wed Nov 20 00:00:02 CET 2013
2013-11-20 00:07 -!- pablovannini(~pablo@190.55.79.249) has left #tryton
2013-11-20 07:37 -!- priyankarani(~priyanka@122.177.42.167) has left #tryton
2013-11-20 09:19 -!- raj4lamp(~eklavya@117.213.253.106) has left #tryton
2013-11-20 12:03 <grasbauer> Hi
2013-11-20 12:04 <grasbauer> getting: ProgrammingError: can't adapt type 'array.array'
2013-11-20 12:04 <grasbauer> creating new database in 3.0
2013-11-20 12:05 <cedk> grasbauer: use python-sql 0.2
2013-11-20 12:05 <grasbauer> ok
2013-11-20 12:08 <grasbauer> cedk: solved ;)
2013-11-20 12:09 <cedk> grasbauer: be careful to use the right version of library defined in setup.py
2013-11-20 12:10 <grasbauer> cedk: lot of versions on this dev-server - starting with 2.4 - need to setup clean virtualenv
2013-11-20 12:13 <cedk> grasbauer: the easiest is to run python setup.py in the virtualenv of each server
2013-11-20 12:13 <cedk> grasbauer: of python setup.py develop if you need to develop on the source base
2013-11-20 12:14 <grasbauer> cedk: yes
2013-11-20 12:51 -!- sharoonthomas(~sharoonth@122.177.42.167) has left #tryton
2013-11-20 16:12 <sharoonthomas> I just created a new report from the admin model view of ir.report but the report itself does not appear along with the model
2013-11-20 16:13 <sharoonthomas> any clues ?
2013-11-20 16:16 <cedk> sharoonthomas: must add a keyword
2013-11-20 16:16 <sharoonthomas> cedk: ok
2013-11-20 16:22 <sharoonthomas> cedk: still does not seem to be working
2013-11-20 16:23 <sharoonthomas> cedk: how do i do the equivalent of choosing a model but not the record on the keyword record from the GUI
2013-11-20 16:24 <jeancavallo> sharoonthomas: Can you post a pastebin of your xml ?
2013-11-20 16:26 <sharoonthomas> jeancavallo: i don't have the xml, i just duplicated the invoice report from the GUI and am trying to do the same thing i would normally do from xml
2013-11-20 16:27 <jeancavallo> sharoonthomas: Ouch. Good luck then...
2013-11-20 16:28 <corro> sharoonthomas: I have some experience with this. First, which report did you duplicate?
2013-11-20 16:28 <sharoonthomas> corro: invoice
2013-11-20 16:29 <corro> sharoonthomas: just as I thought. Invoice does not have a keyword by default
2013-11-20 16:29 <sharoonthomas> corro: ok
2013-11-20 16:30 <corro> sharoonthomas: second, do you get an error when you try to add a keyword with a model selected but no record?
2013-11-20 16:30 <sharoonthomas> corro: no error, but the reference field does not get saved
2013-11-20 16:31 <corro> sharoonthomas: what version of the client are you using?
2013-11-20 16:32 <sharoonthomas> corro: 2.6.2
2013-11-20 16:33 <sharoonthomas> ACTION is upgrading the client
2013-11-20 16:34 <corro> sharoonthomas: good idea, maybe its because of issue3375 (with 2.8 there is an error, though)
2013-11-20 16:36 <corro> sharoonthomas: version 2.6.7 contains the fix
2013-11-20 16:42 <corro> sharoonthomas: finally, make sure you change the report name from 'account.invoice' to something different, otherwise you'll end up having strange effects
2013-11-20 16:42 <sharoonthomas> corro: thanks
2013-11-20 16:42 <sharoonthomas> corro: upgrading the client helped :)
2013-11-20 16:42 <corro> sharoonthomas: you're welcome :)
2013-11-20 17:36 <pobsteta> i want just change the color of sale opportunity model with this code https://dpaste.de/9vFd but he don't work, an idee ?
2013-11-20 17:37 <cedk> pobsteta: because it is not a PySON string (but just a string)
2013-11-20 17:38 <cedk> pobsteta: it should be: colors="'blue'"
2013-11-20 17:46 <pobsteta> cedk: i replace just in the expression colors="blue" by colors="'blue'" ?
2013-11-20 17:47 <cedk> pobsteta: yes a valid PySON
2013-11-20 17:50 <pobsteta> cedk: server return : "trytond.exceptions.UserError: ('UserError', (u'Invalid XML for view "sale.opportunity".', ''))" ?
2013-11-20 20:18 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton

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