IRC logs of #tryton for Wednesday, 2013-01-02

chat.freenode.net #tryton log beginning Wed Jan 2 00:00:01 CET 2013
2013-01-02 21:20 <apollo13> hi, is there any history for the name of the project, eg why was it named tryton or what does it stand for? Or was it just generated randomly or something like that
2013-01-02 21:23 <cedk> apollo13: bechamel and I choose it
2013-01-02 21:24 <apollo13> and does it have anything to do with the greek god?
2013-01-02 21:27 <cedk> apollo13: it has many links: the greek god, the moon of saturn, the french name of newt and similarity with Python
2013-01-02 21:27 <apollo13> hmm, I like the name :)
2013-01-02 21:33 -!- apollo13(~apollo13@django/committer/apollo13) has left #tryton
2013-01-02 21:34 <cedk> apollo13: http://hg.tryton.org/tryton/file/6f0309d9714c/tryton/gui/window/tips.py#l22
2013-01-02 22:09 <coeps> Hi everybody, I am playing around with function fields vs. on change with etc.. Other than no storing in the database, is there another benefit of functionfields I do not understand yet?
2013-01-02 22:10 <coeps> it obviously puts load on the server, but will reduce size of the db and therefor ressources.
2013-01-02 22:11 <coeps> I can obviously achieve the same "result" with on_change_with than with get_functionfield method.
2013-01-02 22:19 <cedk> coeps: if you can compute the value then storing it duplicate information
2013-01-02 22:20 <cedk> coeps: so your database is no more normalized
2013-01-02 22:20 <cedk> coeps: with on_change_with, it doesn't ensure that the value is always what will be computed
2013-01-02 22:20 <cedk> coeps: because user could override the value
2013-01-02 22:21 <coeps> but it seems not to be saved in the history when being computed. I would like to test the _history = True feature with a decimal value that was computed.
2013-01-02 22:22 <coeps> cedk: by the way is that the reason why product.cost_price is stored as a ir.property?
2013-01-02 22:39 -!- calbasi(~joan@14.66.14.37.dynamic.jazztel.es) has left #tryton
2013-01-02 23:20 <cedk> coeps: it is a property because it must be different by company
2013-01-02 23:20 <cedk> coeps: don't understand the question about _history
2013-01-02 23:21 <coeps> cedk: I added the _history = True flag to a model, now the history_table was created.
2013-01-02 23:22 <coeps> cedk: Now i would like to use that function field to be displayed like you did in product_history (as a graph) but the function field is not in the history table
2013-01-02 23:23 <coeps> cedk: my guess: no history for function fields
2013-01-02 23:23 <cedk> coeps: no you just have to compute it with the history data
2013-01-02 23:25 <coeps> cedk: ahhh (could have guessed myself) thanks
2013-01-02 23:26 <coeps> cedk: I get an error when rightclicking a record in an _unsaved_ referencelist (many2one).
2013-01-02 23:26 <coeps> File "/usr/local/lib/python2.7/dist-packages/tryton-2.6.0-py2.7.egg/tryton/gui/window/view_form/model/field.py", line 384, in get
2013-01-02 23:26 <coeps> value = record.value.get(self.name)
2013-01-02 23:28 <coeps> cedk: the stack trace comes from tryton/gui/window/view_form/view/list.py", line 626, in pop
2013-01-02 23:28 <coeps> record_id = field.get(record)
2013-01-02 23:29 <coeps> cedk: for some reason, the popup menu is displayed when I press the save button before. Even if I just add a record an cancel the action, the error pops up
2013-01-02 23:30 <cedk> coeps: fill an issue
2013-01-02 23:32 <coeps> cedk: ok, I'll do

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