IRC logs of #tryton for Friday, 2013-08-30

chat.freenode.net #tryton log beginning Fri Aug 30 00:00:01 CEST 2013
2013-08-30 01:10 <cedk> plantian: https://groups.google.com/forum/#!searchin/tryton-dev/write/tryton-dev/PU_P_Z8wjoE/SGx_GWWwQRkJ
2013-08-30 01:10 <cedk> plantian: otherwise if all the records are inside a one2many, you can group writes as a write on one2many
2013-08-30 01:11 <cedk> plantian: http://doc.tryton.org/2.8/trytond/doc/ref/models/fields.html?highlight=one2many#trytond.model.fields.One2Many
2013-08-30 01:14 <plantian> cedk: you mean I could just pass in the dictionary for an inventory with all the lines nested inside it ? does it support multiple ('write', id, {}) entries, like ('write', 1, {something}), ('write', 1, {something}),...?
2013-08-30 01:21 <plantian> cedk: the intent of the write api sounds good but I'm not sure about the specifics of the actual api, maybe an optional third argument that is an iterable of 2-tuples would be easier to work with
2013-08-30 01:22 <plantian> otherwise people will have to just flatten a list every-time and if there are 100 individual writes how does that perform with flattening and unflattening the argument list?
2013-08-30 01:31 <plantian> cedk: I don't really understand the doc regarding the ", [ids, ..., ]" part but I think it works to nest the writes, thanks, it now takes 4 seconds instead of 30-50 seconds.
2013-08-30 11:19 <sisalp2> cedk: would the big sale case be complex to test on Tryton ?
2013-08-30 11:20 <sisalp2> cedk: I guess openerp workflow sucks. The problem is when the proposal is confirm to an order : it takes ~5 hours CPU
2013-08-30 11:25 <nicoe> sisalp2: you could start from the proteus script that creates the demo database and adapt it to create a big sale
2013-08-30 11:47 <sisalp2> nicoe: I'm 'rather' bad at proteus, but succeeded in creating gnuHealth demo database ;-), I may give a try
2013-08-30 11:52 <cedk> sisalp2: a hint to quickly create lines is by copying a them multiple times
2013-08-30 11:58 <sisalp2> cedk: I don't find where to do it on the demo server
2013-08-30 12:04 <cedk> sisalp2: not possible
2013-08-30 12:07 <jeancavallo> cedk: Hi ! I would like to reset tryton_parser.taghandler to None here : http://hg.tryton.org/trytond/file/5236aa254801/trytond/modules/__init__.py#l242
2013-08-30 12:07 <jeancavallo> cedk: I am having a problem because a skiptest tag overlaps to the next file
2013-08-30 12:08 <jvblasco> morning everyone
2013-08-30 12:13 <cedk> jeancavallo: don't understand
2013-08-30 12:19 <jeancavallo> cedk: I tried to summarize the problem here : https://bugs.tryton.org/issue3348
2013-08-30 13:45 -!- yangoon(~mathiasb@p549F24F7.dip0.t-ipconnect.de) has left #tryton
2013-08-30 15:36 <jeancavallo> qsd
2013-08-30 15:53 -!- priyankarani1(~priyanka@122.177.220.179) has left #tryton
2013-08-30 16:25 -!- priyankarani(~priyanka@122.177.220.179) has left #tryton
2013-08-30 19:16 <WalterN> zultron: is there a module for tryton that would allow openPLM to plug into it?
2013-08-30 19:47 <zultron> Hi WalterN, no, I don't think so. I figured I'd have to do that work myself.

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