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

chat.freenode.net #tryton log beginning Tue Aug 12 00:00:01 CEST 2008
2008-08-12 05:01 -!- markusleist(n=markus@n4-82.dsl.vianetworks.de) has joined #tryton
2008-08-12 07:23 -!- FWiesing(n=Wiesinge@194.208.185.12) has joined #tryton
2008-08-12 07:32 <udono> Good Morning FWiesing
2008-08-12 08:12 -!- Gedd(n=ged@77.109.115.243) has joined #tryton
2008-08-12 08:25 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-08-12 09:08 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-12 09:08 <gadaga> hi
2008-08-12 09:09 <Timitos> gadaga: hi
2008-08-12 09:09 <gadaga> Timitos: hi
2008-08-12 09:10 <gadaga> Timitos: did you know if we have bak statement in tryton?
2008-08-12 09:10 <gadaga> bank
2008-08-12 09:10 <Timitos> just a moment i am on the phone
2008-08-12 09:15 -!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton
2008-08-12 09:17 -!- leyoda(n=leyoda@pic33-1-87-88-179-8.dsl.club-internet.fr) has joined #tryton
2008-08-12 09:19 <gadaga> bechamel: hi
2008-08-12 09:19 <Timitos> gadaga: yes there is a module account_statement
2008-08-12 09:20 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-12 09:20 <gadaga> Timitos: thx
2008-08-12 09:24 <gadaga> bechamel, cedk: why account_invoice don't depend on account_statement?
2008-08-12 09:25 <cedk> gadaga: because it doesn't need
2008-08-12 09:26 <bechamel> gadaga, cedk : but account_statement will depend on invoice i think
2008-08-12 09:26 <gadaga> bechamel: no
2008-08-12 09:27 <gadaga> bechamel: account, company,currency, relationship ....
2008-08-12 09:29 <cedk> gadaga: "will"
2008-08-12 09:44 -!- markusleist(n=markus@n4-82.dsl.vianetworks.de) has joined #tryton
2008-08-12 10:01 <udono> Hello all
2008-08-12 10:11 -!- gael_(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-12 10:40 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-08-12 11:07 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-12 11:17 <CIA-54> tryton: Timitos roundup * #245/cannot create new db: [new] if i try to create a new database i get this error 2008-08-12 11:14:44,759 ERROR CREATE DB: account_SKR07 failed 2008-08-12 11:14:44,760 ERR ...
2008-08-12 11:18 <CIA-54> tryton: ced roundup * #245/cannot create new db: [chatting] Put the all message
2008-08-12 11:20 <CIA-54> tryton: Timitos roundup * #245/cannot create new db: see attachment
2008-08-12 11:33 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 826:1875767f0dac trytond/trytond/osv/orm.py: Fix typo for issue245
2008-08-12 11:34 <CIA-54> tryton: ced roundup * #245/cannot create new db: [resolved] Fix with changeset 1875767f0dac
2008-08-12 12:38 -!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton
2008-08-12 13:05 -!- kultviech(n=kultviec@p5B0D329A.dip0.t-ipconnect.de) has joined #tryton
2008-08-12 13:37 <CIA-54> tryton: uspallek roundup * #246/TypeError: not all arguments converted during string formatting: [new] Traceback (most recent call last): File "/trytond/netsvc.py", line 335, in run res = method(*msg[2:]) File "trytond/web_service/wiza ...
2008-08-12 13:37 <CIA-54> tryton: uspallek roundup * #246/TypeError: not all arguments converted during string formatting: [chatting] Trying to upgrade the IR module... this error happens.
2008-08-12 13:43 <CIA-54> tryton: uspallek roundup * #246/TypeError: not all arguments converted during string formatting: [resolved] ups, forget an u=all. Sorry...
2008-08-12 13:52 <udono> A strange thing happens, my menu is broken... there are just some folder entrys inside without action. I cant get the ir > ui > menus form to adjust. Is there a way to reset the menu?
2008-08-12 14:04 <cedk> udono: just update
2008-08-12 14:05 <udono> cedk: I try, but the problem resist...
2008-08-12 14:51 -!- ansx(i=nil@motocultabl.eu) has joined #tryton
2008-08-12 14:51 <ansx> hi
2008-08-12 14:51 <Timitos> ansx: hi
2008-08-12 14:57 <ansx> is this ok if I ask some openerp-related questions in here?
2008-08-12 15:06 <Timitos> ansx: why do you want to do this?
2008-08-12 15:08 <ansx> because this looks like the only one irc channel with people having some openerp knowledge :p
2008-08-12 15:09 <CIA-54> tryton: udono roundup * #247/TypeError: not all arguments converted during string formatting: [new] Traceback (most recent call last): File "/trytond/netsvc.py", line 335, in run res = method(*msg[2:]) File "/trytond/web_service/obj ...
2008-08-12 15:10 <Timitos> haven´t seen you on #tinyerp or #openerp before. did you try those channels?
2008-08-12 15:11 <ansx> nope, I did not even know that those channels existed
2008-08-12 15:11 <Timitos> ansx: they exist. did you already test tryton?
2008-08-12 15:12 <ansx> nope :(
2008-08-12 15:12 <ansx> just found out the website
2008-08-12 15:14 <Timitos> perhaps you find some time to test it.
2008-08-12 15:14 <ansx> I just started openerp integration, I'd like some more experience before giving a try to tryton
2008-08-12 15:15 <Timitos> ansx: you are always welcome
2008-08-12 15:16 <CIA-54> tryton: udono roundup * #247/TypeError: not all arguments converted during string formatting: [chatting] I try to add a partner address and save, then it breaks. There has been an error before, I patched (see attachment): ERROR:common.messa ...
2008-08-12 15:18 -!- leyoda(n=leyoda@pic33-1-87-88-179-8.dsl.club-internet.fr) has joined #tryton
2008-08-12 15:34 -!- kultviech(n=kultviec@p5B0D329A.dip0.t-ipconnect.de) has left #tryton
2008-08-12 16:22 <udono> cedk: I try to solve the above problem, but if I change something in the osv/orm, than the changes seems not recognized by tryton
2008-08-12 16:22 <udono> cedk: is there a cashing in the serverside for pyc? or something like this?
2008-08-12 16:36 -!- kultviech(n=kultviec@p5497489B.dip.t-dialin.net) has joined #tryton
2008-08-12 16:39 -!- kultviech(n=kultviec@p5497489B.dip.t-dialin.net) has joined #tryton
2008-08-12 16:45 <cedk> udono: no, there is nothing
2008-08-12 16:47 <udono> Can anyone save the address of a partner?
2008-08-12 16:48 <udono> (with recent hg update of trytond...)
2008-08-12 16:49 <Timitos> udono: seems to be working
2008-08-12 16:50 <udono> you have updated everything?
2008-08-12 16:50 <udono> Timitos:
2008-08-12 16:51 <Timitos> udono: yes i am up to date as there was no commit today
2008-08-12 16:51 <udono> ok
2008-08-12 16:54 <Timitos> udono: which modules do you have installed?
2008-08-12 16:55 <cedk> Timitos: there was some commits today but CIA seems to be down
2008-08-12 16:55 <udono> just the standard and relationship
2008-08-12 16:55 <Timitos> cedk: thx i will update new
2008-08-12 16:56 <Timitos> udono: i will update and verify. just a moment
2008-08-12 16:57 -!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton
2008-08-12 17:01 <Timitos> udono: i created a new db and added a new party. everythings is working
2008-08-12 17:01 <udono> can you save a new party address in the party form?
2008-08-12 17:01 <udono> Timitos:
2008-08-12 17:02 <Timitos> udono: yes
2008-08-12 17:07 <Timitos> cedk: when i was working on accountchart i noticed that there is a problem with account types
2008-08-12 17:07 <Timitos> cedk: income statement is a part of balance
2008-08-12 17:08 <Timitos> cedk: but i cannot connect income-account type to an account type from balance sheet.
2008-08-12 17:09 <cedk> Timitos: I don't understand, you want to put income statement in the balance sheet ?
2008-08-12 17:11 <Timitos> the sum of all income accounts must be added to the account type equity because this is the only way that balance will be 0. the sum of the balance must always be 0
2008-08-12 17:12 <Timitos> cedk: the income raises the equity of the company.
2008-08-12 17:15 <cedk> Timitos: this must be done with a account move
2008-08-12 17:16 <Timitos> cedk: so my balance sheet all the year will be not 0
2008-08-12 17:21 <cedk> Timitos: you want to put Income in Equity ?
2008-08-12 17:22 <Timitos> cedk: yes
2008-08-12 17:24 <cedk> Timitos: it will not be right because Income statement is before taxes
2008-08-12 17:27 <Timitos> cedk: sure, it is before taxes if taxes are not posted. but this is ok.
2008-08-12 17:28 <Timitos> cedk: you can test this. make some posts and you will see that your saldo of balance sheet will always be the same like your saldo of your income sheet.
2008-08-12 17:29 <gadaga> cedk: can we bypass check_modify in account.move.line for replace backup move lines without comment condition lines?
2008-08-12 17:29 <CIA-54> tryton: uspallek@Lisa.dsl default * 827:939950bfa71e trytond/trytond/osv/orm.py: solved: concatenation of str and list object.
2008-08-12 17:29 <CIA-54> tryton: ced roundup * #247/TypeError: not all arguments converted during string formatting: [resolved] Applied
2008-08-12 17:29 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 828:14f2c03919ce trytond/trytond/osv/orm.py: Put quote around table name
2008-08-12 17:30 <cedk> Timitos: yes, but it is not the real result as it is missing the taxes and so
2008-08-12 17:30 <Timitos> cedk: but if you add income to equity the balance will be more correct than now
2008-08-12 17:31 <Timitos> cedk: every accountant knows about this taxes issue
2008-08-12 17:31 <cedk> gadaga: no, you can not modify a posted move or a reconlied line or a move in closed period
2008-08-12 17:32 <cedk> Timitos: so is it good for to just put Equity as parent of Income in the account type?
2008-08-12 17:32 <Timitos> cedk: yes i think so
2008-08-12 17:33 <b52laptop> guys any tool that could enable me to get a Uml model of tryton ?
2008-08-12 17:33 <b52laptop> Timitos, :d
2008-08-12 17:34 <Timitos> b52laptop: :-D, another try?
2008-08-12 17:35 <b52laptop> Timitos, yeah :d
2008-08-12 17:42 <Timitos> b52laptop: there is some dia stuff for something like this i think. but i haven´t tried yet.
2008-08-12 17:43 <b52laptop> Timitos, well i just read about it once , never tested it actually , will try to luck further , thks for remembering about it
2008-08-12 17:44 <Timitos> b52laptop: today i understood what you are looking for ;-)
2008-08-12 17:46 <b52laptop> Timitos, lol :D yu tried to modify a module ?
2008-08-12 17:48 <Timitos> b52laptop: i think i was too tired last time. too much work
2008-08-12 17:48 <Timitos> b52laptop: yes i did some modules already
2008-08-12 17:48 <b52laptop> Timitos, hm ok
2008-08-12 17:57 <bechamel> b52laptop: there must exist tools to create graphics from postgreslq databases, but i i'm not able to name one.
2008-08-12 17:57 <cedk> b52laptop: the dia module from tiny, is just a oneshot modeling
2008-08-12 17:58 <cedk> b52laptop: is there a standard file format for UML description?
2008-08-12 17:58 <b52laptop> bechamel, i';m refering more to python code not the maping to database
2008-08-12 17:58 <cedk> otherwise I find this http://www.ffnn.nl/pages/articles/media/uml-diagrams-using-graphviz-dot.php
2008-08-12 17:58 <b52laptop> cedk, hm no idea
2008-08-12 17:58 <cedk> to create graph
2008-08-12 17:58 <Timitos> cedk: b52laptop: i do not mean the dia module from tiny
2008-08-12 17:58 <b52laptop> thanks
2008-08-12 17:58 <b52laptop> checking
2008-08-12 17:59 <b52laptop> cedk, yeah i mean an uml module of all tiny module , i mean the core software
2008-08-12 17:59 <cedk> I think it will not be too difficult to create a reports that generate the UML for the object of the current database
2008-08-12 18:00 <b52laptop> nop i don't mean the db , just uml model of the module generations the views , and the xml parser ... the foundations module of tinyu
2008-08-12 18:02 <cedk> b52laptop: those things are not really object oriented
2008-08-12 18:02 <b52laptop> cedk, ah ok
2008-08-12 18:02 <cedk> so I don't know if it is possible to have a UML
2008-08-12 18:03 <Timitos> i found this http://www.atug.com/andypatterns/pynsource.htm
2008-08-12 18:04 <b52laptop> interesting
2008-08-12 18:07 <cedk> I don't know if it will give you a good result
2008-08-12 18:07 <ansx> how are we suppose to replace one2one fields ?
2008-08-12 18:08 <cedk> b52laptop: by the way, the core of the framework is only 10000sloc
2008-08-12 18:08 <ansx> +d
2008-08-12 18:09 <b52laptop> cedk, 10.000sloc ; ligne of code ; nice expression "only" :) , for a senior developer it seems easy . fora noob it look like a mountain :)
2008-08-12 18:09 <cedk> with only 3000sloc for the osv stuff where I think there is the main part of what you are looking for
2008-08-12 18:09 <b52laptop> hm , interesting !
2008-08-12 18:09 <b52laptop> and i'm looking for networking too
2008-08-12 18:10 <ansx> + python is quite easy to read with a decent syntax hilighting
2008-08-12 18:10 <cedk> b52laptop: but if your interest is to write modules, you don't need to know those part
2008-08-12 18:10 <b52laptop> cedk, nop , my interest is to see how it works
2008-08-12 18:10 <ansx> the networking part is quite trivial, basicaly a bind between the orm part and SimpleXMLRPCServer
2008-08-12 18:10 <b52laptop> hm ok
2008-08-12 18:11 <cedk> b52laptop: I think you must focus on one things first
2008-08-12 18:11 <cedk> b52laptop: which part are you interesting?
2008-08-12 18:12 <b52laptop> cedk, how the UI is drawned i think it's ir right, and osv of course
2008-08-12 18:12 <ansx> almost all networking code is in service/web_services.py
2008-08-12 18:12 <cedk> for the UI, it is in the client that you must look
2008-08-12 18:12 <ansx> 15kB of code :p
2008-08-12 18:12 <b52laptop> hm ok
2008-08-12 18:13 <cedk> b52laptop: I thinkn it is the form parser you are looking for
2008-08-12 18:13 <cedk> b52laptop: http://www.tryton.org/hgwebdir.cgi/tryton/file/5b90ce72fbc9/tryton/gui/window/view_form/view/form_gtk/parser.py
2008-08-12 18:14 <b52laptop> cedk, thks checking
2008-08-12 18:14 <cedk> and for the ORM stuff it is:
2008-08-12 18:14 <cedk> http://www.tryton.org/hgwebdir.cgi/trytond/file/14f2c03919ce/trytond/osv/orm.py
2008-08-12 18:15 <b52laptop> thks
2008-08-12 18:22 -!- leyoda(n=leyoda@pic33-1-87-88-179-8.dsl.club-internet.fr) has joined #tryton
2008-08-12 18:24 <CIA-54> tryton: Timitos roundup * #227/translation of client does not work under windows: [chatting] translation still does not work. but there is no warning or error any more. see attachment
2008-08-12 18:24 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 173:5af6b6fbb151 account/account.xml: Set Income type in Equity
2008-08-12 18:27 <cedk> Timitos: can you check with this commit if balance sheet is ok for you?
2008-08-12 18:33 <udono> Iam struggeling with one2Many... Did I need any action for them or special _get/_set methods?
2008-08-12 18:34 <udono> they are displayed fine, but on saving the record, ther come a bunch of errors, after this I get an infinite loop of errors which I must break...
2008-08-12 18:37 <udono> http://paste.pocoo.org/show/81988/
2008-08-12 18:38 <udono> bechamel: cedk any idea? or some generals on one2many?
2008-08-12 18:42 <cedk> udono: can you paste the code
2008-08-12 18:44 <udono> cedk: http://mercurial.intuxication.org/hg/relationship_party_role
2008-08-12 18:45 <cedk> udono: where is the one2many?
2008-08-12 18:46 <udono> party_ext.py 1:many party_role:py 1:many role.py
2008-08-12 18:47 <udono> problem is to save a role in party object, This is module party_role.py
2008-08-12 18:48 <udono> There are 3 one to manys... party, party_role, role
2008-08-12 18:48 <udono> cedk:
2008-08-12 18:48 <cedk> udono: first remarks, we don't handle _inherit
2008-08-12 18:49 <udono> cedk: hmm
2008-08-12 18:49 <udono> cedk: How to inherit?
2008-08-12 18:50 <cedk> udono: just with the _name
2008-08-12 18:50 <cedk> udono: but it is not the problem
2008-08-12 18:51 <udono> cedk: btw the module can break your windowsystem...
2008-08-12 18:52 <udono> cedk: If you start and try to save a role on partner use ctrl -alt-esc to kill the client...
2008-08-12 19:13 <udono> cedk: it depends on the widget="selection" in party_role.xml
2008-08-12 19:14 <udono> cedk: it seems not to work on trees?!
2008-08-12 19:14 <cedk> udono: yes I'm looking
2008-08-12 19:17 -!- kultviech(n=kultviec@p5497489B.dip.t-dialin.net) has joined #tryton
2008-08-12 19:23 <Timitos> cedk: i have a meeting. i can check later or tomorrow
2008-08-12 19:33 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 639:cb7b79d9afcc tryton/tryton/gui/window/view_form/model/field.py: Improve many2one field if the internal value is not a tuple
2008-08-12 19:33 <cedk> udono: with the changeset it must work
2008-08-12 19:34 <cedk> udono: but the main problem comes from the fact that you set the widget selection on role in the form view but not in the list view
2008-08-12 19:34 <cedk> udono: this make the internal value in the client must change from one kind to an other
2008-08-12 19:35 <cedk> udono: it is better to have the same widget/type for all the views
2008-08-12 19:35 <udono> cedk: ok, I don't kow this before, many thanks!
2008-08-12 19:38 -!- FWiesing(n=Wiesinge@194.208.185.12) has left #tryton
2008-08-12 19:39 <udono> cedk: you are right, if I set both to same widget it works without your patch. Is the patch for secure the unaware ? (like me)
2008-08-12 19:40 <cedk> udono: yes it adds some test and prevent to go in infinte loop
2008-08-12 19:41 <udono> cedk: great!
2008-08-12 21:01 -!- markusleist(n=markus@n4-82.dsl.vianetworks.de) has joined #tryton
2008-08-12 21:25 <CIA-54> tryton: udono roundup * #249/Network is unreachable: [new] Network is unreachable
2008-08-12 21:32 <CIA-54> tryton: udono roundup * #249/Network is unreachable: [chatting] 1. I stop the server and click on an menu entry in the client, then this error appears. I would suggest to catch this error, because it ...
2008-08-12 21:56 -!- kultviech(n=kultviec@p5B0D065D.dip0.t-ipconnect.de) has joined #tryton
2008-08-12 23:39 -!- ansxx(i=nil@motocultabl.eu) has joined #tryton

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