IRC logs of #tryton for Wednesday, 2013-01-09

chat.freenode.net #tryton log beginning Wed Jan 9 00:00:02 CET 2013
2013-01-09 00:16 <plantian> Hi guys, in the document http://code.google.com/p/tryton/wiki/Migration_2_0 , what is meant by "Change format of search_value on ir.action.act_window(?)" ?
2013-01-09 01:22 <cedk> plantian: search_value is no more a dict but a list (domain)
2013-01-09 07:22 <iamnoob> good day,, cedk: thanks for the help last time
2013-01-09 07:28 <iamnoob> i kinda lost again with my custom module that im doing. i got a Many2One field.. with an on_change event.. what i wanted to accomplish is that. when a select a record.. i need to be able to get the all the record.. and display it into a fields.Char
2013-01-09 11:01 <iamnoob> i created a topic in the google group.. but it seems it wont show until it gets approved.. its much easier for me to express my problem there.. good day again everyone
2013-01-09 11:34 <shomon> hi, anyone know how to add a field? there's no one aroudn in the gnuhealth channel at the moment
2013-01-09 11:35 <shomon> but I want to add a spanish identifier.. it's already in the continental tryton module.. but I want to put the same field in the patient history bit
2013-01-09 11:41 <corro> shomon: it's best practice to create a separate module for that. In there you may add additional fields to the existing models and views.
2013-01-09 11:42 <shomon> ah okay, so I can "override" the existing one.. :D
2013-01-09 11:42 <shomon> that's good news.. I thought I had to make a whole new one.
2013-01-09 11:42 <shomon> do you know of any online examples of that?
2013-01-09 11:44 <corro> shomon: the unofficial party_type module does little more than adding some fields, maybe you could start there: https://bitbucket.org/openworkplace/trytond_party_type/overview
2013-01-09 11:44 <shomon> thanks corro!
2013-01-09 11:45 <corro> shomon: have a look at the party.py file, it adds (amongst others) the field first_name to the party model.
2013-01-09 11:47 <corro> shomon: for the view have a look at http://doc.tryton.org/2.4/trytond/doc/topics/views/extension.html. The page explains how to extend an existing view.
2013-01-09 11:49 <shomon> okay cool, thanks again!
2013-01-09 15:57 <swinchen> So when I try "hg nclone http://hg.tryton.org/trytond/" I get this error: [trytond/trytond/modules/account]
2013-01-09 15:57 <swinchen> abort: HTTP Error 404: Not Found
2013-01-09 16:05 <cedk> swinchen: remove the trailing /
2013-01-09 16:06 <swinchen> Ahh thanks. Install page has an error.
2013-01-09 16:08 <swinchen> is it possible to run trytond directly from the hg repo, or should I "python2 setup.py install .... " it?
2013-01-09 16:11 <Pilou> swinchen: it's possible. Check etc/trytond.conf: defaut configuration use postgresql and your user must be able to create a new database.
2013-01-09 16:13 <swinchen> hrmmm... interesting. I get "Incompatible version of server"
2013-01-09 16:15 <Pilou> client & server must have the same major version (eg 2.6). You could check version in trytond/version.py and tryton/version.py.
2013-01-09 16:16 <swinchen> Pilou, they are both 2.7
2013-01-09 16:17 <swinchen> hrmmm maybe I should look for the latest stable tag and try that
2013-01-09 16:18 <Pilou> swinchen: there are not ;)
2013-01-09 16:19 <Pilou> you could use "-l DEBUG" parameter with tryton client ("./bin/tryton -l DEBUG") in order to display the received version of trytond
2013-01-09 16:21 <swinchen> Odd, it looks like I have an old version running in the background
2013-01-09 16:22 <swinchen> This is not going smoothly ;)
2013-01-09 16:29 <swinchen> ok I give up
2013-01-09 16:29 <swinchen> ProgrammingError: column a.perm_create does not exist
2013-01-09 16:29 <swinchen> LINE 1: ...EN a.perm_write THEN 1 ELSE 0 END), MAX(CASE WHEN a.perm_cre...
2013-01-09 16:33 <swinchen> mwahahaha it worked
2013-01-09 17:56 <shomon> hi, could anyone explain how tryton might recieve info from an external webservice?
2013-01-09 18:00 <nicoe> shomon: just like any other python application
2013-01-09 18:02 <shomon> okay, thanks.. I'm looking up http://pywebsvcs.sourceforge.net/ and I guess I have to make a module to do it and feed the info back into some fields
2013-01-09 19:15 <swinchen> Does anyone know of any tutorials for setting up Tryton for a small business? I am trying to set up an account where I can keep track of business account... and save invoices, receipts.. stuff like that.
2013-01-09 19:17 <swinchen> I think I have the correct modules installed (company, sale, account) but I am not sure how to set up my user to have the access needed.
2013-01-09 19:51 <swinchen> Wow, this might be too much software for a small business

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