IRC logs of #tryton for Tuesday, 2013-09-17

chat.freenode.net #tryton log beginning Tue Sep 17 00:00:01 CEST 2013
2013-09-17 10:51 <cedk> albertca: ping
2013-09-17 10:51 <cedk> albertca: what about http://codereview.tryton.org/1029002/ ?
2013-09-17 10:52 <cedk> pokoli: hi, are you going to finish the work for http://codereview.tryton.org/1008002/ ?
2013-09-17 10:53 <cedk> pokoli: otherwise I will do
2013-09-17 10:54 <pokoli> cedk: I have partial work on the other computer and I can ensure I will work on it untill next week
2013-09-17 10:54 <pokoli> cedk: so If you want it before the 3.0 relase, you can work on it. May I add you as collaborator?
2013-09-17 10:54 <cedk> pokoli: yes please
2013-09-17 10:56 <cedk> pokoli: I guess you mean: "I can't ensureā€¦"
2013-09-17 10:58 <pokoli> cedk: yes I can't ensure :)
2013-09-17 10:58 <pokoli> cedk: just added you as collaborator on the issue :)
2013-09-17 10:58 <cedk> pokoli: thx
2013-09-17 10:58 <cedk> pokoli: by the way, did you test patch of issue3356?
2013-09-17 11:00 <pokoli> cedk: I haven't got time yet :(
2013-09-17 11:02 <cedk> pokoli: normally, it should not take too much this time :-)
2013-09-17 12:15 -!- priyankarani(~priyanka@122.177.8.204) has left #tryton
2013-09-17 13:40 <jvblasco> Any trick to add images to the odt templates? I'm adding one in the header_A4.odt and replacing the report in the view definition, but no luck with it. The company logo doesn't show
2013-09-17 13:41 <kotek> Hi, can anyone support me with "Using tryton for dummies" e-book? :D
2013-09-17 13:42 <jvblasco> kotek: u mean u are writing a book called "Using tryton for dummies" and need some help?
2013-09-17 13:42 <kotek> Nope, I'm looking for one. :D
2013-09-17 13:43 <kotek> If I know more about tryton probably I'd write one.
2013-09-17 13:43 <jvblasco> kotek: i think there isn't something like that. All the documentation i found is more for programmers than users
2013-09-17 13:44 <kotek> How users are supposed to make use of tryton?
2013-09-17 13:44 <jvblasco> kotek: anyway there some sources, if u know spanish, with some info like http://doc.tryton-erp.es/
2013-09-17 13:45 <jvblasco> kotek: with users i mean functionals users
2013-09-17 13:45 <cedk> jvblasco: be sure the image is in the document and not just a link
2013-09-17 13:45 <kotek> I can only read English, some German and Polish. :<
2013-09-17 13:46 <cedk> kotek: Tryton is a framework, so you just have to learn how to use the GUI http://doc.tryton.org/2.8/tryton/doc/usage.html
2013-09-17 13:50 <kotek> Ok... So is there any tryton account module handbook?
2013-09-17 13:51 <cedk> kotek: what could such book contains
2013-09-17 13:52 <kotek> answer for a question "what the hell is tryton making when I want to reconcile lines???????????????????!!!!!!!!!!!!!!!!!!!!!!!!!11111111111111111oneoneoneoneoneone"
2013-09-17 13:53 <cedk> kotek: impossible to answer, it depends on all the module you have installed
2013-09-17 13:54 <kotek> I mean that instead of matching lines, it's creating a brand new move.
2013-09-17 13:55 <cedk> kotek: don't understand what you are talking about
2013-09-17 13:55 <kotek> hmm
2013-09-17 13:56 <kotek> In account module, installed only with its dependencies...
2013-09-17 13:57 <kotek> When I ask tryton to reconcile lines, it's creating a new account moves...
2013-09-17 13:57 <cedk> kotek: probably because you reconcile lines that have an writeoff
2013-09-17 13:59 <kotek> ?
2013-09-17 13:59 <cedk> kotek: debit != credit
2013-09-17 14:00 <kotek> everything is balanced...
2013-09-17 14:01 <cedk> kotek: so Tryton doesn't create any new move
2013-09-17 14:02 <kotek> and probably I have hallucinations because I sleep too much
2013-09-17 14:13 <cedk> kotek: then report a bug
2013-09-17 14:17 <kotek> I'll try to do something with it...
2013-09-17 15:12 <kotek> cedk, do you have any step-by-step example how reconcilation'd work?
2013-09-17 15:13 <cedk> kotek: select lines, click on reconcile wizard
2013-09-17 15:13 <kotek> Lines? When I have hilighted two lines and rightclick selection it ends with only one selected line...
2013-09-17 15:16 <cedk> kotek: never say to make right-click
2013-09-17 15:16 <kotek> Uhmm...
2013-09-17 15:19 <cedk> kotek: wizards are in actions: http://doc.tryton.org/2.8/tryton/doc/usage.html#tool-bar
2013-09-17 15:23 <kotek> AttributeError: 'account.move.reconcile_lines.writeoff' Model has no attribute 'journal': None
2013-09-17 15:26 <cedk> kotek: fixed by changeset 9a6496b3d603
2013-09-17 15:27 <kotek> So... I have a buggy version?
2013-09-17 15:29 <cedk> kotek: don't know your version
2013-09-17 15:29 <kotek> 2.6.2?
2013-09-17 15:32 <cedk> kotek: fix is in 2.6.3 but last version is 2.6.5
2013-09-17 15:33 <kotek> Fedora. <3
2013-09-17 15:35 <pokoli> cedk: review1061003 doesn't apply on trunk. Could you update please?
2013-09-17 15:35 <cedk> kotek: in series 2.6 because series 2.8 is already out
2013-09-17 15:36 <cedk> pokoli: done
2013-09-17 15:36 <pokoli> cedk: thanks :)
2013-09-17 15:40 <pokoli> cedk: reduced the time from 6 min to 1:45 min
2013-09-17 15:42 <jvblasco> cedk: when u say a link u mean a URL to a web?
2013-09-17 15:44 <jvblasco> cedk: solved. Thnx for the help. Insert->Picture->From file... solved the issue
2013-09-17 16:32 <motaro> Good morning. Question: I want create a graph structure using an object 'Work' as vertex, so to have work.adjacent = fields.One2Many('work', 'adjacent', 'Adjacent'). I'm not sure will be the right way to do this.
2013-09-17 16:39 <cedk> motaro: why not but you have to create also the Many2One
2013-09-17 16:40 <cedk> motaro: but maybe you do the same as project_plan module
2013-09-17 16:40 <motaro> I was thinking in comparison of using work.adjacent = fields.Many2Many.
2013-09-17 16:41 <motaro> cede, I'm extending it actually, but want to move away from a tree structure to a graph.
2013-09-17 16:42 <cedk> motaro: there is a graph in project_plan
2013-09-17 16:42 <motaro> cedk, there is what do you mean?
2013-09-17 16:44 <motaro> cede, when I say graph I mean a network diagram.
2013-09-17 16:45 <cedk> motaro: don't know what is a "network diagram" but I know the mathematical def. of graph
2013-09-17 16:46 <cedk> motaro: if I rememeber correctly, project_plan has a acyclic graph
2013-09-17 16:46 <motaro> cede, project_plan not project.
2013-09-17 16:46 <motaro> cedk, let check it then.
2013-09-17 17:12 <vezjakv> hi all, a little help needed: while using tryton trunk, i'm getting exception
2013-09-17 17:12 <vezjakv> translation = Transaction.__table__() AttributeError: type object 'Transaction' has no attribute '__table__'
2013-09-17 17:13 <vezjakv> this happens at Localisation > Set Translations
2013-09-17 17:13 <vezjakv> using sqlite backend
2013-09-17 17:21 <vezjakv> should it be Translation.__table__() instead of Transaction.__table__()?
2013-09-17 17:25 <nicoe> vezjakv: yes it should be Translation not Transaction
2013-09-17 17:26 <nicoe> vezjakv: Can you report it and make a patch?
2013-09-17 17:27 <vezjakv> I've changed and got another exception :(
2013-09-17 17:27 <vezjakv> in the next line: AttributeError: '_Cursor' object has no attribute 'extend'
2013-09-17 17:28 <cedk> vezjakv: I'm fixing it
2013-09-17 17:28 <vezjakv> ok
2013-09-17 17:39 <cedk> vezjakv: fixed with rev 1adc47cb4ce0
2013-09-17 17:39 <vezjakv> ql, thnx a lot. I want to incorporate sl_SI translation asap
2013-09-17 17:41 <vezjakv> cedk: it works :)
2013-09-17 17:43 <vezjakv> cedk: 'Synchronize Translations' fail with: assert isinstance(value, unicode) AssertionError
2013-09-17 17:43 <vezjakv> it seems False -> None issue?
2013-09-17 17:45 <cedk> vezjakv: update ir module
2013-09-17 17:47 <cedk> vezjakv: indeed just fixed with rev 9a353986b168
2013-09-17 17:48 <motaro> cedk, sorry to bother you again, I installed the project_plan module when the daemon starts it registers the classes although on the client the choice to install it does not appear. What would you say it is?
2013-09-17 17:48 <cedk> motaro: https://bugs.tryton.org/issue2638
2013-09-17 17:50 <vezjakv> cedk: great! now I have preconditions met for translations -- thnx again for ultra-fast fixes.
2013-09-17 18:01 <vezjakv> cedk: hmm, I've bad luck today: if I select a language different than English I get an exception at Synchronize Translations:
2013-09-17 18:01 <vezjakv> translation.py", line 1440, in do_update 'name': row['name'], KeyError: 'nam
2013-09-17 18:01 <cedk> vezjakv: lines?
2013-09-17 18:02 <vezjakv> lines? in src translation.py?
2013-09-17 18:10 <cedk> vezjakv: can not reproduce
2013-09-17 18:11 <vezjakv> cedk: u tried with different lang? ok. then it should on my side. sorry for disturbance
2013-09-17 18:14 <vezjakv> cedk: I've transfered .po from 2.8 branch, ``trytond -d dbname -u all``doesn't work anymore?
2013-09-17 18:15 <cedk> vezjakv: which Db are you using?
2013-09-17 18:15 <vezjakv> sqlite
2013-09-17 18:16 <cedk> vezjakv: could you fill an issue because it works with PG
2013-09-17 18:17 <vezjakv> cedk: ok, it throws: server.py", line 115, in run raise Exception("'%s' is not a Tryton database!" % db_name) Exception: 'datatest' is not a Tryton database!
2013-09-17 18:45 <vezjakv> cedk: maybe one note: when executing Synchronize Translation, `` for row in cursor.dictfetchall()`` have keys like '"a"."name"' instead of "name". is this backend specific? i.e. sqlite?
2013-09-17 18:47 <cedk> vezjakv: yes, probably SQLite is not strictly conform
2013-09-17 18:48 <cedk> vezjakv: I guess it needs aliases
2013-09-17 18:48 <vezjakv> cedk: probably not an easy quick fix
2013-09-17 18:49 <vezjakv> cedk: maybe i need to switch to pg to continue
2013-09-17 18:53 <cedk> vezjakv: probably if you don't want to waste time on such tricky issue
2013-09-17 18:54 <cedk> vezjakv: but please report the bug
2013-09-17 18:54 <vezjakv> cedk: yes, of course
2013-09-17 21:48 -!- motaro(~ricardo@190.166.201.190) has left #tryton
2013-09-17 22:21 <marc0s> is it possible to display/hide a form tab depending on the value of a field?
2013-09-17 22:23 <matje> hi
2013-09-17 22:28 <matje> I'm looking for a replacement for my openerp installation, while I can moan a lot about openerp it does do one thing right: my Belgian VAT reports. I find a reference here and there if I google it but nowhere a clear statement, does Tryton have this onboard / is there somebody working on it / can I help ?
2013-09-17 22:50 <nicoe> matje: there is a belgian localization module: https://pypi.python.org/pypi/trytond_account_be
2013-09-17 22:51 <matje> ah, nice
2013-09-17 22:53 <matje> is it fully functional?
2013-09-17 22:57 <nicoe> matje: I don't know
2013-09-17 22:59 <matje> well... there's only 1 way to find out I guess :)
2013-09-17 23:10 <nicoe> indeed :)

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