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

chat.freenode.net #tryton log beginning Wed Jan 14 00:00:01 CET 2009
2009-01-14 00:11 -!- bechamel(n=user@85.201.86.139) has left #tryton
2009-01-14 01:00 <vengfulsquirrel> X0d_of_N0d: Hey dude, are you busy right now?
2009-01-14 01:05 -!- X0d_of_N0d(i=user@gateway/tor/x-4f6c1437ac2a9278) has joined #tryton
2009-01-14 01:46 -!- X0d_of_N0d(i=user@gateway/tor/x-6645234f0634d0ae) has joined #tryton
2009-01-14 01:57 -!- juanfer(n=juanfer@190.157.120.122) has joined #tryton
2009-01-14 02:03 -!- ikks(n=igor@190.12.153.202) has joined #tryton
2009-01-14 02:12 -!- X0d_of_N0d(i=user@gateway/tor/x-42e1e38baf38fe68) has joined #tryton
2009-01-14 02:17 -!- ikks(i=igor@190.102.201.173) has joined #tryton
2009-01-14 02:36 -!- X0d_of_N0d(i=user@gateway/tor/x-8eb1bcf1fda76403) has joined #tryton
2009-01-14 03:09 -!- ikks(i=igor@190.158.191.42) has joined #tryton
2009-01-14 03:40 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-01-14 04:34 -!- X0d_of_N0d(i=user@gateway/tor/x-dfe01ee455cd1b37) has joined #tryton
2009-01-14 05:19 -!- yangoon(n=mathiasb@p549F5DB2.dip.t-dialin.net) has joined #tryton
2009-01-14 07:46 -!- Gedd(n=ged@77.109.114.253.adsl.dyn.edpnet.net) has joined #tryton
2009-01-14 08:37 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-01-14 08:45 -!- tekknokrat(n=gthieleb@dslb-088-074-158-041.pools.arcor-ip.net) has joined #tryton
2009-01-14 09:04 -!- nicoe(n=nicoe@ip-80-236-225-36.dsl.scarlet.be) has joined #tryton
2009-01-14 10:04 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-01-14 10:12 -!- bechamel(n=user@85.201.86.139) has joined #tryton
2009-01-14 10:20 -!- Gedd(n=ged@ip-80-236-225-36.dsl.scarlet.be) has joined #tryton
2009-01-14 11:17 <CIA-10> tryton: 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 ...
2009-01-14 11:18 <CIA-10> tryton: 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.
2009-01-14 11:19 <CIA-10> tryton: udono roundup * #748/IndexError: list index out of range: See party view, contact mechanism field
2009-01-14 11:39 <CIA-10> tryton: 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 issue748
2009-01-14 11:39 <CIA-10> tryton: ced roundup * #748/IndexError: list index out of range: [resolved] Fix with changeset bab17b71e03f
2009-01-14 12:07 -!- ikks(n=igor@190.12.153.202) has joined #tryton
2009-01-14 12:33 -!- enlightx(n=enlightx@host-84-220-86-72.cust-adsl.tiscali.it) has joined #tryton
2009-01-14 12:43 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 257:911b98d90eae website/Makefile: Add HTML_INCL in dependencies for pot file
2009-01-14 12:43 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 258:1773fb46ffe3 website/ (6 files in 5 dirs): Add easy_install instructions on downloads page.
2009-01-14 12:43 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 259:4373d60d3eb5 website/ (5 files in 5 dirs): merge
2009-01-14 12:52 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 260:dce17bd1afef website/sitemap.xml: Remove language doc urls
2009-01-14 13:45 -!- CIA-10(n=CIA@208.69.182.149) has joined #tryton
2009-01-14 14:09 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 261:dbdde0180092 website/locale/de_DE/LC_MESSAGES/tryton.po: Update translation for de_DE
2009-01-14 14:21 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 229:f68a4d610b39 party/address.xml: Re-add active in tree view of address
2009-01-14 14:25 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1466:952d52c9211b trytond/trytond/server.py: Improve ir.cron call, let sleep longer for green computing compliance.
2009-01-14 14:26 -!- carlos(n=carlos@89.7.24.44) has joined #tryton
2009-01-14 14:39 -!- mib_3n6pejcw(i=5978d3ce@gateway/web/ajax/mibbit.com/x-27118da21d90145f) has joined #tryton
2009-01-14 14:40 <mib_3n6pejcw> where can i find some documentation regatding workflows (workflow,activities,transitions,instances,workitems)
2009-01-14 14:40 <mib_3n6pejcw> ?
2009-01-14 14:40 -!- mib_3n6pejcw(i=5978d3ce@gateway/web/ajax/mibbit.com/x-27118da21d90145f) has left #tryton
2009-01-14 14:40 -!- mib_3n6pejcw(i=5978d3ce@gateway/web/ajax/mibbit.com/x-27118da21d90145f) has joined #tryton
2009-01-14 14:40 -!- mib_3n6pejcw(i=5978d3ce@gateway/web/ajax/mibbit.com/x-27118da21d90145f) has left #tryton
2009-01-14 14:40 -!- mib_3n6pejcw(i=5978d3ce@gateway/web/ajax/mibbit.com/x-27118da21d90145f) has joined #tryton
2009-01-14 14:41 <mib_3n6pejcw> ?
2009-01-14 14:41 <cedk> mib_3n6pejcw: we have not yet writing documentation about that
2009-01-14 14:41 <cedk> mib_3n6pejcw: but feel free to ask here
2009-01-14 14:42 <mib_3n6pejcw> it's me cristi_an ,have no clue why this name is given to me
2009-01-14 14:43 <bechamel> mib_3n6pejcw: i don't know too
2009-01-14 14:43 <cedk> mib_3n6pejcw: /nick cristi_an
2009-01-14 14:43 <bechamel> mib_3n6pejcw: maybe you should provide a name in the web form
2009-01-14 14:44 <cristi_an> ths
2009-01-14 14:44 <cristi_an> thx
2009-01-14 14:44 <cristi_an> now better :)
2009-01-14 14:44 <cristi_an> it's the web client's fault
2009-01-14 14:44 <cristi_an> irc one
2009-01-14 14:45 <bechamel> cristi_an: for workflow info the openerp doc is a good start, we didn't change it a lot
2009-01-14 14:45 <cristi_an> just courious where workflow can be used
2009-01-14 14:45 <cristi_an> bechamel: openerp ? manual
2009-01-14 14:45 <cristi_an> or doc that is free ?
2009-01-14 14:45 <CIA-10> tryton: Yann Farge <yann@sednacom.fr> default * 101:2ee3ed243745 sale/fr_FR.csv: Updated translation for fr_FR
2009-01-14 14:46 <bechamel> cristi_an: all the doc is in the wiki, but wiki is a bit broken (as i saw in the forum)
2009-01-14 14:47 <cristi_an> ok i will take a look there then
2009-01-14 14:50 <cedk> cristi_an: you can look at the simple workflow like on stock.inventory
2009-01-14 14:51 <CIA-10> tryton: Yann Farge <yann@sednacom.fr> default * 41:f54c8a2f273d project/fr_FR.csv: Updated translation for fr_FR
2009-01-14 14:51 <CIA-10> tryton: Yann Farge <yann@sednacom.fr> default * 42:ba00c224b837 project/fr_FR.csv: Updated translation for fr_FR
2009-01-14 14:53 <cristi_an> before 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 it
2009-01-14 14:53 <cristi_an> so that table has some extra fileds after module instaltion
2009-01-14 14:54 <CIA-10> tryton: Yann FARGE <yann@sednacom.fr> default * 24:9a965e06f00d project_revenue/fr_FR.csv: Add translation for fr_FR
2009-01-14 14:54 <cristi_an> when you will do a new insert in that table from the original module
2009-01-14 14:54 <cristi_an> how it will know ablout the new fileds
2009-01-14 14:54 <cristi_an> since the base module is unaware of the new module
2009-01-14 14:55 <cristi_an> dependecy is new module depends on the base module
2009-01-14 14:55 <cedk> cristi_an: the model is updated in the pool
2009-01-14 14:55 <cristi_an> pool ?
2009-01-14 14:55 <cristi_an> that table that hold each table filesds ?
2009-01-14 14:55 <cristi_an> as data
2009-01-14 14:55 <cristi_an> ?
2009-01-14 14:56 <cedk> cristi_an: pool is a dictionnary with all models
2009-01-14 14:56 <cristi_an> ihi i start to understand this....
2009-01-14 14:56 <cristi_an> wnd where that dictionary is stored ?
2009-01-14 14:57 <cristi_an> in ir tables ?
2009-01-14 14:59 <cedk> cristi_an: it is not stored, it is constructed on runtime
2009-01-14 15:00 <cristi_an> cedk: and thins information is send or not on client side or is only needed by server
2009-01-14 15:01 <cedk> cristi_an: only server
2009-01-14 15:02 <cristi_an> cedk: so when server start it creates this "pool applcation dictionary" used for sql stuff ?
2009-01-14 15:03 <cedk> cristi_an: it is used in the code with: self.pool.get('account.invoice')
2009-01-14 15:04 <cristi_an> cedk: thx
2009-01-14 15:13 -!- enlightx(n=enlightx@82.112.213.114) has joined #tryton
2009-01-14 15:22 <CIA-10> tryton: 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_arch
2009-01-14 15:23 <bechamel> cristi_an: and also for models with workflow you can do "plugins > execute plugins > print workflow" on the client menu
2009-01-14 15:24 <cristi_an> bechamel: is there one on demo cleint ? (exe)
2009-01-14 15:25 <cristi_an> that i have started since i am in win
2009-01-14 15:26 <cedk> cristi_an: normally yes
2009-01-14 15:27 <cristi_an> cedk: so a model that has a workflow is
2009-01-14 15:27 <cristi_an> i want to try this feature
2009-01-14 15:28 <bechamel> cristi_an: invoice or sale or purchase
2009-01-14 15:28 <yangoon> cedk: bechamel is it possible to install on macosx with easy_install?
2009-01-14 15:28 <yangoon> someone did run tryton on a mac already?
2009-01-14 15:29 <cristi_an> bechamel: cedk this diagram is a picture saved on server side ?
2009-01-14 15:30 <cristi_an> or is created dinamically ?
2009-01-14 15:30 <cedk> cristi_an: created dynamically
2009-01-14 15:30 <cristi_an> cedk: wowww
2009-01-14 15:31 <cristi_an> i am impressed :O
2009-01-14 15:33 <cedk> cristi_an: it is like the "UML-like" graph
2009-01-14 15:34 <cristi_an> cedk: i noticed
2009-01-14 15:34 <cristi_an> compared to what erp's i saw in ro
2009-01-14 15:35 <cristi_an> this looks very promising
2009-01-14 15:38 <CIA-10> tryton: Yann Farge <yann@sednacom.fr> default * 120:ddaa0c1f8cbc company/fr_FR.csv: Updated translation for fr_FR
2009-01-14 16:13 <CIA-10> tryton: 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. ...
2009-01-14 16:15 <cristi_an> cedk: hpow can i see then the trytod server as a web service that is exposed to the client ?
2009-01-14 16:16 <cedk> cristi_an: don't understand
2009-01-14 16:16 <cristi_an> it is a comparsion to java...
2009-01-14 16:16 <cristi_an> so maybe it does not have sense here...
2009-01-14 16:18 <cristi_an> in jva when an application like this is doe usually it is used an application server (like jboss,websphere,glassfish) if you head of them
2009-01-14 16:18 <cristi_an> /head/heard
2009-01-14 16:18 -!- ikks(n=igor@201.244.188.98) has joined #tryton
2009-01-14 16:19 <cedk> cristi_an: need to go to the radio
2009-01-14 16:19 <cristi_an> ?
2009-01-14 16:19 <cedk> cristi_an: we look at this later
2009-01-14 16:20 <cedk> bye
2009-01-14 16:20 <cristi_an> it is not importat
2009-01-14 16:20 <cristi_an> bye
2009-01-14 16:26 <CIA-10> tryton: Yann Farge <yann@sednacom.fr> default * 21:e23e69592259 country/fr_FR.csv: Updated translation for fr_FR
2009-01-14 16:26 <CIA-10> tryton: Yann Farge <yann@sednacom.fr> default * 22:91ce90bfe4f9 country/fr_FR.csv: Add translation for fr_FR
2009-01-14 16:33 -!- juanfer(n=juanfer@201.244.188.98) has joined #tryton
2009-01-14 16:40 <CIA-10> tryton: Yann Farge <yann@sednacom.fr> default * 55:1f0d1d1cace3 currency/fr_FR.csv: Add translation for fr_FR
2009-01-14 16:44 <CIA-10> tryton: Yann Farge <yann@sednacom.fr> default * 31:e145ed4d4cca google_maps/fr_FR.csv: Add translation for fr_FR
2009-01-14 16:44 <panthera> hm, still fighting with relatorio and pywebdav. need to have all depends/recommends befor beeing able to upload tryton .deb packages.
2009-01-14 16:47 <yangoon> panthera: so you must them package, too, I suppose?
2009-01-14 16:50 <panthera> jup
2009-01-14 16:52 <CIA-10> tryton: Yann Farge <yann@sednacom.fr> default * 204:408ddade829d purchase/fr_FR.csv: Updated translation for fr_FR
2009-01-14 17:27 <CIA-10> tryton: Yann Farge <yann@sednacom.fr> default * 423:60e1e5583b3a stock/fr_FR.csv: Updated translation for fr_FR
2009-01-14 17:31 -!- X0d_of_N0d(i=user@gateway/tor/x-aa6aaa9ca7394f47) has joined #tryton
2009-01-14 17:50 -!- X0d_of_N`(i=user@gateway/tor/x-2ba29cb7f6da23b2) has joined #tryton
2009-01-14 18:37 -!- cristi_an(n=cristi@89.120.211.206) has joined #tryton
2009-01-14 19:09 <cristi_an> server 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."
2009-01-14 19:10 <cristi_an> http://paste.pocoo.org/show/99665/
2009-01-14 19:10 <cristi_an> as you see there only arty = fields.Many2One('party.party', 'Party', required=True,
2009-01-14 19:10 <cristi_an> ondelete='cascade', select=1, states=STATES)
2009-01-14 19:10 <cristi_an> has select =1
2009-01-14 19:10 <cristi_an> but in the ui
2009-01-14 19:10 <cristi_an> on address on search there are more fields
2009-01-14 19:24 <Timitos> cristi_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 object
2009-01-14 19:25 <Timitos> cristi_an: hold on. wrong id
2009-01-14 19:25 <Timitos> cristi_an: it is the address.xml and the id of the view is 'address_view_tree'
2009-01-14 19:27 <cristi_an> so there you override model definition ?
2009-01-14 19:27 <Timitos> crisit_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 so
2009-01-14 19:28 <cristi_an> so you are saying that this does not matter if the xml overrride that
2009-01-14 19:28 <cristi_an> so if i remove that selct =1 from code
2009-01-14 19:28 <cristi_an> the client will behave the same
2009-01-14 19:29 <Timitos> cristi_an: yes.
2009-01-14 19:29 <cristi_an> i did
2009-01-14 19:29 <cristi_an> you are right
2009-01-14 19:29 <cristi_an> thx
2009-01-14 19:30 <Timitos> crisit_an: i would recommend you to define these things on the object but not in the xml. this is the tryton way.
2009-01-14 19:31 <cristi_an> so the xml is "wrong" ?
2009-01-14 19:31 <cristi_an> the wrong way ?
2009-01-14 19:32 <cristi_an> i left this in xml
2009-01-14 19:32 <cristi_an> <tree string="Addresses">
2009-01-14 19:32 <cristi_an> <field name="party" select="1"/>
2009-01-14 19:32 <cristi_an> </tree>
2009-01-14 19:32 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-01-14 19:33 <cristi_an> restated server but i still have 3 item sin search in the client
2009-01-14 19:33 <cristi_an> i expected to have only party
2009-01-14 19:33 <Timitos> cristi_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 used
2009-01-14 19:34 <cristi_an> bu the presence of an item in search or search advanced is more like a view issue not a model issue
2009-01-14 19:34 <Timitos> cristi_an: you need to update the module if you make changes in the xml
2009-01-14 19:34 <cristi_an> is how you want to see things (view) not how is structured( model)
2009-01-14 19:34 <cristi_an> aha.
2009-01-14 19:34 <Timitos> cristi_an: this depends on the importance of the field
2009-01-14 19:36 <cristi_an> i say it;s more like a view option....(since the structure is the model) that is how i see things ...anyway this issue is minor
2009-01-14 19:36 <cristi_an> thx for upgrade tip
2009-01-14 19:36 <cristi_an> it worked :)
2009-01-14 19:36 <Timitos> cristi_an: yes you are right. i also learn from your questions ;-)
2009-01-14 19:42 <cristi_an> domain="[('country', '=', country)]"
2009-01-14 19:43 <cristi_an> this means it will select domains that are specifi to the country is set
2009-01-14 19:43 <cristi_an> ?
2009-01-14 19:43 <cristi_an> but what i am interested is the synthax :"[('country', '=', country)]"
2009-01-14 19:47 <Timitos> cristi_an: http://www.tryton.org/doc/branches/1.0/trytond/doc/models.html#module-OSV
2009-01-14 19:47 <Timitos> cristi_an: look into abstract search clauses. this is the same syntax
2009-01-14 19:49 <cristi_an> got it
2009-01-14 19:49 <cristi_an> self._order.insert(0, ('party', 'ASC'))
2009-01-14 19:49 <cristi_an> self._order.insert(1, ('sequence', 'ASC'))
2009-01-14 19:49 <cristi_an> this is clear
2009-01-14 19:49 <cristi_an> order realted
2009-01-14 19:50 <cristi_an> order after party asc then second order after seq ?
2009-01-14 19:50 <CIA-10> tryton: 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 ...
2009-01-14 20:37 <yangoon> bechamel: cedk: nice broadcast on panik radio!
2009-01-14 20:37 <cristi_an> is live now
2009-01-14 20:37 <cristi_an> ?
2009-01-14 20:37 <cristi_an> do you have a link ?
2009-01-14 20:41 <yangoon> cristi_an: do you talk about radio?
2009-01-14 20:42 <cristi_an> yangoon: yes
2009-01-14 20:42 <cristi_an> or link to some podcast ?
2009-01-14 20:42 <yangoon> ah ok, its over;)
2009-01-14 20:43 <cristi_an> how did they behaved ?
2009-01-14 20:43 <yangoon> cristi_an: it was in french
2009-01-14 20:43 <cristi_an> i know but i understand like 40%
2009-01-14 20:44 <yangoon> cristi_an: I have captured the stream, so if you want it...
2009-01-14 20:44 <yangoon> cristi_an: it is about 60 MB
2009-01-14 20:45 <cristi_an> you can put it somewhere to be downloaded:)
2009-01-14 20:48 <udono> yangoon: bechamel: why not put an mp3 version under Press coverage on the tryton homepage
2009-01-14 20:49 <cristi_an> that is the best
2009-01-14 20:58 -!- Gedd(n=ged@77.109.115.158.adsl.dyn.edpnet.net) has joined #tryton
2009-01-14 20:59 <yangoon> cristi_an: you can get it here: http://behrle.dyndns.org/download/radiopanik1900.ogg
2009-01-14 20:59 <yangoon> you can skip the first ten minutes, it is music before the broadcast begins
2009-01-14 21:00 <yangoon> udono: don't know, if we have permission to do so?
2009-01-14 21:02 <cristi_an> do i need sone codes to hear this ?
2009-01-14 21:02 <cristi_an> since it just don;t start
2009-01-14 21:02 <cristi_an> ubuntu
2009-01-14 21:03 <yangoon> you need an ogg decoder, i.e. vlc is a very good player
2009-01-14 21:03 <cristi_an> apt-get vlc ?
2009-01-14 21:04 <yangoon> cristi_an: apt-get install vlc
2009-01-14 21:10 <cristi_an> yangoon: open the pipe for download :)
2009-01-14 21:10 <cristi_an> it comes but slowly
2009-01-14 21:11 <yangoon> cristi_an: it is not only you:D
2009-01-14 21:13 <cristi_an> ooops !
2009-01-14 21:28 <X0d_of_N`> cristi_an: ogg should be supported by default in ubuntu, totem should play it without installing anything....
2009-01-14 21:35 <cristi_an> it satart in vlc
2009-01-14 21:35 <cristi_an> but no sound
2009-01-14 21:38 <cristi_an> for address in self.browse(cursor, user, ids, context=context):
2009-01-14 21:38 <cristi_an> res.append((address.id, ", ".join(x for x in [address.name,
2009-01-14 21:38 <cristi_an> this is in get_name function in adddress.py
2009-01-14 21:39 <cristi_an> what this means res.append((address.id, ", ".join(x for x in [address.name,address.party.name, address.zip, address.city] if x)))
2009-01-14 21:39 <cristi_an> ?
2009-01-14 21:41 <cristi_an> i got it what it means
2009-01-14 21:45 -!- ikks(n=igor@201.244.188.98) has joined #tryton
2009-01-14 21:53 <cristi_an> i alter the method name_get in address.py
2009-01-14 21:53 <cristi_an> http://paste.pocoo.org/show/99692/
2009-01-14 21:53 <cristi_an> but i do not see anything in server console
2009-01-14 21:53 <cristi_an> i wante to see the value of res
2009-01-14 21:53 <cristi_an> or at least when name_get is called
2009-01-14 21:54 <cristi_an> can someone help me with this
2009-01-14 21:54 <cristi_an> ?
2009-01-14 21:57 <yangoon> cristi_an: you can have a look to trytond/server.py and look how logging works
2009-01-14 21:58 <cristi_an> print is not a valid thing for seeing thign in console ?
2009-01-14 21:58 <cristi_an> yangoon:
2009-01-14 22:04 -!- ikks(n=igor@201.244.188.98) has joined #tryton
2009-01-14 22:07 <cristi_an> so if i just want to see some text in the console i have to work with loggers ?
2009-01-14 22:07 <cristi_an> print is not enough ?
2009-01-14 22:26 <Timitos> cristi_an: print is enough for console
2009-01-14 22:26 <Timitos> cristi_an: you need to restart your server if you make changes
2009-01-14 22:26 <Timitos> cristi_an: this function is called when you add a party on invoice for example
2009-01-14 22:27 <cristi_an> how do you know this
2009-01-14 22:27 <cristi_an> how can i find usages of a function
2009-01-14 22:28 <cristi_an> in java you can easy...do this
2009-01-14 22:28 <cristi_an> find references...or so
2009-01-14 22:30 <Timitos> if everybody codes with guidelines you can use this phrase in console in modules directory: find -type f -name '*.py' | xargs grep address_obj.name_get
2009-01-14 22:31 <cristi_an> wow
2009-01-14 22:32 <cristi_an> so you can;t use eclipse for finding usages of a method ,function ?
2009-01-14 22:33 <Timitos> cristi_an: if you have trytond as workspace i think it should also work with searching for name_get or address_obj.name_get
2009-01-14 22:33 <cristi_an> address_obj
2009-01-14 22:33 <Timitos> cristi_an: i mean with search from eclipse
2009-01-14 22:33 <cristi_an> it is about coding guidlines
2009-01-14 22:34 <Timitos> cristi_an: yes. address_obj can also be something other
2009-01-14 22:34 <cristi_an> since if someone calls that xxx
2009-01-14 22:34 <Timitos> cristi_an: but i know how cedk and bechamel name their variables
2009-01-14 22:34 <cristi_an> i want to seach usages of name_get from address.py class in other places
2009-01-14 22:36 <Timitos> cristi_an: this is what i found with my search: http://paste.pocoo.org/show/99705/
2009-01-14 22:37 <cristi_an> Timitos: so address_obj is present always if you have an instance of that class from what i see
2009-01-14 22:37 <cristi_an> Timitos: is this a coding guidance
2009-01-14 22:37 <cristi_an> ?
2009-01-14 22:38 <Timitos> cristi_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.
2009-01-14 22:38 <Timitos> if i will be sure i need to search only for name_get but there could be some wrong results with this either
2009-01-14 22:39 <cristi_an> those are too many results then
2009-01-14 22:39 <cristi_an> hard to debug in this case
2009-01-14 22:39 <cristi_an> i say
2009-01-14 22:39 <cristi_an> comapred to java...very different
2009-01-14 22:39 <Timitos> yes with only name_get there are many results
2009-01-14 23:01 <cristi_an> Timitos
2009-01-14 23:01 <cristi_an> after an address is saved it does not supposed the form to be cleand atumattically to add the othere and so
2009-01-14 23:04 <Timitos> cristi_an: ?
2009-01-14 23:05 <cristi_an> well i go to address form
2009-01-14 23:05 <cristi_an> i save one
2009-01-14 23:05 <cristi_an> but the save values remain in the controls
2009-01-14 23:06 <cristi_an> is this how is suposed to be? not to empty the form and continue to add more without pressing new
2009-01-14 23:08 <Timitos> cristi_an: this is the intended behavior. there are other forms which behave like you mentioned
2009-01-14 23:08 -!- yangoon1(n=mathiasb@p549F5DB2.dip.t-dialin.net) has joined #tryton
2009-01-14 23:09 <cristi_an> oki and how this is specifed (where) to have this kind of behaviour
2009-01-14 23:09 <cristi_an> in the xml ?
2009-01-14 23:09 <cristi_an> of model ?
2009-01-14 23:09 <cristi_an> or model ?
2009-01-14 23:11 <Timitos> cristi_an: i donĀ“t know in the moment but i think it depends on the widget which is used.
2009-01-14 23:11 <cristi_an> oki

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