IRC logs of #tryton for Friday, 2013-11-22

chat.freenode.net #tryton log beginning Fri Nov 22 00:00:02 CET 2013
2013-11-22 03:13 <kotek> Hi. :)
2013-11-22 04:34 <kotek> Anyone here work with neso? :(
2013-11-22 05:53 -!- mgorny(~mgorny@gentoo/developer/mgorny) has left #tryton
2013-11-22 10:26 <jeancavallo1> Hi all. I am looking for a way to set values in a M2M with xml. To do so, I create instances of the M2M table. That works properly, but I want to be able to delete those elements from the application. RIght now, when I do so, the next update of the module will recreate them. Any idea ?
2013-11-22 10:26 <jeancavallo1> I tried setting the noupdate flag to 1, but that did not seem to make a difference
2013-11-22 10:31 <cedk> jeancavallo1: normally noupdate should not recreate it on update
2013-11-22 10:32 <jeancavallo1> cedk: Ok. I will try again
2013-11-22 10:40 <jeancavallo1> cedk: Seems that updating from the command line recreates while doing it with the Gui does not
2013-11-22 10:47 <cedk> jeancavallo1: how do you do from cui
2013-11-22 10:48 <jeancavallo1> cedk: Administration => Modules => Modules => select module for upgrade => execute
2013-11-22 10:50 <cedk> jeancavallo1: and cmd
2013-11-22 10:52 <jeancavallo1> cedk: $TRYTOND_PATH/trytond -d $DATABASE_NAME -c $TRYTOND_CONF -u <module_name>
2013-11-22 11:00 <jeancavallo1> cedk: I noticed some times ago that there may be some differences between the two modes
2013-11-22 11:05 <jeancavallo1> cedk: I am going to write a sample module and create a bug report on this
2013-11-22 12:09 <jeancavallo1> cedk: Just created https://bugs.tryton.org/issue3518, will look into it a little
2013-11-22 12:27 <pokoli> Hi, there is any method to get the credit/debit of a view account?
2013-11-22 12:28 <pokoli> view account=account with kind = 'view'
2013-11-22 12:31 <cedk> pokoli: as it is a view there are none
2013-11-22 12:31 <pokoli> cedk: it's for a custom report
2013-11-22 12:32 <pokoli> cedk: So the question is "There is any API method"?
2013-11-22 12:34 <cedk> pokoli: no need for API, I already know the result: 0
2013-11-22 12:36 <pokoli> cedk: ok, thanks
2013-11-22 16:11 <LordVan> hi
2013-11-22 16:12 <LordVan> cedk, you there?
2013-11-22 16:12 <LordVan> i got a problem with tryton 3 client on linux (crash)
2013-11-22 16:13 <LordVan> /usr/lib64/python2.7/site-packages/tryton/client.py:116: GtkWarning: IA__gtk_entry_get_text: assertion `GTK_IS_ENTRY (entry)' failed
2013-11-22 16:13 <LordVan> gtk.main () segfault
2013-11-22 16:13 <LordVan> before that i get this:
2013-11-22 16:13 <LordVan> IOError: File not found : /site-packages/trytond/modules/test/tryton.cfg
2013-11-22 16:13 <LordVan> File not found : /usr/lib64/python2.7/site-packages/trytond/modules/test/tryton.cfg
2013-11-22 16:13 <LordVan> meh pastebin would've been better after all. sorry for that
2013-11-22 16:17 <LordVan> cedk, http://pastebin.com/Dtd1NgHD
2013-11-22 16:19 <LordVan> anyone else is of course welcome to look too ;)
2013-11-22 16:21 <cedk> LordVan: you have to delete test module definition from your database
2013-11-22 16:21 <cedk> LordVan: https://bugs.tryton.org/issue3449
2013-11-22 16:23 <jeancavallo1> cedk: I tried to send a patch to issue_tracker with hg email. Any way to know where it is ?
2013-11-22 16:25 <cedk> jeancavallo1: it is explained on the wiki
2013-11-22 16:28 <LordVan> cedk, do i do that from the client or does that mean in the db?
2013-11-22 16:29 <LordVan> also i just created a new db due to some issues with the update oned i had
2013-11-22 16:31 <cedk> LordVan: it is from the DB if you migrate a DB from old version
2013-11-22 16:31 <LordVan> the point is i just created a new one (test db)
2013-11-22 16:31 <LordVan> because i thought there was a problem with my migrated one
2013-11-22 16:32 <jeancavallo1> cedk: I followed the wiki, the mail is sent (sendmail reported is as "accepted for delivery"), but I do not see it anywhere in codereview.tryton.org
2013-11-22 16:32 <LordVan> and the module in the db with name "tests" is state "uninstalled"
2013-11-22 16:32 <cedk> jeancavallo1: normal there is no link with codereview
2013-11-22 16:34 <cedk> LordVan: it really looks like you connect to an old DB or your trytond directory is not clean
2013-11-22 16:34 <LordVan> well i just did emerge -avu $(qlist -I -C | grep tryton)
2013-11-22 16:34 <LordVan> what do you mean by trytond directory
2013-11-22 16:35 <cedk> LordVan: site-packages/trytond/ seems to contains a test directory
2013-11-22 16:35 <LordVan> just contsints tests not test
2013-11-22 16:36 <jeancavallo1> cedk: my bad
2013-11-22 16:40 <LordVan> cedk, http://pastebin.com/735CQzi5
2013-11-22 16:43 <cedk> LordVan: so did you try to delete module test from DB?
2013-11-22 16:44 <LordVan> cedk, 5 | 0 | 2013-11-22 16:02:41.072454 | | | tests | uninstalled <-- there's only 'tests' not 'test'
2013-11-22 16:45 <LordVan> you want me to remove that?
2013-11-22 16:46 <cedk> LordVan: yes
2013-11-22 16:46 <LordVan> k
2013-11-22 16:46 <LordVan> should i restart trytond / tryton?
2013-11-22 16:47 <LordVan> meh nm i just do that anyway now ;)
2013-11-22 16:48 <LordVan> seems to have worked error is gone now on startup
2013-11-22 16:48 <LordVan> lets hope the segfault is gone too
2013-11-22 16:50 <LordVan> something entirely different .. if I want to just write offers / invoices,.. but not do bookkeeping (accounting?) in tryton do i have to set that module up anyway?
2013-11-22 16:51 <cedk> LordVan: yes but you can just use the simple chart of account
2013-11-22 16:51 <LordVan> ok
2013-11-22 16:51 <LordVan> cuz i don't have a clue about accounting myself :D
2013-11-22 16:51 <LordVan> and i want to test invoice,..
2013-11-22 16:51 <cedk> LordVan: but I will suggest you anyway to use the real chart of account of your country if you can
2013-11-22 16:52 <LordVan> cedk, is there something for austria? i've only seen germany
2013-11-22 16:52 <cedk> LordVan: because it will ease later if you want to do real accounting
2013-11-22 16:53 <LordVan> cedk, well we already have an accounting program taht has been in use for like 20 years now (obv. with updates ^^) so i doubt we'd switch any time soon
2013-11-22 16:53 <LordVan> do you know of anyone who might've made one for Austria?
2013-11-22 16:53 <LordVan> or rather
2013-11-22 16:53 <LordVan> how much work is it to make one?
2013-11-22 16:54 <LordVan> /usr/lib64/python2.7/site-packages/trytond/modules/account_de_skr03/account_de.xml looks quite like a lot of work
2013-11-22 16:54 <LordVan> rmu, do you have something for austria?
2013-11-22 16:55 <LordVan> great another segfault
2013-11-22 16:55 <LordVan> only on my linux box though .. weird
2013-11-22 16:56 <LordVan> any clue as to why i would get this?: /usr/lib64/python2.7/site-packages/tryton/client.py:116: GtkWarning: IA__gtk_entry_get_text: assertion `GTK_IS_ENTRY (entry)' failed
2013-11-22 16:58 <LordVan> cedk, infact there is a bug about this: https://bugs.tryton.org/msg13757
2013-11-22 17:04 <cedk> LordVan: it is probably GTK
2013-11-22 17:04 <LordVan> cedk, hmm i am re-installing pygtk right now
2013-11-22 17:09 <LordVan> :( still crashing
2013-11-22 17:09 <LordVan> how annoying
2013-11-22 17:09 <LordVan> happens when i press search on a dialogue every time
2013-11-22 17:25 <cedk> LordVan: very weird
2013-11-22 17:25 <LordVan> hmm due ot the segfault some part of the setup didn'T work
2013-11-22 17:25 <LordVan> i can'T select a company ..
2013-11-22 17:26 <LordVan> agh whatever i re-create that
2013-11-22 18:04 <rmu> LordVan: "kantntreiber" made austrian chart of accounts... https://bitbucket.org/kantntreiber
2013-11-22 19:14 <LordVan> gtg. cu
2013-11-22 20:35 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton
2013-11-22 21:04 <joar> is the demo server down?
2013-11-22 21:27 <pokoli> joar: i can connect perfectly to it
2013-11-22 21:31 <joar> demo.tryton.org:800?
2013-11-22 21:32 <joar> I can now, too.
2013-11-22 21:39 <pokoli> joar: 8000 but yes :)
2013-11-22 21:39 <joar> yes, typo :)
2013-11-22 22:17 -!- pablovannini(~pablo@181.47.181.28) has left #tryton

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