IRC logs of #tryton for Tuesday, 2008-08-19

chat.freenode.net #tryton log beginning Tue Aug 19 00:00:01 CEST 2008
2008-08-19 00:17 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-19 05:19 -!- yangoon(n=mathiasb@p549F55A7.dip.t-dialin.net) has joined #tryton
2008-08-19 06:01 -!- udono_(n=uspallek@dynamic-unidsl-85-197-20-149.westend.de) has left #tryton
2008-08-19 06:36 -!- udono_(n=uspallek@dynamic-unidsl-85-197-20-149.westend.de) has joined #tryton
2008-08-19 06:36 -!- udono_(n=uspallek@dynamic-unidsl-85-197-20-149.westend.de) has left #tryton
2008-08-19 08:04 -!- Gedd(n=ged@77.109.114.177) has joined #tryton
2008-08-19 08:20 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-08-19 09:13 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-19 09:31 -!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton
2008-08-19 09:40 -!- leyoda(n=leyoda@pic33-1-87-88-179-8.dsl.club-internet.fr) has joined #tryton
2008-08-19 09:47 -!- Gedd(n=ged@ip-80-236-206-69.dsl.scarlet.be) has joined #tryton
2008-08-19 09:56 <cedk> http://fptiny.blogspot.com/2008/08/accounting-speed-improvement.html
2008-08-19 09:58 <cedk> what about do fp talk, is just the Modified Preorder Tree Traversal
2008-08-19 09:58 <cedk> that we make one month ago
2008-08-19 09:59 <cedk> but of course our implementation is more powerfull :-)
2008-08-19 09:59 <leyoda> ;-)
2008-08-19 10:00 <cedk> he needs to put ondelete cascade on account
2008-08-19 10:00 <cedk> which is for me, a little bit insecure
2008-08-19 10:01 <bechamel> cedk: why did he need the cascade stuff ?
2008-08-19 10:02 <cedk> bechamel: because he don't update the child when the parent is deleted
2008-08-19 10:03 <bechamel> cedk: laziness or bad implmentation ?
2008-08-19 10:03 <cedk> I don't know
2008-08-19 10:12 <cedk> And what do you think about his modification to have the debit/credit fields computed with all the debit/credit from all the childs of the account ?
2008-08-19 10:12 <cedk> udono: ping
2008-08-19 10:12 <cedk> Timitos: ping
2008-08-19 10:17 <Timitos> cedk: I don´t see the need of this modification
2008-08-19 10:18 <Timitos> cedk: udono worked all night. i think he will be available in the afternoon. ;-)
2008-08-19 10:18 <cedk> Timitos: for me I think it is not usefull for accouting
2008-08-19 10:18 <Timitos> cedk: +1
2008-08-19 10:18 <cedk> Timitos: udono ping was a mistake, I know it is you that have the accounting knowledge :-)
2008-08-19 10:19 <cedk> Timitos: I think also, that it breaks all the reports :-)
2008-08-19 10:19 <Timitos> :-)
2008-08-19 10:21 <Timitos> cedk: what do you think about creating a root account type for balance account types? i think it would be good to have only one line for account types of minimal acount chart. so if you install another account chart later it would be easier to find them in the tree.
2008-08-19 10:23 <cedk> Timitos: I don't understand
2008-08-19 10:25 <Timitos> cedk: if you open account types tree you have account types "asset" "liability" "equity". Why not make a parent "Balance" for them? Only "Off-Balance" needs to have no parent.
2008-08-19 10:27 <cedk> Timitos: because, when you will open "Balance Sheet" you will see only one entry
2008-08-19 10:28 <cedk> Timitos: I think it is not very userfriendly
2008-08-19 10:29 <Timitos> cedk: for the small number of account types this might be. but if you have some more account types you can loose overview faster this way.
2008-08-19 10:30 -!- ansx(i=nil@motocultabl.eu) has joined #tryton
2008-08-19 10:31 <cedk> Timitos: I think that other account types will go under one existant and not on the top
2008-08-19 10:32 <Timitos> cedk: would you propose to delete minimal chart and minimal account types when installing another one?
2008-08-19 10:33 <Timitos> cedk: if i would use your way i would have 15 account types on top level. without the ones of basic installation
2008-08-19 10:33 <cedk> Timitos: for minimal accoutn chart, I propose to inactivate it
2008-08-19 10:34 <cedk> Timitos: and for account types, just extend it
2008-08-19 10:34 <cedk> Timitos: can you give me the names of those account types ?
2008-08-19 10:39 <cedk> Timitos: I don't see what you can have in more than Asset-Liability-Equity
2008-08-19 10:39 <Timitos> cedk: i will send you a prototype of account_de. i integrated account types there.
2008-08-19 10:41 -!- ansx(i=nil@motocultabl.eu) has joined #tryton
2008-08-19 11:12 -!- ansx(i=nil@motocultabl.eu) has joined #tryton
2008-08-19 11:35 <cedk> Timitos: I don't understand why you balance sheet doesn't look like this http://de.wikipedia.org/wiki/Bilanz
2008-08-19 11:37 <cedk> Timitos: we can create a account type "Liabilities and Equity" to have the active/passive view
2008-08-19 11:38 <Timitos> cedk: its quite near to this link. there is no big difference.
2008-08-19 11:39 <cedk> Timitos: under Activa there is a lot more types
2008-08-19 11:41 <Timitos> cedk: yes there are some special types.
2008-08-19 11:41 <Timitos> cedk: as i am parsing from some documents it would be some more difficult to wipe out those special types.
2008-08-19 11:57 <cedk> Timitos: perhaps, it will be better to start with a simple type chart
2008-08-19 12:00 <Timitos> cedk: i don´t understand
2008-08-19 12:01 <cedk> Timitos: you say that there is some special types
2008-08-19 12:04 <Timitos> cedk: but this is one of the account charts most wanted in germany. but i will try to make some clean up. you have a prototype anyway. don´t forget.
2008-08-19 12:12 -!- udono(n=udono@dynamic-unidsl-85-197-24-226.westend.de) has joined #tryton
2008-08-19 12:56 -!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton
2008-08-19 13:34 <udono> Hi all
2008-08-19 13:36 <udono> cedk: Thanks for helping out yesterday. You have been right, its easy to extend reports with new templates.
2008-08-19 14:08 -!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton
2008-08-19 15:45 <udono> hello, there are some minor problems in adding another report to the account_invoice...
2008-08-19 15:49 <cedk> udono: and ?
2008-08-19 15:50 <cedk> Timitos: Do you think that account type must be linked to the account chart ?
2008-08-19 15:50 <udono> In draft mode I am able to generate invoicereports with my own templates. The structure is exemplified there: http://paste.pocoo.org/show/82694/
2008-08-19 15:51 <cedk> Timitos: like that we can have different account type structur per account chart (country)
2008-08-19 15:51 <cedk> udono: ok, I understand
2008-08-19 15:51 <Timitos> cedk: i just talked about that with udono. this is what i wanted to propose to you.
2008-08-19 15:52 <udono> But when I try to set the Invoice state to 'open' Then I get the error: http://paste.pocoo.org/show/82695/
2008-08-19 15:53 <udono> In report.py is defined: action_report_obj = self.pool.get('ir.action.report') action_report_ids = action_report_obj.search(cursor, user, [ ('report_name', '=', self._name) ], context=context)
2008-08-19 15:53 <udono> which refers to report_name=self._name
2008-08-19 15:54 <udono> but self._name is the name of the calling class in this case account_invoice... but I need it to have account_invoice_custom. How?
2008-08-19 15:55 <cedk> udono: did you remove the ir.action.report of the normal invoice?
2008-08-19 15:55 <udono> cedk: not mentioned, but happened...
2008-08-19 15:56 <udono> cedk: just with this module
2008-08-19 15:56 <cedk> udono: ok, in invoice.py there is the function print_invoice
2008-08-19 15:56 <cedk> udono: that is called when you open an invoice
2008-08-19 15:56 <cedk> udono: it generate the normal invoice and save it in the database
2008-08-19 15:57 <Timitos> cedk: i think that account types should be installed only if the refering account chart is installed. i think this is what you mean.
2008-08-19 15:57 <cedk> udono: so I think you must keep it working and add the save of your report
2008-08-19 15:57 <cedk> Timitos: yes, I would like to have a account type template like for tax and account
2008-08-19 15:58 <Timitos> great idea
2008-08-19 16:20 <udono> cedk: I tried it, but it wont work. See http://paste.pocoo.org/show/82698/ same error as before http://paste.pocoo.org/show/82695/
2008-08-19 16:22 <udono> cedk: I tried it with just overwriting the states datastructure, but this will not work, too
2008-08-19 16:46 -!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton
2008-08-19 16:55 <udono> cedk: oh, there is a big bug... i have a module as zip inside my modules directory, and none of my changes work, because the zip module is evaluated first... what a pitty. Sorry, I try out further...
2008-08-19 16:55 <udono> cedk: BTW I find this is bad behavoir to evaluate zip modules first... I will open an issue
2008-08-19 17:09 <cedk> udono: not me because a zip file is like on override of a module
2008-08-19 17:13 <udono> cedk: yes, but Endusers will get zip modules anyway. So they install everytime Zip modules, but when working on the module, than the folder module should overwrite a zip, because the foldered module is everytime more new than a zip...
2008-08-19 17:13 <cedk> udono: I not agreed that end user will use only zip module
2008-08-19 17:15 <udono> cedk: but its much more clean to provide a zip for a special version of tryton. maybe with a md5 hash to make shure everything is as released...
2008-08-19 17:17 <cedk> udono: I think we will publish module version on pypi and maybe some distribution will include it
2008-08-19 17:21 <udono> cedk: we are gonna tryton and modules easy_instal'able?
2008-08-19 17:21 <cedk> udono: yes of course
2008-08-19 17:22 <udono> cedk: 1+ best way! I remembered another opinion in a discussion with htgoebel...
2008-08-19 17:22 <udono> cedk: but everything changes everytime ;-)
2008-08-19 18:54 -!- CIA-55(n=CIA@208.69.182.149) has joined #tryton
2008-08-19 19:04 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 667:f85dff32746f tryton/ (share/tryton/tryton.glade tryton/gui/main.py): Add ssl info for tooltip
2008-08-19 19:04 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 668:1b75f434f217 tryton/tryton/ (common/common.py gui/main.py translate.py): Test also for mac install with uname for Darwin
2008-08-19 19:05 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 857:78c5a69997c1 trytond/trytond/report/report.py: Test also for mac install with uname for Darwin
2008-08-19 19:05 <CIA-55> tryton: C?dric Krier <ced@b2ck.com> default * 177:54e807207b4a account/account.py: Test also for mac install with uname for Darwin
2008-08-19 20:12 -!- leyoda(n=leyoda@pic33-1-87-88-179-8.dsl.club-internet.fr) has left #tryton
2008-08-19 20:23 <udono> what is the difference between on_change and on_change_with?
2008-08-19 20:27 <udono> ok, I got it, thx

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