IRC logs of #tryton for Wednesday, 2009-01-14

chat.freenode.net #tryton log beginning Wed Jan 14 00:00:01 CET 2009
-!- bechamel(n=user@85.201.86.139) has left #tryton00:11
vengfulsquirrelX0d_of_N0d: Hey dude, are you busy right now?01:00
-!- X0d_of_N0d(i=user@gateway/tor/x-4f6c1437ac2a9278) has joined #tryton01:05
-!- X0d_of_N0d(i=user@gateway/tor/x-6645234f0634d0ae) has joined #tryton01:46
-!- juanfer(n=juanfer@190.157.120.122) has joined #tryton01:57
-!- ikks(n=igor@190.12.153.202) has joined #tryton02:03
-!- X0d_of_N0d(i=user@gateway/tor/x-42e1e38baf38fe68) has joined #tryton02:12
-!- ikks(i=igor@190.102.201.173) has joined #tryton02:17
-!- X0d_of_N0d(i=user@gateway/tor/x-8eb1bcf1fda76403) has joined #tryton02:36
-!- ikks(i=igor@190.158.191.42) has joined #tryton03:09
-!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton03:40
-!- X0d_of_N0d(i=user@gateway/tor/x-dfe01ee455cd1b37) has joined #tryton04:34
-!- yangoon(n=mathiasb@p549F5DB2.dip.t-dialin.net) has joined #tryton05:19
-!- Gedd(n=ged@77.109.114.253.adsl.dyn.edpnet.net) has joined #tryton07:46
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton08:37
-!- tekknokrat(n=gthieleb@dslb-088-074-158-041.pools.arcor-ip.net) has joined #tryton08:45
-!- nicoe(n=nicoe@ip-80-236-225-36.dsl.scarlet.be) has joined #tryton09:04
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton10:04
-!- bechamel(n=user@85.201.86.139) has joined #tryton10:12
-!- Gedd(n=ged@ip-80-236-225-36.dsl.scarlet.be) has joined #tryton10:20
CIA-10tryton: udono roundup * #748/IndexError: list index out of range: [new] Traceback (most recent call last): File "/tryton/gui/window/view_form/view/list.py", line 331, in drag_data_get data = str(data[0]) In ...11:17
CIA-10tryton: udono roundup * #748/IndexError: list index out of range: [chatting] This error happens when clicking in an empty(!) One2Many table and drag and drop into the same table.11:18
CIA-10tryton: udono roundup * #748/IndexError: list index out of range: See party view, contact mechanism field11:19
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1158:bab17b71e03f tryton/tryton/gui/window/view_form/view/list.py: Fix drag and drop on empty list for issue74811:39
CIA-10tryton: ced roundup * #748/IndexError: list index out of range: [resolved] Fix with changeset bab17b71e03f11:39
-!- ikks(n=igor@190.12.153.202) has joined #tryton12:07
-!- enlightx(n=enlightx@host-84-220-86-72.cust-adsl.tiscali.it) has joined #tryton12:33
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 257:911b98d90eae website/Makefile: Add HTML_INCL in dependencies for pot file12:43
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 258:1773fb46ffe3 website/ (6 files in 5 dirs): Add easy_install instructions on downloads page.12:43
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 259:4373d60d3eb5 website/ (5 files in 5 dirs): merge12:43
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 260:dce17bd1afef website/sitemap.xml: Remove language doc urls12:52
-!- CIA-10(n=CIA@208.69.182.149) has joined #tryton13:45
CIA-10tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 261:dbdde0180092 website/locale/de_DE/LC_MESSAGES/tryton.po: Update translation for de_DE14:09
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 229:f68a4d610b39 party/address.xml: Re-add active in tree view of address14:21
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1466:952d52c9211b trytond/trytond/server.py: Improve ir.cron call, let sleep longer for green computing compliance.14:25
-!- carlos(n=carlos@89.7.24.44) has joined #tryton14:26
-!- mib_3n6pejcw(i=5978d3ce@gateway/web/ajax/mibbit.com/x-27118da21d90145f) has joined #tryton14:39
mib_3n6pejcwwhere can i find some documentation regatding workflows (workflow,activities,transitions,instances,workitems)14:40
mib_3n6pejcw?14:40
-!- mib_3n6pejcw(i=5978d3ce@gateway/web/ajax/mibbit.com/x-27118da21d90145f) has left #tryton14:40
-!- mib_3n6pejcw(i=5978d3ce@gateway/web/ajax/mibbit.com/x-27118da21d90145f) has joined #tryton14:40
-!- mib_3n6pejcw(i=5978d3ce@gateway/web/ajax/mibbit.com/x-27118da21d90145f) has left #tryton14:40
-!- mib_3n6pejcw(i=5978d3ce@gateway/web/ajax/mibbit.com/x-27118da21d90145f) has joined #tryton14:40
mib_3n6pejcw?14:41
cedkmib_3n6pejcw: we have not yet writing documentation about that14:41
cedkmib_3n6pejcw: but feel free to ask here14:41
mib_3n6pejcwit's me cristi_an ,have no clue why this name is given to me14:42
bechamelmib_3n6pejcw: i don't know too14:43
cedkmib_3n6pejcw: /nick cristi_an14:43
bechamelmib_3n6pejcw: maybe you should provide a name in the web form14:43
cristi_anths14:44
cristi_anthx14:44
cristi_annow better :)14:44
cristi_anit's the web client's fault14:44
cristi_anirc one14:44
bechamelcristi_an: for workflow info the openerp doc is a good start, we didn't change it a lot14:45
cristi_anjust courious where workflow can be used14:45
cristi_anbechamel: openerp ? manual14:45
cristi_anor doc that is free ?14:45
CIA-10tryton: Yann Farge <yann@sednacom.fr> default * 101:2ee3ed243745 sale/fr_FR.csv: Updated translation for fr_FR14:45
bechamelcristi_an: all the doc is in the wiki, but wiki is a bit broken (as i saw in the forum)14:46
cristi_anok i will take a look there then14:47
cedkcristi_an: you can look at the simple workflow like on stock.inventory14:50
CIA-10tryton: Yann Farge <yann@sednacom.fr> default * 41:f54c8a2f273d project/fr_FR.csv: Updated translation for fr_FR14:51
CIA-10tryton: Yann Farge <yann@sednacom.fr> default * 42:ba00c224b837 project/fr_FR.csv: Updated translation for fr_FR14:51
cristi_anbefore that only for my couriosity : i saw that when a new modules i installed some of the "base talbes" may be altered by adding new fileds to it14:53
cristi_anso that table has some extra fileds after module instaltion14:53
CIA-10tryton: Yann FARGE <yann@sednacom.fr> default * 24:9a965e06f00d project_revenue/fr_FR.csv: Add translation for fr_FR14:54
cristi_anwhen you will do a new insert in that table from the original module14:54
cristi_anhow it will know ablout the new fileds14:54
cristi_ansince the base module is unaware of the new module14:54
cristi_andependecy is new module depends on the base module14:55
cedkcristi_an: the model is updated in the pool14:55
cristi_anpool ?14:55
cristi_anthat table that hold each table filesds ?14:55
cristi_anas data14:55
cristi_an?14:55
cedkcristi_an: pool is a dictionnary with all models14:56
cristi_anihi i start to understand this....14:56
cristi_anwnd where that dictionary is stored ?14:56
cristi_anin ir tables ?14:57
cedkcristi_an: it is not stored, it is constructed on runtime14:59
cristi_ancedk: and thins information is send or not on client side or is only needed by server15:00
cedkcristi_an: only server15:01
cristi_ancedk: so when server start it creates this "pool applcation dictionary" used for sql stuff ?15:02
cedkcristi_an: it is used in the code with: self.pool.get('account.invoice')15:03
cristi_ancedk: thx15:04
-!- enlightx(n=enlightx@82.112.213.114) has joined #tryton15:13
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1467:c8b938f6d4db trytond/trytond/osv/orm.py: Skip depends for "pseudo-field" (like analytic_account_xxx) in _view_look_dom_arch15:22
bechamelcristi_an: and also for models with workflow you can do "plugins > execute plugins > print workflow" on the client menu15:23
cristi_anbechamel: is there one on demo cleint ? (exe)15:24
cristi_anthat i have started since i am in win15:25
cedkcristi_an: normally yes15:26
cristi_ancedk: so a model that has a workflow is15:27
cristi_ani want to try this feature15:27
bechamelcristi_an: invoice or sale or purchase15:28
yangooncedk: bechamel is it possible to install on macosx with easy_install?15:28
yangoonsomeone did run tryton on a mac already?15:28
cristi_anbechamel: cedk this diagram is a picture saved on server side  ?15:29
cristi_anor is created dinamically ?15:30
cedkcristi_an: created dynamically15:30
cristi_ancedk: wowww15:30
cristi_ani am impressed :O15:31
cedkcristi_an: it is like the "UML-like" graph15:33
cristi_ancedk: i noticed15:34
cristi_ancompared to what erp's i saw in ro15:34
cristi_anthis looks very promising15:35
CIA-10tryton: Yann Farge <yann@sednacom.fr> default * 120:ddaa0c1f8cbc company/fr_FR.csv: Updated translation for fr_FR15:38
CIA-10tryton: matb roundup * #749/Website: distribution packages: [new] 1) There should be a hint to distribution packages. It is at least for Debian preferable to use the package management of the distribution. ...16:13
cristi_ancedk: hpow can i see then the trytod server as a web service that is exposed to the client ?16:15
cedkcristi_an: don't understand16:16
cristi_anit is a comparsion to java...16:16
cristi_anso maybe it does not have sense here...16:16
cristi_anin jva when an application like this is doe usually it is used an application server (like jboss,websphere,glassfish) if you head of them16:18
cristi_an /head/heard16:18
-!- ikks(n=igor@201.244.188.98) has joined #tryton16:18
cedkcristi_an: need to go to the radio16:19
cristi_an?16:19
cedkcristi_an: we look  at this later16:19
cedkbye16:20
cristi_anit is not importat16:20
cristi_anbye16:20
CIA-10tryton: Yann Farge <yann@sednacom.fr> default * 21:e23e69592259 country/fr_FR.csv: Updated translation for fr_FR16:26
CIA-10tryton: Yann Farge <yann@sednacom.fr> default * 22:91ce90bfe4f9 country/fr_FR.csv: Add translation for fr_FR16:26
-!- juanfer(n=juanfer@201.244.188.98) has joined #tryton16:33
CIA-10tryton: Yann Farge <yann@sednacom.fr> default * 55:1f0d1d1cace3 currency/fr_FR.csv: Add translation for fr_FR16:40
CIA-10tryton: Yann Farge <yann@sednacom.fr> default * 31:e145ed4d4cca google_maps/fr_FR.csv: Add translation for fr_FR16:44
pantherahm, still fighting with relatorio and pywebdav. need to have all depends/recommends befor beeing able to upload tryton .deb packages.16:44
yangoonpanthera: so you must them package, too, I suppose?16:47
pantherajup16:50
CIA-10tryton: Yann Farge <yann@sednacom.fr> default * 204:408ddade829d purchase/fr_FR.csv: Updated translation for fr_FR16:52
CIA-10tryton: Yann Farge <yann@sednacom.fr> default * 423:60e1e5583b3a stock/fr_FR.csv: Updated translation for fr_FR17:27
-!- X0d_of_N0d(i=user@gateway/tor/x-aa6aaa9ca7394f47) has joined #tryton17:31
-!- X0d_of_N`(i=user@gateway/tor/x-2ba29cb7f6da23b2) has joined #tryton17:50
-!- cristi_an(n=cristi@89.120.211.206) has joined #tryton18:37
cristi_anserver doc: "n integer. When equal to 1, an index is created in the database and the field will appear in the search box on list view. When equal to 2 the field appear in the Advanced Search part of the search box."19:09
cristi_anhttp://paste.pocoo.org/show/99665/19:10
cristi_anas you see there only arty = fields.Many2One('party.party', 'Party', required=True,19:10
cristi_an           ondelete='cascade', select=1,  states=STATES)19:10
cristi_an has select =119:10
cristi_anbut in the ui19:10
cristi_anon address on search there are more fields19:10
Timitoscristi_an: you can override these parameters in the xml of the view. look into party.xml in view with id "party_view_tree". there you can find the definition which is different to the definition of the object19:24
Timitoscristi_an: hold on. wrong id19:25
Timitoscristi_an: it is the address.xml and the id of the view is 'address_view_tree'19:25
cristi_anso there you override model definition ?19:27
Timitoscrisit_an: this could be a case of history. i know the function of defining the select on the object has been implemented later. i am not sure but i think so19:27
cristi_anso you are saying that this does not matter if the xml overrride that19:28
cristi_anso if i remove that selct =1 from code19:28
cristi_anthe client will behave the same19:28
Timitoscristi_an: yes.19:29
cristi_ani did19:29
cristi_anyou are right19:29
cristi_anthx19:29
Timitoscrisit_an: i would recommend you to define these things on the object but not in the xml. this is the tryton way.19:30
cristi_anso the xml is "wrong" ?19:31
cristi_anthe wrong way ?19:31
cristi_ani left this in xml19:32
cristi_an <tree string="Addresses">19:32
cristi_an                    <field name="party" select="1"/>19:32
cristi_an                </tree>19:32
-!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton19:32
cristi_anrestated server but i still have 3 item sin search in the client19:33
cristi_ani expected to have only party19:33
Timitoscristi_an: it is not wrong way but i would say it is not the common way. it also has to do with the usage. in the xml you define this for one view. on the object you define this for all views where the field is used19:33
cristi_anbu the presence of an item in search or search advanced is more like a view issue not a model issue19:34
Timitoscristi_an: you need to update the module if you make changes in the xml19:34
cristi_anis how you want to see things (view) not how is structured( model)19:34
cristi_anaha.19:34
Timitoscristi_an: this depends on the importance of the field19:34
cristi_ani say it;s more like a view option....(since the structure is the model) that is how i see things ...anyway this issue is minor19:36
cristi_anthx for upgrade tip19:36
cristi_anit worked :)19:36
Timitoscristi_an: yes you are right. i also learn from your questions ;-)19:36
cristi_andomain="[('country', '=', country)]"19:42
cristi_anthis means it will select domains that are specifi to the country is set19:43
cristi_an?19:43
cristi_anbut what i am interested is the synthax :"[('country', '=', country)]"19:43
Timitoscristi_an: http://www.tryton.org/doc/branches/1.0/trytond/doc/models.html#module-OSV19:47
Timitoscristi_an: look into abstract search clauses. this is the same syntax19:47
cristi_angot it19:49
cristi_an self._order.insert(0, ('party', 'ASC'))19:49
cristi_an        self._order.insert(1, ('sequence', 'ASC'))19:49
cristi_anthis is clear19:49
cristi_anorder realted19:49
cristi_anorder after party asc  then second order after seq ?19:50
CIA-10tryton: matb roundup * #697/Sort order of almost all tables under Administration doesn't respect translation: [chatting] I don't know, if the issue reappears or is not solved. Whenever the nmae of the column is model or description, it is not sorted after ...19:50
yangoonbechamel: cedk: nice broadcast on panik radio!20:37
cristi_anis live now20:37
cristi_an?20:37
cristi_ando you have a link ?20:37
yangooncristi_an: do you talk about radio?20:41
cristi_anyangoon: yes20:42
cristi_anor link to some podcast ?20:42
yangoonah ok, its over;)20:42
cristi_anhow did they behaved ?20:43
yangooncristi_an: it was in french20:43
cristi_ani know but i understand like 40%20:43
yangooncristi_an: I have captured the stream, so if you want it...20:44
yangooncristi_an: it is about 60 MB20:44
cristi_anyou can put it somewhere to be downloaded:)20:45
udonoyangoon: bechamel: why not put an mp3 version under Press coverage on the tryton homepage20:48
cristi_anthat is the best20:49
-!- Gedd(n=ged@77.109.115.158.adsl.dyn.edpnet.net) has joined #tryton20:58
yangooncristi_an: you can get it here: http://behrle.dyndns.org/download/radiopanik1900.ogg20:59
yangoonyou can skip the first ten minutes, it is music before the broadcast begins20:59
yangoonudono: don't know, if we have permission to do so?21:00
cristi_ando i need sone codes to hear this ?21:02
cristi_ansince it just don;t start21:02
cristi_anubuntu21:02
yangoonyou need an ogg decoder, i.e. vlc is a very good player21:03
cristi_anapt-get vlc ?21:03
yangooncristi_an: apt-get install vlc21:04
cristi_anyangoon: open the pipe for download :)21:10
cristi_anit comes but slowly21:10
yangooncristi_an: it is not only you:D21:11
cristi_anooops !21:13
X0d_of_N`cristi_an: ogg should be supported by default in ubuntu, totem should play it without installing anything....21:28
cristi_anit satart in vlc21:35
cristi_anbut no sound21:35
cristi_anfor address in self.browse(cursor, user, ids, context=context):21:38
cristi_an            res.append((address.id, ", ".join(x for x in [address.name,21:38
cristi_anthis is in get_name function in adddress.py21:38
cristi_anwhat this means  res.append((address.id, ", ".join(x for x in [address.name,address.party.name, address.zip, address.city] if x)))21:39
cristi_an?21:39
cristi_ani got it what it means21:41
-!- ikks(n=igor@201.244.188.98) has joined #tryton21:45
cristi_ani alter the method name_get in address.py21:53
cristi_anhttp://paste.pocoo.org/show/99692/21:53
cristi_anbut i do not see anything in server console21:53
cristi_ani wante to see the value of res21:53
cristi_anor at least when name_get is called21:53
cristi_ancan someone help me with this21:54
cristi_an?21:54
yangooncristi_an: you can have a look to trytond/server.py and look how logging works21:57
cristi_anprint is not a valid thing for seeing thign in console ?21:58
cristi_anyangoon:21:58
-!- ikks(n=igor@201.244.188.98) has joined #tryton22:04
cristi_anso if i just want to see some text in the console i have to work with loggers ?22:07
cristi_anprint is not enough ?22:07
Timitoscristi_an: print is enough for console22:26
Timitoscristi_an: you need to restart your server if you make changes22:26
Timitoscristi_an: this function is called when you add a party on invoice for example22:26
cristi_anhow do you know this22:27
cristi_anhow can i find usages of a function22:27
cristi_anin java you can easy...do this22:28
cristi_anfind references...or so22:28
Timitosif everybody codes with guidelines you can use this phrase in console in modules directory: find -type f -name '*.py' | xargs grep address_obj.name_get22:30
cristi_anwow22:31
cristi_anso you can;t use eclipse for finding usages of a method ,function ?22:32
Timitoscristi_an: if you have trytond as workspace i think it should also work with searching for name_get or address_obj.name_get22:33
cristi_anaddress_obj22:33
Timitoscristi_an: i mean with search from eclipse22:33
cristi_anit is about coding guidlines22:33
Timitoscristi_an: yes. address_obj can also be something other22:34
cristi_ansince if someone calls that xxx22:34
Timitoscristi_an: but i know how cedk and bechamel name their variables22:34
cristi_ani want to seach usages of name_get from address.py class in other places22:34
Timitoscristi_an: this is what i found with my search: http://paste.pocoo.org/show/99705/22:36
cristi_anTimitos: so address_obj is present always if you have an instance of that class from what i see22:37
cristi_anTimitos: is this a coding guidance22:37
cristi_an?22:37
Timitoscristi_an: this address_obj depends on coding guidelines. so i cannot be sure that i capture all usage of name_get from address.py with this search.22:38
Timitosif i will be sure i need to search only for name_get but there could be some wrong results with this either22:38
cristi_anthose are too many results then22:39
cristi_anhard to debug in this case22:39
cristi_ani say22:39
cristi_ancomapred to java...very different22:39
Timitosyes with only name_get there are many results22:39
cristi_anTimitos23:01
cristi_anafter an address is saved it does not supposed the form to be cleand atumattically to add the othere and so23:01
Timitoscristi_an: ?23:04
cristi_anwell i go to address form23:05
cristi_ani save one23:05
cristi_anbut the save values remain in the controls23:05
cristi_anis this how is suposed to be? not to empty the form and continue to add more without pressing new23:06
Timitoscristi_an: this is the intended behavior. there are other forms which behave like you mentioned23:08
-!- yangoon1(n=mathiasb@p549F5DB2.dip.t-dialin.net) has joined #tryton23:08
cristi_anoki and how this is specifed (where) to have this kind of behaviour23:09
cristi_anin the xml ?23:09
cristi_anof model ?23:09
cristi_anor model ?23:09
Timitoscristi_an: i donĀ“t know in the moment but i think it depends on the widget which is used.23:11
cristi_anoki23:11

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