IRC logs of #tryton for Tuesday, 2009-02-03

chat.freenode.net #tryton log beginning Tue Feb 3 00:00:01 CET 2009
-!- tekknokrat(n=gthieleb@dslb-088-074-150-146.pools.arcor-ip.net) has left #tryton00:01
CIA-10tryton: Bertrand Chenal <bch@b2ck.com> default * 217:a2796a09a6e2 purchase/ (purchase.py purchase.xml): Packing exception: allow to duplicate cancelled moves00:07
-!- tekknokrat(n=gthieleb@dslb-088-074-150-146.pools.arcor-ip.net) has joined #tryton00:07
-!- tekknokrat(n=gthieleb@dslb-088-074-150-146.pools.arcor-ip.net) has left #tryton00:08
-!- perilla(i=c0bc3003@gateway/web/ajax/mibbit.com/x-9dad5d680f92909b) has joined #tryton00:11
-!- perilla(i=c0bc3003@gateway/web/ajax/mibbit.com/x-9dad5d680f92909b) has left #tryton00:16
-!- bechamel`(n=user@85.201.86.139) has left #tryton01:11
CIA-10tryton: matb roundup * #767/Typo: [new] s. patch01:28
-!- ikks(i=igor@190.102.217.134) has joined #tryton03:18
-!- gremly(n=oscar@190.156.174.144) has joined #tryton03:25
-!- ikks(i=igor@190.102.200.65) has joined #tryton03:42
-!- yangoon(n=mathiasb@p549F7B54.dip.t-dialin.net) has joined #tryton05:19
-!- FWiesing(n=Wiesinge@194-208-185-012.tele.net) has left #tryton07:25
-!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton07:26
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton07:52
-!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton07:54
-!- Gedd(n=ged@77.109.113.253) has joined #tryton08:22
-!- nicoe(n=nicoe@ip-80-236-193-136.dsl.scarlet.be) has joined #tryton08:42
-!- carlos(n=carlos@89.7.24.44) has joined #tryton08:47
-!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has left #tryton08:58
-!- bechamel(n=user@85.201.86.139) has joined #tryton09:40
CIA-10tryton: Bertrand Chenal <bch@b2ck.com> default * 218:19e2d3243cfa purchase/ (purchase.py purchase.xml): Guidelines10:33
CIA-10tryton: Bertrand Chenal <bch@b2ck.com> default * 219:e0de5dc39a29 purchase/purchase.py: Fix signature of default_* methods10:33
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton10:44
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton11:01
CIA-10tryton: Bertrand Chenal <bch@b2ck.com> default * 220:917804195007 purchase/purchase.py: Fix default return value in exception_state method11:04
-!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-5c32e1a6170b4cd1) has joined #tryton11:08
cristi_anwhat app server tryton site has behind ?11:09
-!- Ged(n=ged@77.109.115.52.adsl.dyn.edpnet.net) has joined #tryton11:10
bechamelcristi_an: it's only static html11:10
cristi_ank.11:10
cristi_anso not cms.11:10
cristi_anthx11:10
bechamelcristi_an: in a way the cms is hg: http://hg.tryton.org/hgwebdir.cgi/www.tryton.org/11:13
cristi_anbechamel: :) yes11:17
-!- yangoon(n=mathiasb@p549F7B54.dip.t-dialin.net) has joined #tryton11:49
-!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton11:49
-!- ikks(i=igor@190.102.216.246) has joined #tryton12:26
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton12:54
-!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-89d180df3a134be2) has joined #tryton13:20
cristi_anin your countries if you transfer products from one location to other location of a firm do you have a special  official document that come with products  ?13:22
cristi_an"delivery note " ?13:23
-!- yangoon(n=mathiasb@p549F63A1.dip.t-dialin.net) has joined #tryton13:23
carloscristi_an: are both locations owned by the same firm?13:48
cristi_anyes13:50
cristi_anbut does it matter ?13:50
cristi_anyou may send product to customers as well and you need some paper if you do not have the invoice13:50
carlosin Spain we send a paper that is like an invoice, but without prices14:01
carlosbut we usually do it only when we send it to customers14:01
carlosinside the company, it depends on each company14:01
carlosbut it's not a must14:02
carloscristi_an: well, either the paper I told you or an invoice, it depends on the company that sends it14:03
carlosI got the impresion that in your country your government has such paper as a requirement14:03
-!- ikks(n=igor@190.144.69.234) has joined #tryton14:06
cristi_ancarlos: yes14:12
cristi_ansince if police hold the car14:12
cristi_anit has to justify the producs14:12
carloswell, in Spain should be the same, but only for some kind of goods movements, for instance, If I move some computers with my car, I don't need anything to justify it14:16
carlosI guess if I have 10 or 20 computers, they may ask me for papers14:16
cristi_anso that paper in your country is part from accounting  ,since i dilutes stock valuation in one place (the place from where it's took)14:31
cristi_an?14:33
carloswell, it depends on how do you handle it14:40
carlosbut yes, it's usually integrated with the management software14:40
carloswhat we usually do is to issue an invoice with a set of those papers once per month14:41
carlosso the customer and you have a paper that says what did you send to him and what did he received and when you send the invoice, they can check whether it's correct or not, based on what you sent to them14:42
carlosACTION doesn't know the exact term in English for such paper, but OpenERP / tryton should handle it already14:43
cristi_ani see14:43
cristi_anthx14:43
CIA-10tryton: matb roundup * #768/ValueError: invalid literal for int() with base 10: 'False': [new] After the recent changes update of fields of parent report is broken: The error occurs only in databases using a module for custom invoice ...14:50
-!- Gedd(n=ged@77.109.113.52) has joined #tryton14:55
-!- ikks(n=igor@201.244.188.98) has joined #tryton15:16
-!- oversize(n=manuel@port-92-198-7-97.static.qsc.de) has joined #tryton15:27
-!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton15:58
-!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has left #tryton15:59
-!- ikks_(n=igor@190.144.69.234) has joined #tryton16:58
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1338:e44a6ac85d60 trytond/trytond/res/request.xml: Fix tree view of res.request.link18:51
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1511:d279aeb348ba trytond/trytond/res/request.xml: Fix tree view of res.request.link19:03
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1512:a6920d12f943 trytond/trytond/sql_db.py: Use unicode instead of str to format wrong queries19:03
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1513:345eaa4e7b39 trytond/trytond/ (29 files in 7 dirs):19:03
CIA-10tryton: Add model.fields19:03
CIA-10tryton: Use better naming of field attributes19:03
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 375:0081ae37bde8 account/move.py: Fix typo19:03
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 261:a3c3a784ef0b account_invoice/invoice.py: Fix for new field attributes names19:03
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 43:bd4f43810f78 project/work.py: Fix for new field attributes names19:04
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 114:b07c43bcc8f9 sale/sale.py: Fix for new field attributes names19:04
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 476:2c58db78e7ba stock/ (inventory.py packing.py): Fix for new field attributes names19:04
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 221:ec99e16a19d7 purchase/purchase.py: Fix for new field attributes names19:06
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 222:65d8054bc117 purchase/purchase.py: merge19:06
CIA-10tryton: ced roundup * #768/ValueError: invalid literal for int() with base 10: 'False': [chatting] Fix in changeset 345eaa4e7b3919:07
CIA-10tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 1514:c85353e43333 trytond/trytond/ir/attachment.py: Typo19:08
CIA-10tryton: ced roundup * #767/Typo: [resolved] Applied19:08
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1174:820017c01eb2 tryton/tryton/gui/window/view_form/view/form_gtk/image.py: Handle readonly on image widget19:19
-!- enlightx(n=enlightx@host-78-13-120-215.cust-adsl.tiscali.it) has joined #tryton19:30
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton19:55
-!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton20:18
-!- tekknokrat(n=gthieleb@dslb-088-074-150-146.pools.arcor-ip.net) has joined #tryton20:34
-!- tekknokrat(n=gthieleb@dslb-088-074-150-146.pools.arcor-ip.net) has joined #tryton20:39
-!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-8659d84a01fc8836) has joined #tryton20:46
cristi_anis the server down !!!20:46
cristi_an?20:46
cristi_anthe demo one ?20:47
bechamelthe website seems to be down too20:48
cristi_anwebsite ?20:48
cristi_anis up20:48
bechamelno sorry it's ok now20:48
cristi_anthe demo server is down20:48
bechamelyes20:48
cristi_an:(20:49
bechamelcedk: ping20:49
cristi_ani just gave the link to some potential "customer" :)20:49
cristi_anhe told me ...is not working...20:50
cristi_anhowever he will try this later..20:50
cristi_antommorow or even on my server if it will nto start20:50
-!- snowch(n=snowch@82.152.13.57) has joined #tryton20:54
snowchhi irc20:54
vengfulsquirrelsnowch: hello20:59
cristi_anhi snowch20:59
udonohi snowch20:59
snowchI have a bit of time on my hands tonight, so I thought I'd catch up with tryton.  Anyone know what is happening with the refactoring?21:03
bechamelsnowch: you talk about the current refactoring ?21:04
snowchyes, I was just looking at the code again and seeing lots of cyclic dependencies like:  osv -{depends} -> orm -{depends}-> cache -{depends}-> osv21:07
bechamelsnowch: osv and orm are gonna be deleted in favor of model, modeldb, modelstorage, modelview, etc21:10
-!- tekknokrat(n=gthieleb@dslb-088-074-150-146.pools.arcor-ip.net) has joined #tryton21:12
bechamelthis will provide a more clean code and a more flexible kernel, but cyclic dependies cannot be avoided21:12
bechamelsnowch: more info http://groups.google.com/group/tryton/browse_thread/thread/49af894ff4bb624f/8e99e93f302f98f821:15
-!- tekknokrat(n=gthieleb@dslb-088-074-150-146.pools.arcor-ip.net) has left #tryton21:15
snowchbechamel: thanks for the link - i'll check it out...21:16
snowchbechamel: that looks much cleaner.21:19
bechamelsnowch: you can see the result in the trunk repo21:21
vengfulsquirrelIs there a way to search for ids in a many 2 many ? For example if a product has a many2many relationship with features how could I find a product with features X, Y and Z?  I'd like to just join over and over(as many times as there are features to check for -1 ) on the many 2 many relationship table.21:23
snowchbechamel: one of the things I am struggling with is that loads of classes get packed into one file.  then it's difficult to identify which classes are using which imports without reading the whole file.  for example in netsvc, would there be any benefit in pulling SERVICE and LOCALSERVICE into a separate file (I know there is some data that is shared _SERVICE[], etc)?  SERVICE and LOCALSERVICE are used by many other files in the code base and keeping them in 21:31
bechamelvengfulsquirrel: it's not possible to launch a query on the m2m table (but ced think about somthing to improve this), what you can do is to loop on the product feature and do the test in python (which is ok if there are not too much features for a product). Or write an sql query but it's less clean21:33
snowchbechamel: SERVICE and LOCALSERVICE are really there to build the list of services?  If so, could they be pulled into a separate file, e.g. ServiceList and separated from the communication protocol related stuff?21:35
bechamelsnowch: services are excessively  complicated atm, the current refactoring will also improve it21:35
bechamelsnowch: and yes services will be separated from protocol21:36
snowchbechamel: that's good to hear!21:36
snowchbechamel: is the refactoring big bang or piecemeal? i.e. if I check out refactored code, will it work?21:38
bechamelsnowch: it appears clearly in the link i gave you, the only thing that is missin is some code that factorise common task for all protocols21:38
bechamelsnowch: piecemeal, the current code is working, orm is now empty but refer to new modelXX stuff, like that modules are still working, the idea is that you can checkout at any time and have a working code21:39
bechamelsnowch: but of course bugs may arise more frequently21:40
snowchbechamel: no problem.21:40
bechamelsnowch: after refactoring the only ugly code will be workflow stuff :)21:44
snowchbechamel: why?21:50
bechamelsnowch: it's not yet planned, and there are other important stuff to do21:52
bechamelsnowch:  http://code.google.com/p/tryton/wiki/Release_1_2_021:54
snowchbechamel: does "hg clone http://hg.tryton.org/trytond/" grab the latest code?21:56
bechamelsnowch: yes21:57
snowchbechamel: many thanks again!21:57
-!- snowch(n=snowch@82.152.13.57) has left #tryton22:05
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1339:6c7af69ea903 trytond/trytond/sql_db.py: Use unicode instead of str to format wrong queries22:11
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1340:4bcca56c96d2 trytond/trytond/ir/translation.py: Force __init__ of Cacheable22:11
cedkbechamel: the demo server is working again22:14
cedkthere was a bad transplant that prevent the server to start22:15
bechamelcedk: ok22:15
cedkbechamel: http://alioth.debian.org/tracker/index.php?func=detail&aid=311432&group_id=30402&atid=41164622:20
-!- paola(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton22:27
-!- snowch(n=snowch@82.152.13.57) has joined #tryton22:33
-!- snowch(n=snowch@82.152.13.57) has left #tryton22:42
udonoI've installed songbird23:09
udonovery interesting use of mozilla23:09
udonoThey combine the full XUL Widgets and browser in one Window23:11
udonofor Linux, Windows and mac-OS23:11
bechameludono: I tried it some times ago but it was a bit slow (and btw moc: http://moc.daper.net/node/374 is good enough for me)23:16
bechameludono: you plan to create a new client for tryton ? ;)23:16
udonobechamel: :-)23:23
udonojust FYI23:23
bechameludono: is songbird fast enough for you ? maybe you use another player with lots of features23:24
udonoIts quite fast23:25
udonobechamel: I have 10237 'Objects' and its quite fast in sorting and filtering ( <1 sec)23:26
bechameludono: sqlite makes wonders :)23:28
udonoI think so23:29
udonoBut they have a browser included...23:30
udonoand win, linux and mac os x23:30
udonobut its more technology than we have.23:31
bechameludono: and we don't need a browse in the client :)23:35
udonobechamel: its not only browsing it is showing html, pdf, more picture types then gtk... all showing inline.23:38
udonobechamel: btw. I use moc on another machine. Its a good console player23:39
bechamel:)23:39
cedkudono: generaly I prefer one application that makes well one thing23:40
cedkudono: instead of one that makes every things23:40
udonofor me its just showing content on different OS23:41
udonothere are even pythonbindings for xul23:42
udonohttp://nufox.berlios.de/23:42
cedkudono: it is better to show content with the user prefered application23:44
udonocedk: yes, and its more easy to handle.23:45
udonocedk: As I told FYI23:45

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!