IRC logs of #tryton for Thursday, 2010-01-21

chat.freenode.net #tryton log beginning Thu Jan 21 00:00:02 CET 2010
CIA-5ced roundup * #1388/Allow search_rec_name of ir.lang to search on code: [deferred] Could be a wish.00:14
CIA-5http://bugs.tryton.org/roundup/issue138800:14
-!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton02:37
-!- fil(n=phil@blue.hands.com) has joined #tryton02:37
-!- CIA-5(n=CIA@208.69.182.149) has joined #tryton02:37
-!- preC(n=preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton02:37
-!- yangoon1(n=mathiasb@p549F6425.dip.t-dialin.net) has joined #tryton02:40
-!- ikks(n=ikks@190.158.102.38) has joined #tryton03:34
-!- yangoon(n=mathiasb@p549F313B.dip.t-dialin.net) has joined #tryton04:40
-!- yangoon(n=mathiasb@p549F7011.dip.t-dialin.net) has joined #tryton05:18
-!- paepke(n=paepke@p4FEB0BCD.dip0.t-ipconnect.de) has joined #tryton07:39
-!- enlightx(n=enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton08:40
-!- sharoon(n=sharoont@78.145.211.171) has joined #tryton08:53
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton09:09
-!- bechamel(n=user@host-85-201-159-186.brutele.be) has joined #tryton09:21
CIA-5Bertrand Chenal <bch@b2ck.com> default * 2156:9ec1dc10ccad trytond/ (CHANGELOG trytond/tools/misc.py): Add LRU memoization, use it to cache compiled code for safe_eval10:16
CIA-5http://hg.tryton.org/trytond/rev/9ec1dc10ccad10:16
-!- essich(n=essich@p4FCF9530.dip0.t-ipconnect.de) has joined #tryton11:01
-!- yangoon(n=mathiasb@p549F7AC4.dip.t-dialin.net) has joined #tryton11:17
-!- paepke_(n=paepke@p4FEB0E35.dip0.t-ipconnect.de) has joined #tryton11:24
CIA-5C?dric Krier <ced@b2ck.com> default * 1497:4cdf09fa0441 tryton/tryton/gui/window/view_form/model/ (group.py record.py):12:06
CIA-5Improve switch view12:06
CIA-5- Don't fetch all records when new fields are added by views, re-fetch records12:06
CIA-5only if new fields are displayed.12:06
CIA-5- Use some list comprehension.12:06
CIA-5- Use dictionaries to prevent double "for" loop.12:06
CIA-5- Make reload to reload also the 80 others records if needed.12:06
CIA-5http://hg.tryton.org/tryton/rev/4cdf09fa044112:06
CIA-5C?dric Krier <ced@b2ck.com> default * 2157:508ea2ba01f3 trytond/trytond/ir/model.py: Improve get_id of ir.model.data by adding context and use limit in search12:10
CIA-5http://hg.tryton.org/trytond/rev/508ea2ba01f312:10
CIA-5C?dric Krier <ced@b2ck.com> default * 2158:b5ae9f9c48ca trytond/trytond/ (ir/module/module.py res/user.py): Use get_id of ir.model.data12:10
CIA-5http://hg.tryton.org/trytond/rev/b5ae9f9c48ca12:10
CIA-5C?dric Krier <ced@b2ck.com> default * 551:90e80f95dc9c account/ (account.py move.py tax.py): Use get_id of ir.model.data12:10
CIA-5http://hg.tryton.org/modules/account/rev/90e80f95dc9c12:10
CIA-5C?dric Krier <ced@b2ck.com> default * 403:97666e4b260d account_invoice/invoice.py: Use get_id of ir.model.data12:10
CIA-5http://hg.tryton.org/modules/account_invoice/rev/97666e4b260d12:10
CIA-5C?dric Krier <ced@b2ck.com> default * 100:d3837857f230 analytic_account/ (account.py line.py): Use get_id of ir.model.data12:11
CIA-5http://hg.tryton.org/modules/analytic_account/rev/d3837857f23012:11
CIA-5C?dric Krier <ced@b2ck.com> default * 30:4e9dab2d3b0e product_cost_history/product.py: Use get_id of ir.model.data12:11
CIA-5http://hg.tryton.org/modules/product_cost_history/rev/4e9dab2d3b0e12:11
CIA-5C?dric Krier <ced@b2ck.com> default * 50:7e835f6096d0 project_revenue/work.py: Use get_id of ir.model.data12:11
CIA-5http://hg.tryton.org/modules/project_revenue/rev/7e835f6096d012:11
CIA-5C?dric Krier <ced@b2ck.com> default * 360:a65740827050 purchase/purchase.py: Use get_id of ir.model.data12:11
CIA-5http://hg.tryton.org/modules/purchase/rev/a6574082705012:11
CIA-5C?dric Krier <ced@b2ck.com> default * 231:2faed69973e1 sale/sale.py: Use get_id of ir.model.data12:11
CIA-5http://hg.tryton.org/modules/sale/rev/2faed69973e112:11
CIA-5C?dric Krier <ced@b2ck.com> default * 637:e6f675a7ab04 stock/ (location.py product.py shipment.py): Use get_id of ir.model.data12:11
CIA-5http://hg.tryton.org/modules/stock/rev/e6f675a7ab0412:11
CIA-5C?dric Krier <ced@b2ck.com> default * 34:b01407e0d0c7 stock_inventory_location/inventory.py: Use get_id of ir.model.data12:11
CIA-5http://hg.tryton.org/modules/stock_inventory_location/rev/b01407e0d0c712:11
CIA-5C?dric Krier <ced@b2ck.com> default * 99:8db916410cbc timesheet/ (line.py work.py): Use get_id of ir.model.data12:11
CIA-5http://hg.tryton.org/modules/timesheet/rev/8db916410cbc12:11
CIA-5C?dric Krier <ced@b2ck.com> default * 2159:0e16b7e4531c trytond/trytond/model/modelsql.py:12:47
CIA-5Don't put many2one in the search cache (too slow) and externalize some12:47
CIA-5function result outside the loop12:47
CIA-5http://hg.tryton.org/trytond/rev/0e16b7e4531c12:47
-!- ikks(n=ikks@190.158.102.38) has joined #tryton12:50
essichcedk: your nit-picking is over-drawing the bow (d├ępasser les bornes)12:51
pantheraumm?12:59
-!- ikks(n=ikks@190.158.102.38) has joined #tryton13:04
CIA-5C?dric Krier <ced@b2ck.com> default * 1498:cc404693d403 tryton/tryton/gui/window/view_form/model/record.py: Fix _get_on_change_args to keep value type13:35
CIA-5http://hg.tryton.org/tryton/rev/cc404693d40313:35
cedkpanthera: to understand: http://groups.google.com/group/tryton-dev/browse_frm/thread/c5e175688bb19fe14:10
pantherathe other guy is a moron.14:12
-!- woakas(n=woakas@190.144.69.234) has joined #tryton14:24
-!- ChanServ(ChanServ@services.) has joined #tryton14:33
-!- enlightx(n=enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton14:33
-!- yangoon(n=mathiasb@p549F7AC4.dip.t-dialin.net) has joined #tryton14:33
-!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton14:33
-!- fil(n=phil@blue.hands.com) has joined #tryton14:33
-!- CIA-5(n=CIA@208.69.182.149) has joined #tryton14:33
-!- preC(n=preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton14:33
-!- woakas(n=woakas@190.144.69.234) has joined #tryton14:33
-!- bechamel(n=user@host-85-201-159-186.brutele.be) has joined #tryton14:33
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton14:33
-!- saxa(n=sasa@host242-95-static.223-217-b.business.telecomitalia.it) has joined #tryton14:35
-!- sharoon(n=sharoont@78.145.211.171) has joined #tryton14:35
-!- elver(n=elver@213-35-213-182-dsl.trt.estpak.ee) has joined #tryton14:35
-!- ChanServ(ChanServ@services.) has joined #tryton15:51
-!- cedk_(n=ced@213.49.144.172) has joined #tryton15:51
-!- CIA-5(n=CIA@208.69.182.149) has joined #tryton15:51
-!- preC(n=preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton15:51
-!- woakas(n=woakas@190.144.69.234) has joined #tryton15:51
-!- yangoon(n=mathiasb@p549F7AC4.dip.t-dialin.net) has joined #tryton15:51
-!- elver(n=elver@213-35-213-182-dsl.trt.estpak.ee) has joined #tryton15:51
-!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton15:51
-!- fil(n=phil@blue.hands.com) has joined #tryton15:51
-!- bechamel(n=user@host-85-201-159-186.brutele.be) has joined #tryton15:51
-!- enlightx(n=enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton15:51
-!- sharoon(n=sharoont@78.145.211.171) has joined #tryton15:51
-!- saxa(n=sasa@host242-95-static.223-217-b.business.telecomitalia.it) has joined #tryton15:51
-!- tekknokrat(n=gthieleb@dslb-088-075-227-054.pools.arcor-ip.net) has joined #tryton16:22
-!- juanfer(n=juanfer@190.144.69.234) has joined #tryton16:44
CIA-5htgoebel roundup * #1393/Create company wizard end even if creation failed:16:46
CIA-5[new] Create company wizard end even if creation failed, eg. due to an user error:16:46
CIA-5* Fresh database for 1.416:46
CIA-5* No user created16:46
CIA-5* Install modul ...16:46
CIA-5http://bugs.tryton.org/roundup/issue139316:46
CIA-5htgoebel roundup * #1394/"You try to bypass an access rule" when company was not created by wizard:16:53
CIA-5[new] When the company was not created using the wizard, creating a chart of accounts fails:16:53
CIA-5* Fresh database for 1.416:53
CIA-5* No user created16:53
CIA-5* Ins ...16:53
CIA-5http://bugs.tryton.org/roundup/issue139416:53
CIA-5htgoebel roundup * #1395/"from tryton import pysocket" -> options are catched by tryton:17:32
CIA-5[new] A script using "from tryton import pysocket" can not parse the arguments. ConfigManager() is intercepting it.17:32
CIA-5Reproduce using attached sc ...17:32
CIA-5http://bugs.tryton.org/roundup/issue139517:32
CIA-5htgoebel roundup * #1395/"from tryton import pysocket" -> options are catched by tryton: [chatting] The same is true if using "from trytond import pysocket"17:32
CIA-5http://bugs.tryton.org/roundup/issue139517:32
CIA-5C?dric Krier <ced@b2ck.com> default * 1499:fb32419e993e tryton/tryton/gui/window/view_form/view/form_gtk/interface.py:18:05
CIA-5Improve color_set18:05
CIA-5- use style only once18:05
CIA-5- get colormap only when needed18:05
CIA-5http://hg.tryton.org/tryton/rev/fb32419e993e18:05
CIA-5C?dric Krier <ced@b2ck.com> default * 1500:29a5642cd121 tryton/tryton/gui/window/view_form/ (12 files in 7 dirs): Use iterators when possible18:05
CIA-5http://hg.tryton.org/tryton/rev/29a5642cd12118:05
CIA-5C?dric Krier <ced@b2ck.com> default * 1501:b371cd9c827a tryton/tryton/gui/window/view_form/model/record.py: Always skip signal when loading records even for less then 1018:05
CIA-5http://hg.tryton.org/tryton/rev/b371cd9c827a18:05
CIA-5ced roundup * #1395/"from tryton import pysocket" -> options are catched by tryton: [resolved] Already fixed with changeset 32b0c400fb98 and changeset 1f69e8c06be418:13
CIA-5http://bugs.tryton.org/roundup/issue139518:13
CIA-5htgoebel roundup * #1395/"from tryton import pysocket" -> options are catched by tryton: [chatting] merci18:20
CIA-5http://bugs.tryton.org/roundup/issue139518:20
CIA-5C?dric Krier <ced@b2ck.com> default * 2160:fd1acd2b09df trytond/trytond/model/modelstorage.py:18:24
CIA-5Fix typo18:24
CIA-5_get_id -> get_id18:24
CIA-5http://hg.tryton.org/trytond/rev/fd1acd2b09df18:24
CIA-5C?dric Krier <ced@b2ck.com> default * 2161:e9acc2af954e trytond/trytond/model/modelstorage.py:18:33
CIA-5Use searched value in logging instead of csv one when failing to import18:33
CIA-5many2many for issue138918:33
CIA-5http://hg.tryton.org/trytond/rev/e9acc2af954e18:33
CIA-5ced roundup * #1389/wrong message if importing many2many fails: [resolved] Fix with changeset e9acc2af954e18:34
CIA-5http://bugs.tryton.org/roundup/issue138918:34
-!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton18:55
-!- juanfer(n=juanfer@190.144.69.234) has joined #tryton19:03
-!- tekknokrat(n=gthieleb@dslb-088-075-227-054.pools.arcor-ip.net) has joined #tryton19:17
vengfulsquirrelcedk: Has anything changed in trunk that would break my demo.sql database?  I can't seem to confirm a sale to test this patch.20:14
vengfulsquirrelIt just says "Missing sequence!".20:16
cedk_vengfulsquirrel: there is new access right on sequence20:18
-!- enlightx(n=enlightx@host-84-220-92-50.cust-adsl.tiscali.it) has joined #tryton20:18
vengfulsquirrelYes, admin works.20:19
vengfulsquirrelWhat do I need to change to get the regular user to be able to confirm a sale?  Also that error message is not very helpful.20:19
cedk_vengfulsquirrel: it should work20:27
cedk_bechamel: ping20:27
vengfulsquirrelI am using old database, do you know what the rule is on the sequence?20:32
cedkvengfulsquirrel: sequence.type has a many2many to groups that are allowed to write on it20:32
CIA-5C?dric Krier <ced@b2ck.com> default * 1502:c3d7d59c3616 tryton/tryton/gui/window/view_form/model/record.py:20:32
CIA-5Fix __getitem__ when self is not in models20:32
CIA-5New record on form view is not added to models so when reloading self is not20:32
CIA-5in models20:32
CIA-5http://hg.tryton.org/tryton/rev/c3d7d59c361620:32
vengfulsquirrelcedk: Yes, okay that is the problem, only administration is allowed to make a new customer shipment.20:36
vengfulsquirrelI cannot change it though.20:37
vengfulsquirrel"You are not allowed to modify this record. This record is part of the base configuration.20:37
vengfulsquirrel"20:37
cedkvengfulsquirrel: stock group is allowed20:44
vengfulsquirrelNot in the database I was last given from the demo.  I probably need to add it manually in psql.20:44
vengfulsquirrelcedk: http://www.laspilitas.com/tryton/permissions.jpg20:47
vengfulsquirrelDo you mean Stock Administration ?20:48
CIA-5C?dric Krier <ced@b2ck.com> default * 1503:1056f7ce76c1 tryton/tryton/gui/window/view_form/model/record.py:20:49
CIA-5Add __contains__ to EvalEnvironment20:49
CIA-5It is used in _get_on_change_args20:49
CIA-5http://hg.tryton.org/tryton/rev/1056f7ce76c120:49
cedkvengfulsquirrel: no, access right on sequence is only to edit it20:50
cedkvengfulsquirrel: but confirm a sale doesn't write sequence20:50
vengfulsquirrelIt should create a draft shipment.20:50
cedkvengfulsquirrel: I got the error, I will check20:52
cedkvengfulsquirrel: ok I found two bugs21:01
vengfulsquirrelcedk: thanks, I was starting to think I am going crazy21:02
CIA-5C?dric Krier <ced@b2ck.com> default * 2162:f4f13d0dec82 trytond/trytond/ir/sequence.py: Remove user from context when bypassing rules21:03
CIA-5http://hg.tryton.org/trytond/rev/f4f13d0dec8221:03
CIA-5C?dric Krier <ced@b2ck.com> default * 232:d361e987fae5 sale/sale.py: Writing move on sale line require to bypass rules21:05
CIA-5http://hg.tryton.org/modules/sale/rev/d361e987fae521:05
CIA-5C?dric Krier <ced@b2ck.com> default * 361:3d3cc958d092 purchase/purchase.py: Writing move on purchase line require to bypass rules21:08
CIA-5http://hg.tryton.org/modules/purchase/rev/3d3cc958d09221:08
cedkwe need to make some more test with lowest privilege users21:10
vengfulsquirrelYes, that gets me a lot as well as larger result sets.21:11
-!- pepeu(n=manuel@201.152.36.6) has joined #tryton21:12
CIA-5C?dric Krier <ced@b2ck.com> default * 1504:2980b4b694c6 tryton/tryton/gui/window/view_board/action.py: Fix dashboard action to use pyson_* values21:26
CIA-5http://hg.tryton.org/tryton/rev/2980b4b694c621:26
CIA-5C?dric Krier <ced@b2ck.com> default * 1505:097a5b5987aa tryton/tryton/action/main.py: Set default value for pyson_domain21:26
CIA-5http://hg.tryton.org/tryton/rev/097a5b5987aa21:26

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