IRC logs of #tryton for Monday, 2009-07-06

chat.freenode.net #tryton log beginning Mon Jul 6 00:00:01 CEST 2009
-!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton00:58
-!- digitalsatori(n=tony@116.233.248.233) has joined #tryton02:34
-!- ikks(n=ikks@190.102.220.208) has joined #tryton03:31
-!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton04:30
-!- yangoon(n=mathiasb@p549F7C28.dip.t-dialin.net) has joined #tryton05:20
-!- digitalsatori(n=tony@116.233.248.233) has joined #tryton06:42
-!- udono(n=udono@dynamic-unidsl-85-197-21-17.westend.de) has joined #tryton06:49
-!- Timitos(n=timitos@88.217.184.172) has joined #tryton07:48
-!- paepke(n=paepke@smtp.metaldyne.de) has joined #tryton08:12
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton08:20
-!- carlos(n=carlos@240.156.221.87.dynamic.jazztel.es) has joined #tryton08:50
CIA-70C?dric Krier <ced@b2ck.com> default * 1385:44b3d31813ca trytond/trytond/osv/orm.py: Fix SQL clause for 'not in' with False value09:25
CIA-70http://hg.tryton.org/1.0/trytond/rev/44b3d31813ca09:25
CIA-70C?dric Krier <ced@b2ck.com> default * 412:d8705bfd4eaa stock/inventory.py: Don't set date in set_state_done for issue108709:25
CIA-70http://hg.tryton.org/1.0/modules/stock/rev/d8705bfd4eaa09:25
CIA-70Korbinian Preisler <timitos@virtual-things.biz> default * 413:600a3c6a69ac stock/inventory.py: Fix effective_date of stock move from inventory for issue 108709:25
CIA-70http://hg.tryton.org/1.0/modules/stock/rev/600a3c6a69ac09:25
CIA-70C?dric Krier <ced@b2ck.com> default * 1119:1e9299906439 tryton/tryton/config.py: Add double quote arround %s in file action commands09:25
CIA-70http://hg.tryton.org/1.0/tryton/rev/1e929990643909:25
CIA-70C?dric Krier <ced@b2ck.com> default * 1120:5a5efbea9ed0 tryton/tryton/gui/window/view_form/view/form_gtk/many2one.py: Catch exception when saving many2one09:25
CIA-70http://hg.tryton.org/1.0/tryton/rev/5a5efbea9ed009:25
-!- bechamel(n=user@host-85-201-74-27.brutele.be) has joined #tryton09:38
CIA-70C?dric Krier <ced@b2ck.com> default * 1121:ba0eac245bb5 tryton/CHANGELOG: Prepare changelog for release 1.0.509:53
CIA-70http://hg.tryton.org/1.0/tryton/rev/ba0eac245bb509:53
CIA-70C?dric Krier <ced@b2ck.com> default * 1122:761564f37c1f tryton/.hgtags: Added tag 1.0.5 for changeset ba0eac245bb509:53
CIA-70http://hg.tryton.org/1.0/tryton/rev/761564f37c1f09:53
CIA-70C?dric Krier <ced@b2ck.com> default * 1123:1b4df184a155 tryton/ (doc/conf.py tryton/version.py): Increase version number09:55
CIA-70http://hg.tryton.org/1.0/tryton/rev/1b4df184a15509:55
Timitoscedk: is there a possibility to reload a currenct view after executing a wizard?10:03
cedkTimitos: it is what it is done10:07
Timitoscedk: but i have a domain on the view and the records which do not match the domain after executing the wizard are not removed10:08
Timitoscedk: for this i need to click the reload button10:08
cedkTimitos: this is not reload but new search10:10
Timitoscedk: ah ok. so how can i let this happen after executing the wizard?10:11
cedkTimitos: open a new view10:12
Timitoscedk: but then i still will have a view with uncorrect data which i need to close. this is not very comfortable10:13
CIA-70C?dric Krier <ced@b2ck.com> default * 1386:a13025348097 trytond/CHANGELOG: Prepare changelog for release 1.0.510:20
CIA-70http://hg.tryton.org/1.0/trytond/rev/a1302534809710:20
CIA-70C?dric Krier <ced@b2ck.com> default * 1387:738daa5d108f trytond/.hgtags: Added tag 1.0.5 for changeset a1302534809710:20
CIA-70http://hg.tryton.org/1.0/trytond/rev/738daa5d108f10:20
CIA-70C?dric Krier <ced@b2ck.com> default * 1388:9161eb24ec8e trytond/ (doc/conf.py trytond/version.py): Increase version number10:20
CIA-70http://hg.tryton.org/1.0/trytond/rev/9161eb24ec8e10:20
CIA-70C?dric Krier <ced@b2ck.com> default * 231:547a7b334e83 gentoo-overlay/app-office/tryton/ (Manifest tryton-1.0.5.ebuild): Version bump10:24
CIA-70http://hg.tryton.org/tryton-overlay/rev/547a7b334e8310:24
CIA-70C?dric Krier <ced@b2ck.com> default * 232:d0e3bef6fa5b gentoo-overlay/app-office/trytond/ (Manifest trytond-1.0.5.ebuild): Version bump10:24
CIA-70http://hg.tryton.org/tryton-overlay/rev/d0e3bef6fa5b10:24
cedkTimitos: one posibility will be to implement on act_windows to open in the same tab10:26
CIA-70C?dric Krier <ced@b2ck.com> default * 220:e06fd2a41f59 account_invoice/CHANGELOG: Prepare changelog for release 1.0.510:27
CIA-70http://hg.tryton.org/1.0/modules/account_invoice/rev/e06fd2a41f5910:27
CIA-70C?dric Krier <ced@b2ck.com> default * 221:7087cf6b08c7 account_invoice/.hgtags: Added tag 1.0.5 for changeset e06fd2a41f5910:27
CIA-70http://hg.tryton.org/1.0/modules/account_invoice/rev/7087cf6b08c710:27
CIA-70C?dric Krier <ced@b2ck.com> default * 222:fec1f2971f61 account_invoice/__tryton__.py: Increase version number10:27
CIA-70http://hg.tryton.org/1.0/modules/account_invoice/rev/fec1f2971f6110:27
CIA-70C?dric Krier <ced@b2ck.com> default * 233:e3467df812c6 gentoo-overlay/app-tryton/account_invoice/ (Manifest account_invoice-1.0.5.ebuild): Version bump10:29
CIA-70http://hg.tryton.org/tryton-overlay/rev/e3467df812c610:29
CIA-70C?dric Krier <ced@b2ck.com> default * 58:03cddecbb98a analytic_account/CHANGELOG: Prepare changelog for release 1.0.310:32
CIA-70http://hg.tryton.org/1.0/modules/analytic_account/rev/03cddecbb98a10:32
CIA-70C?dric Krier <ced@b2ck.com> default * 59:032368d2185e analytic_account/.hgtags: Added tag 1.0.3 for changeset 03cddecbb98a10:32
CIA-70http://hg.tryton.org/1.0/modules/analytic_account/rev/032368d2185e10:32
CIA-70C?dric Krier <ced@b2ck.com> default * 60:4e916b86f504 analytic_account/__tryton__.py: Increase version number10:32
Timitoscedk: so a change of the framework is necessary10:32
CIA-70http://hg.tryton.org/1.0/modules/analytic_account/rev/4e916b86f50410:32
cedkTimitos: yes10:32
CIA-70C?dric Krier <ced@b2ck.com> default * 234:505c3a88ea58 gentoo-overlay/app-tryton/analytic_account/ (Manifest analytic_account-1.0.3.ebuild): Version bump10:33
CIA-70http://hg.tryton.org/tryton-overlay/rev/505c3a88ea5810:33
Timitoscedk: ok. thx10:33
CIA-70C?dric Krier <ced@b2ck.com> default * 27:94f758b45fae country/CHANGELOG: Prepare changelog for release 1.0.310:36
CIA-70http://hg.tryton.org/1.0/modules/country/rev/94f758b45fae10:36
CIA-70C?dric Krier <ced@b2ck.com> default * 28:9ffb723c6cae country/.hgtags: Added tag 1.0.3 for changeset 94f758b45fae10:36
CIA-70http://hg.tryton.org/1.0/modules/country/rev/9ffb723c6cae10:36
CIA-70C?dric Krier <ced@b2ck.com> default * 29:d93a3898d172 country/__tryton__.py: Increase version number10:36
CIA-70http://hg.tryton.org/1.0/modules/country/rev/d93a3898d17210:36
CIA-70C?dric Krier <ced@b2ck.com> default * 235:f2a09b80649e gentoo-overlay/app-tryton/country/ (Manifest country-1.0.3.ebuild): Version bump10:37
CIA-70http://hg.tryton.org/tryton-overlay/rev/f2a09b80649e10:37
CIA-70C?dric Krier <ced@b2ck.com> default * 176:0883784f37cf purchase/CHANGELOG: Prepare changelog for release 1.0.410:40
CIA-70http://hg.tryton.org/1.0/modules/purchase/rev/0883784f37cf10:40
CIA-70C?dric Krier <ced@b2ck.com> default * 177:a88051501006 purchase/.hgtags: Added tag 1.0.4 for changeset 0883784f37cf10:40
CIA-70http://hg.tryton.org/1.0/modules/purchase/rev/a8805150100610:40
CIA-70C?dric Krier <ced@b2ck.com> default * 178:22cc7bd85b6a purchase/__tryton__.py: Increase version number10:40
CIA-70http://hg.tryton.org/1.0/modules/purchase/rev/22cc7bd85b6a10:40
CIA-70C?dric Krier <ced@b2ck.com> default * 236:96330a0a50cc gentoo-overlay/app-tryton/purchase/ (Manifest purchase-1.0.4.ebuild): Version bump10:40
CIA-70http://hg.tryton.org/tryton-overlay/rev/96330a0a50cc10:40
CIA-70C?dric Krier <ced@b2ck.com> default * 82:0bc93908d69e sale/CHANGELOG: Prepare changelog for release 1.0.410:42
CIA-70http://hg.tryton.org/1.0/modules/sale/rev/0bc93908d69e10:42
CIA-70C?dric Krier <ced@b2ck.com> default * 83:4ec8af1a28dd sale/.hgtags: Added tag 1.0.4 for changeset 0bc93908d69e10:42
CIA-70http://hg.tryton.org/1.0/modules/sale/rev/4ec8af1a28dd10:42
CIA-70C?dric Krier <ced@b2ck.com> default * 84:9a69cdc8ce41 sale/__tryton__.py: Increase version number10:42
CIA-70http://hg.tryton.org/1.0/modules/sale/rev/9a69cdc8ce4110:42
CIA-70C?dric Krier <ced@b2ck.com> default * 237:e0a0b04daaa8 gentoo-overlay/app-tryton/sale/ (Manifest sale-1.0.4.ebuild): Version bump10:43
CIA-70http://hg.tryton.org/tryton-overlay/rev/e0a0b04daaa810:43
CIA-70C?dric Krier <ced@b2ck.com> default * 414:6e9e2e472d0e stock/CHANGELOG: Prepare changelog for release 1.0.510:44
CIA-70http://hg.tryton.org/1.0/modules/stock/rev/6e9e2e472d0e10:44
CIA-70C?dric Krier <ced@b2ck.com> default * 415:a4311329a04e stock/.hgtags: Added tag 1.0.5 for changeset 6e9e2e472d0e10:44
CIA-70http://hg.tryton.org/1.0/modules/stock/rev/a4311329a04e10:44
CIA-70C?dric Krier <ced@b2ck.com> default * 416:0c06681f2c4d stock/__tryton__.py: Increase version number10:44
CIA-70http://hg.tryton.org/1.0/modules/stock/rev/0c06681f2c4d10:44
-!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton10:46
CIA-70C?dric Krier <ced@b2ck.com> default * 238:2bd56c40fbcf gentoo-overlay/app-tryton/stock/ (Manifest stock-1.0.5.ebuild): Version bump10:47
CIA-70http://hg.tryton.org/tryton-overlay/rev/2bd56c40fbcf10:47
CIA-70bch roundup * #1103/Usage of widget="one2many" on many2many raise client exception:11:56
CIA-70[new] How to reproduce: add widget="one2many" on the categories field on party/party.xml and try to open the party view.11:56
CIA-70Traceback:11:56
CIA-70ER ...11:56
CIA-70http://bugs.tryton.org/roundup/issue110311:56
-!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton13:31
-!- carlos(n=carlos@153.157.221.87.dynamic.jazztel.es) has joined #tryton14:01
-!- bechamel`(n=user@host-85-201-74-27.brutele.be) has joined #tryton14:12
udonohi cedk, is there a way to put IS NULL into a search arg? I tested a lot, but nothing seems to work.14:19
bechamel`udono: try (field, '=', False)14:21
-!- enlightx(n=enlightx@host-84-220-91-224.cust-adsl.tiscali.it) has joined #tryton14:23
udonobechamel`: ouch, this I havn't tried... but it works fine, thanks a lot14:24
-!- woakas(n=woakas@190.144.69.234) has joined #tryton15:35
-!- carlos(n=carlos@45.156.221.87.dynamic.jazztel.es) has joined #tryton16:46
-!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton17:37
-!- TiN(n=TiN@190.189.9.80) has joined #tryton18:11
-!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton18:53
CIA-70Bertrand Chenal <bch@b2ck.com> default * 323:dd02193170ee purchase/doc/index.rst: Added doc19:29
CIA-70http://hg.tryton.org/modules/purchase/rev/dd02193170ee19:29
-!- enlightx(n=enlightx@host-84-220-91-224.cust-adsl.tiscali.it) has joined #tryton19:47
vengfulsquirrelWho sets args[i][0] for the search_rec_name method of Product: http://paste.pocoo.org/show/126943/20:13
vengfulsquirrel*sorry I mean args[i][1]20:15
vengfulsquirrelAlternatively is it possible to change the functionality of searching for products that is activated by typing in a product textbox and hitting tab ?20:16
bechamelvengfulsquirrel: the easiest is to grep for search_rec_name in trytond/model/20:29
bechamelvengfulsquirrel: and for the functionality it's client side code, which behavior would you want ?20:30
vengfulsquirrelbechamel: yeah I did, I still don't understand, its just a sample implementation20:30
-!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton20:35
bechamelvengfulsquirrel: you are right it's not so obvious. in modelstorage.py line 60 you can see that rec_name is a function field for which the search_function is search_rec_name. also if you grep for rec_name in the client you will see were search domain are constructed for it.20:37
bechamelvengfulsquirrel: and like any other fields.Function with the fnct_search arg defined, the server call this fnct_search function when this field appear on a search domain20:39
bechamelbbl20:41
vengfulsquirrelbechamel: The behaviour I'd want is to 1. replace anything other than a-zA-Z0-9 with spaces 2. consolidate spaces 3. split words by spaces 4. apply ilike with each word against the product's name all AND'ed together22:08
bechamelvengfulsquirrel: search_rec_name on product the right place to do it22:14
vengfulsquirrelbechamel: but it seems to serve many purposes not just searching a field in the client22:14
vengfulsquirrelfor example if I was just to ignore args completely that seems incorrect22:15
vengfulsquirrelor well sorry I mean if I was to assume args was a certain format, ie. len(args) == 1 and args[0][1] == 'ilike'22:16
-!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton22:18
bechamelvengfulsquirrel: you can implement the feature you want on some values of arg[i][0] and arg[i][1] and for other call the default implemetation of search_rec_name with super(..).search_rec_name(..)22:18
bechameland btw search_rec_name is always called by the client, other part of the code searches on the real fields22:20
-!- enlightx(n=enlightx@host-84-220-83-253.cust-adsl.tiscali.it) has joined #tryton22:22
vengfulsquirrelbechamel: okay thanks for the help, I'm going to try that22:40
bechamelvengfulsquirrel: I forgot to say that the default search_rec_name on product is a good example of what can be done, but you aldready know that :)22:41
vengfulsquirrelha yeah the interface is just confusing i think, args[i][0] always is rec_name right? and when would len(args) be more or less than 1?22:43
bechamelvengfulsquirrel: yes and yes, but it's implemented this way to stay as generic as possible22:44
bechamelvengfulsquirrel: search_rec_name is a corner case of a search function on a fields.Function22:45
bechamelwhich means that the specific code to handle rec_name is very small22:47
vengfulsquirrelright yeah okay that makes more sense22:48
bechameland it also means that the day we improve the gui to allow the user to create more complex search everything will be ready to handle it gracefully (something like  "name startswith 'y' AND name != 'young'", .. if this pseudo code is clear ..)22:51
CIA-70Hartmut Goebel <h.goebel@goebel-consult.de> default * 14:4ace1eea8ad6 tryton-windows/ (install-tryton-client.py install-tryton-server.py): Changed sourceforge URLs to new scheme (shorter, more readable)22:52
CIA-70http://hg.tryton.org/tryton-windows/rev/4ace1eea8ad622:52
vengfulsquirrelbechamel: hmm as long as they don't do that to rec_name22:53
vengfulsquirrelbechamel: This is what I was trying to do, but it seems that OR is not valid here, http://paste.pocoo.org/show/126975/22:54
bechamelvengfulsquirrel: it will also works with rec_name, normally22:58
bechamelvengfulsquirrel: OR should be followed by a list not a tuple22:59
CIA-70vengfulsquirrel roundup * #1104/Delivery Note/Picking List ODT Paths Broken: [new] I don't really understand why this is happening but it seems that when I go from the confirmed sale screen to the shipments screen and click ...23:16
CIA-70http://bugs.tryton.org/roundup/issue110423:16
CIA-70ced roundup * #1104/Delivery Note/Picking List ODT Paths Broken: [resolved] You must double quote the %s in "Options>File Actions"23:27
CIA-70http://bugs.tryton.org/roundup/issue110423:27
-!- bechamel(n=user@host-85-201-74-27.brutele.be) has left #tryton23:49

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