IRC logs of #tryton for Tuesday, 2012-06-26

chat.freenode.net #tryton log beginning Tue Jun 26 00:00:02 CEST 2012
2012-06-26 10:56 <grasbauer> hi
2012-06-26 11:33 -!- ccomb(~ccomb@LRouen-152-81-30-16.w80-13.abo.wanadoo.fr) has left #tryton
2012-06-26 13:27 -!- marksaitis(~marksaiti@195.59.185.18) has left #tryton
2012-06-26 17:09 -!- pjstevns(~pjstevns@nfg3.nfgs.net) has left #tryton
2012-06-26 17:42 <lukio> hello, i'm adding a selection field into my model (extending Sale). It is possible to set the options of my selection field depending on other values ​​of my sale?
2012-06-26 18:22 -!- Timitos(~kp@host-88-217-184-172.customer.m-online.net) has left #tryton
2012-06-26 19:07 <newzen> hello, do you include size and color on products?
2012-06-26 20:12 <lukio> hello, how can I modify a line of a sale at state='quotation' , using on_change function?
2012-06-26 20:13 <lukio> these is the error i seeing : *** InternalError: cannot execute UPDATE in a read-only transaction
2012-06-26 20:51 <lukio> hi, finally i resolve it. I modified at transition to 'confirmed'.
2012-06-26 22:00 <luc_> Hi, I have a question: when I make an invoice, the accounts entrys are updated automatically or not?
2012-06-26 22:01 <cedk> luc_: yes the system create an account move
2012-06-26 22:02 <luc_> mmm that's not working. Ok Thanks! I'll check it
2012-06-26 22:03 <cedk> luc_: you must open the invoice
2012-06-26 22:06 -!- luc_(c9d5f115@gateway/web/freenode/ip.201.213.241.21) has left #tryton
2012-06-26 22:31 <coeps> Hi all, I ask a question again, I was asking yesterday because I think its interesting
2012-06-26 22:31 <coeps> I am playing around with the invoice module and had a look at the getters, i.e. def get_untaxed_amount(self, ids, name):
2012-06-26 22:31 <coeps> with some print statements it seems, that all the ids of invoices are given (lets say n) and for each n, m lines have to be put on res.
2012-06-26 22:32 <coeps> so every object n with all children m has to be iterated over, event thought only one invoice n is worked on.
2012-06-26 22:33 <coeps> From my understanding the calculation for one field has a linear growth with the amount of invoices and invoices.lines.
2012-06-26 22:33 <coeps> When I create thousands of invoices with hundreds of lines, every time I change a functionfield, all of them are computed
2012-06-26 22:33 <coeps> ?
2012-06-26 22:34 <coeps> Isn't that a performanceproblem at some point?

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