IRC logs of #tryton for Thursday, 2009-08-13 #tryton log beginning Thu Aug 13 00:00:02 CEST 2009
2009-08-13 00:08 -!- juanfer(n=juanfer@ has joined #tryton
2009-08-13 05:19 -!- yangoon( has joined #tryton
2009-08-13 08:26 -!- paepke( has joined #tryton
2009-08-13 08:56 -!- carlos( has joined #tryton
2009-08-13 08:59 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-08-13 09:03 -!- enlightx( has joined #tryton
2009-08-13 09:10 -!- bechamel( has joined #tryton
2009-08-13 10:16 -!- bechamel( has joined #tryton
2009-08-13 10:16 -!- paepke( has joined #tryton
2009-08-13 10:16 -!- FWiesing( has joined #tryton
2009-08-13 10:16 -!- udono( has joined #tryton
2009-08-13 10:22 <udono> carlos: ping
2009-08-13 10:22 <carlos> udono: pong
2009-08-13 10:22 <udono> Hello
2009-08-13 10:23 <carlos> hi
2009-08-13 10:23 <udono> carlos: Are you experienced in constructing charts of accounts?
2009-08-13 10:23 <udono> carlos: I see your wiki page...
2009-08-13 10:23 <carlos> I have some experience, yes
2009-08-13 10:23 <carlos> I need to finish writing such page...
2009-08-13 10:24 <udono> carlos: I just start to create a small and simple chart for germany
2009-08-13 10:24 <udono> carlos: but having a wired problem
2009-08-13 10:24 <carlos> didn't you have one already?
2009-08-13 10:24 <carlos> anyway, what's the problem?
2009-08-13 10:25 <udono> carlos: yes we have one, but there are more than one used in germany
2009-08-13 10:25 <carlos> ok, just like in Spain
2009-08-13 10:25 <carlos> I guessed they would be quite similar
2009-08-13 10:26 <udono> carlos: yes
2009-08-13 10:27 <udono> carlos: sorry, phone
2009-08-13 10:27 <carlos> ok
2009-08-13 10:29 <udono> carlos: back
2009-08-13 10:30 <carlos> welcome back
2009-08-13 10:31 <udono> carlos: the chart I like to produce is special for very small companies. The other chart we already have is industry standard, but much to big for a small company.
2009-08-13 10:31 <udono> carlos: My problem is an error message on the end of applieng a chart for a company
2009-08-13 10:32 <udono> there I get an error message 'type is required for account'
2009-08-13 10:32 <udono> But all my accounts have a type.
2009-08-13 10:33 <udono> carlos: do you know if there need to be something special with the id of records?
2009-08-13 10:33 <carlos> is your chart of accounts available in any place so I could take a look to it?
2009-08-13 10:33 <carlos> udono: no that I'm aware of
2009-08-13 10:34 <udono> carlos: you need a module or just the xml?
2009-08-13 10:34 <carlos> I think the xml is enough
2009-08-13 10:35 <udono> carlos:
2009-08-13 10:35 <carlos> phone...
2009-08-13 10:36 <udono> carlos: ok
2009-08-13 10:37 <udono> carlos: But wait, I try to condense the chart for better reading to the error part.
2009-08-13 10:37 <udono> ACTION if I find the error part...
2009-08-13 10:53 <carlos> udono: the first thing I'm not sure is correct is the number of balance_sheet = True that you have
2009-08-13 10:53 <carlos> udono: unless you need/have such huge amount of balance sheet reports
2009-08-13 10:54 <carlos> you just set it to true to the parent node
2009-08-13 10:54 <udono> carlos: ah, ok. Tryton dives down to the childs?
2009-08-13 10:54 <carlos> and the others will be included, I'm not sure what would do Tryton, but I bet that it will show you as many blance_sheet reports as nodes that have such field set to True
2009-08-13 10:56 <udono> carlos: ah, ok. I thought I need to check them, so that they are ioncluded in onen balance report...
2009-08-13 10:57 <carlos> no, just the root parent
2009-08-13 10:59 <udono> carlos: ok, I will try with root node only
2009-08-13 10:59 <carlos> udono: also, if the kind == view, the type is not required
2009-08-13 11:00 <udono> carlos: yes, this I read in you wiki page
2009-08-13 11:02 <carlos> other than that, I don't see anything that may cause the error. Once you change all that, if the error is still raised (I don't see those changes either as the solution to your problem), could you send me the module? I will try to do the import myself to see whether I could get more information
2009-08-13 11:04 <udono> carlos: a pitty, doesn't work
2009-08-13 11:05 <udono>
2009-08-13 11:05 <udono> I also changed one very long id...
2009-08-13 11:06 <carlos> udono: I would remove the balance_sheet tag, that will reduce the size of your xml file
2009-08-13 11:06 <udono> carlos: ok
2009-08-13 11:06 <carlos> btw, is not a surprise that it still fails ;-)
2009-08-13 11:09 <udono> carlos: why do you think?
2009-08-13 11:10 <carlos> because the comments I gave to you are not the kind of mistakes that produce errors, just changes the behaviour of the chart of accounts
2009-08-13 11:21 <yangoon> udono: line 596 seems to reference to itself. Is that ok?
2009-08-13 11:22 <yangoon> udono: no sorry, wrong, it references to type
2009-08-13 11:26 <CIA-2> C?dric Krier <> default * 1939:d1fa8f0dac84 trytond/trytond/ir/action.xml: Fix col of ir.action.act_window form
2009-08-13 11:26 <CIA-2>
2009-08-13 11:26 <CIA-2> C?dric Krier <> default * 1940:29c37dcaf5c0 trytond/trytond/ir/action.xml: Make ir.action form looks like others ir.action.*
2009-08-13 11:26 <CIA-2>
2009-08-13 11:26 <CIA-2> C?dric Krier <> default * 1941:f5ee6849792d trytond/trytond/ir/action.xml: Make form looks like others ir.action.*
2009-08-13 11:26 <CIA-2>
2009-08-13 11:30 <udono> carlos: yangoon:
2009-08-13 11:31 <udono> ACTION eating
2009-08-13 11:55 <udono> back
2009-08-13 11:56 <carlos> udono: I got the same error, but it takes ages to get it (I guess due to my other active chart of accounts....) I added some debugging code to see whether I could catch the error. Will tell you something later
2009-08-13 11:57 <udono> carlos: I already know where the error arise
2009-08-13 11:58 <udono> carlos: but it doesn't helps me...
2009-08-13 11:59 <carlos> where is it? I just want to reduce the error searching field
2009-08-13 12:00 <udono> carlos:
2009-08-13 12:13 <udono> carlos: but this part is hard to debug for me, since I do not understand what happens there. And each debug cycle takes ~10 Minutes on my system...
2009-08-13 12:18 <carlos> yeah, same here...
2009-08-13 12:19 <carlos> udono: I think if you deactivate all chart of accounts except this one in your running application (deactivate = remove completely) it may go faster
2009-08-13 12:22 <udono> carlos: yes, this could be a way.
2009-08-13 12:24 <udono> carlos: what I don't understand is, why the chart is installed without a problem. If there are id problems, they needed to arise on installation time, not on applying the chart from the template...
2009-08-13 12:26 <yangoon> udono: did you try already with all account.account.type.template, but only one account.account.template?
2009-08-13 12:34 <udono> yangoon: I'll try it
2009-08-13 13:07 <udono> yangoon: Strange, I deleted the last real accounts: acc_receivable, acc_payable,acc_bank, acc_cash_book, acc_opening_balance, acc_Income_41, acc_Expense_261
2009-08-13 13:07 <udono> yangoon: and it works
2009-08-13 13:08 <udono> yangoon: carlos: so I try to install step by step, until I find the error.
2009-08-13 13:10 <carlos> udono: here, seems like the problem is with the account template 'Forderungen'
2009-08-13 13:10 <carlos> at least, that's the one raising the error
2009-08-13 13:15 <udono> carlos: yes, you got it
2009-08-13 13:15 <carlos> but I don't see anything wrong there...
2009-08-13 13:15 <carlos> except that for some reason, tryton thinks that the type is indeed null
2009-08-13 13:16 <udono> carlos: yes
2009-08-13 13:17 <udono> carlos: It is the account which is requested in the next step of the wizard. Receivable...
2009-08-13 13:19 <udono> next Account is wrong, too: acc_payable
2009-08-13 13:19 -!- ikks(n=ikks@ has joined #tryton
2009-08-13 13:20 <carlos> the only clue I can think on is that those accounts have the type = to the balance_sheet type
2009-08-13 13:21 <udono> carlos: hmm...
2009-08-13 13:22 <udono> carlos: could be, I try
2009-08-13 13:25 <udono> FYI: only payable and receivable accounts are wrong. the rest seems ok. This two accounts have reconceile = True
2009-08-13 13:31 <udono> carlos: nope, I put the type ref to acc_type_type_balance, but doesn't work.
2009-08-13 13:52 <carlos> udono: for some reason, when Tryton creates the account from the account template, the type is lost
2009-08-13 13:52 <carlos> so I doubt is a problem in the xml itself
2009-08-13 13:53 <carlos> but a bug in Tryton
2009-08-13 13:53 <carlos> ACTION tries some extra debugging before leaving for lunch
2009-08-13 13:57 <udono> carlos: but the minimal account chart is applied correct
2009-08-13 13:59 <carlos> well, I'm not saying that the bug is there always, is just that, for some reason, your xml exposes the bug, but I'm waiting for tryton to give me a pdb shell to confirm it so it's just a guess right now
2009-08-13 14:01 <udono> carlos: yes, you are right, type is evaluated to False
2009-08-13 14:12 <udono> carlos: Tryton gives me always the same type id back: 87, but in the template2type list this id is not found.
2009-08-13 14:12 <carlos> yeah, that's what I'm trying to debug
2009-08-13 14:13 <carlos> when my firefox got all my memory and made the debugging task even more slow...
2009-08-13 14:16 <udono> :-)
2009-08-13 14:17 <udono> carlos: in my system it is the type of the "Chart of Account Types EÜR (Germany)" my root type, without parent
2009-08-13 14:17 <carlos> yeah
2009-08-13 14:17 <carlos> udono: I think I will need to stop this and resume it after lunch
2009-08-13 14:18 <carlos> my wife is going to kill me (I'm already 30 minutes late...)
2009-08-13 14:18 <carlos> udono: I will ping you when I'm back from lunch
2009-08-13 14:18 <udono> carlos: ok, bon appetit, and thanks for debugging
2009-08-13 14:18 <carlos> np
2009-08-13 14:18 <carlos> cheers
2009-08-13 15:04 -!- _TiN_( has joined #tryton
2009-08-13 15:38 <udono> carlos: yangoon, got it
2009-08-13 15:50 -!- woakas(n=woakas@ has joined #tryton
2009-08-13 16:38 <carlos> udono: what was it?
2009-08-13 16:40 <udono> <field name="balance_sheet" eval="True"/> on root_account_type
2009-08-13 16:41 <udono> carlos: but maybe Iam wrong. I deleted all standard values.
2009-08-13 16:43 <udono> carlos: now it looks like
2009-08-13 16:43 <carlos> udono: now that you mention it... it may be the reason, I had a similar problem when I started with the Spanish chart of accounts (sorry I forgot it completly until now you mention it...)
2009-08-13 16:44 <carlos> I think the solution is to add a dummy root node, from where all balance_sheet and income_statement nodes are childs of it
2009-08-13 16:44 <carlos> udono: yeah, that one looks like the same approach I took and the one that I think is used in the other Tryton chart of accounts
2009-08-13 16:44 <udono> carlos: no problem. I just re-analysed the minimal chart, then I saw it.
2009-08-13 16:45 -!- johbo( has joined #tryton
2009-08-13 16:45 <carlos> however, I guess Tryton should warn about it instead of showing such obscure error
2009-08-13 16:45 <udono> carlos: yes, I think the root is just needed for having a named chart of accounts and types.
2009-08-13 16:46 <carlos> udono: could you add a comment to my wiki page so I take care to add a note about it in the final version of that howto?
2009-08-13 16:47 <udono> carlos: of course I will do
2009-08-13 16:47 <carlos> udono: thank you!
2009-08-13 16:48 <yangoon> udono: JFYI case in id="acc_Income_10"
2009-08-13 16:49 <yangoon> udono: etc. acc_Expense_10 ...
2009-08-13 16:55 <udono> carlos: done
2009-08-13 16:55 <udono> yangoon: Thanks
2009-08-13 16:55 <carlos> udono: cool, thanks
2009-08-13 16:57 <CIA-2> C?dric Krier <> default * 1942:97d45196d74a trytond/trytond/model/ Clean also _language_cache in write and delete
2009-08-13 16:57 <CIA-2>
2009-08-13 16:57 <udono> yangoon: fixed:
2009-08-13 16:57 -!- evernichon( has joined #tryton
2009-08-13 17:02 <CIA-2> udo.spallek * r718 /wiki/ Edited wiki page through web user interface.
2009-08-13 17:02 <CIA-2> udo.spallek * r719 /wiki/ Edited wiki page through web user interface.
2009-08-13 17:02 <CIA-2> udo.spallek * r720 /wiki/ Edited wiki page through web user interface.
2009-08-13 17:10 -!- enlightx(n=enlightx@ has joined #tryton
2009-08-13 17:11 -!- juanfer(n=juanfer@ has joined #tryton
2009-08-13 18:50 -!- enlightx(n=enlightx@ has joined #tryton
2009-08-13 19:46 -!- enlightx(n=enlightx@ has joined #tryton
2009-08-13 23:00 -!- bechamel( has left #tryton

Generated by 2.17.3 by Marius Gedminas - find it at!