IRC logs of #tryton for Monday, 2009-07-06 #tryton log beginning Mon Jul 6 00:00:01 CEST 2009
-!- vengfulsquirrel( has joined #tryton00:58
-!- digitalsatori(n=tony@ has joined #tryton02:34
-!- ikks(n=ikks@ has joined #tryton03:31
-!- vengfulsquirrel( has joined #tryton04:30
-!- yangoon( has joined #tryton05:20
-!- digitalsatori(n=tony@ has joined #tryton06:42
-!- udono( has joined #tryton06:49
-!- Timitos(n=timitos@ has joined #tryton07:48
-!- paepke( has joined #tryton08:12
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton08:20
-!- carlos( has joined #tryton08:50
CIA-70C?dric Krier <> default * 1385:44b3d31813ca trytond/trytond/osv/ Fix SQL clause for 'not in' with False value09:25
CIA-70C?dric Krier <> default * 412:d8705bfd4eaa stock/ Don't set date in set_state_done for issue108709:25
CIA-70Korbinian Preisler <> default * 413:600a3c6a69ac stock/ Fix effective_date of stock move from inventory for issue 108709:25
CIA-70C?dric Krier <> default * 1119:1e9299906439 tryton/tryton/ Add double quote arround %s in file action commands09:25
CIA-70C?dric Krier <> default * 1120:5a5efbea9ed0 tryton/tryton/gui/window/view_form/view/form_gtk/ Catch exception when saving many2one09:25
-!- bechamel( has joined #tryton09:38
CIA-70C?dric Krier <> default * 1121:ba0eac245bb5 tryton/CHANGELOG: Prepare changelog for release 1.0.509:53
CIA-70C?dric Krier <> default * 1122:761564f37c1f tryton/.hgtags: Added tag 1.0.5 for changeset ba0eac245bb509:53
CIA-70C?dric Krier <> default * 1123:1b4df184a155 tryton/ (doc/ tryton/ Increase version number09: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 <> default * 1386:a13025348097 trytond/CHANGELOG: Prepare changelog for release 1.0.510:20
CIA-70C?dric Krier <> default * 1387:738daa5d108f trytond/.hgtags: Added tag 1.0.5 for changeset a1302534809710:20
CIA-70C?dric Krier <> default * 1388:9161eb24ec8e trytond/ (doc/ trytond/ Increase version number10:20
CIA-70C?dric Krier <> default * 231:547a7b334e83 gentoo-overlay/app-office/tryton/ (Manifest tryton-1.0.5.ebuild): Version bump10:24
CIA-70C?dric Krier <> default * 232:d0e3bef6fa5b gentoo-overlay/app-office/trytond/ (Manifest trytond-1.0.5.ebuild): Version bump10:24
cedkTimitos: one posibility will be to implement on act_windows to open in the same tab10:26
CIA-70C?dric Krier <> default * 220:e06fd2a41f59 account_invoice/CHANGELOG: Prepare changelog for release 1.0.510:27
CIA-70C?dric Krier <> default * 221:7087cf6b08c7 account_invoice/.hgtags: Added tag 1.0.5 for changeset e06fd2a41f5910:27
CIA-70C?dric Krier <> default * 222:fec1f2971f61 account_invoice/ Increase version number10:27
CIA-70C?dric Krier <> default * 233:e3467df812c6 gentoo-overlay/app-tryton/account_invoice/ (Manifest account_invoice-1.0.5.ebuild): Version bump10:29
CIA-70C?dric Krier <> default * 58:03cddecbb98a analytic_account/CHANGELOG: Prepare changelog for release 1.0.310:32
CIA-70C?dric Krier <> default * 59:032368d2185e analytic_account/.hgtags: Added tag 1.0.3 for changeset 03cddecbb98a10:32
CIA-70C?dric Krier <> default * 60:4e916b86f504 analytic_account/ Increase version number10:32
Timitoscedk: so a change of the framework is necessary10:32
cedkTimitos: yes10:32
CIA-70C?dric Krier <> default * 234:505c3a88ea58 gentoo-overlay/app-tryton/analytic_account/ (Manifest analytic_account-1.0.3.ebuild): Version bump10:33
Timitoscedk: ok. thx10:33
CIA-70C?dric Krier <> default * 27:94f758b45fae country/CHANGELOG: Prepare changelog for release 1.0.310:36
CIA-70C?dric Krier <> default * 28:9ffb723c6cae country/.hgtags: Added tag 1.0.3 for changeset 94f758b45fae10:36
CIA-70C?dric Krier <> default * 29:d93a3898d172 country/ Increase version number10:36
CIA-70C?dric Krier <> default * 235:f2a09b80649e gentoo-overlay/app-tryton/country/ (Manifest country-1.0.3.ebuild): Version bump10:37
CIA-70C?dric Krier <> default * 176:0883784f37cf purchase/CHANGELOG: Prepare changelog for release 1.0.410:40
CIA-70C?dric Krier <> default * 177:a88051501006 purchase/.hgtags: Added tag 1.0.4 for changeset 0883784f37cf10:40
CIA-70C?dric Krier <> default * 178:22cc7bd85b6a purchase/ Increase version number10:40
CIA-70C?dric Krier <> default * 236:96330a0a50cc gentoo-overlay/app-tryton/purchase/ (Manifest purchase-1.0.4.ebuild): Version bump10:40
CIA-70C?dric Krier <> default * 82:0bc93908d69e sale/CHANGELOG: Prepare changelog for release 1.0.410:42
CIA-70C?dric Krier <> default * 83:4ec8af1a28dd sale/.hgtags: Added tag 1.0.4 for changeset 0bc93908d69e10:42
CIA-70C?dric Krier <> default * 84:9a69cdc8ce41 sale/ Increase version number10:42
CIA-70C?dric Krier <> default * 237:e0a0b04daaa8 gentoo-overlay/app-tryton/sale/ (Manifest sale-1.0.4.ebuild): Version bump10:43
CIA-70C?dric Krier <> default * 414:6e9e2e472d0e stock/CHANGELOG: Prepare changelog for release 1.0.510:44
CIA-70C?dric Krier <> default * 415:a4311329a04e stock/.hgtags: Added tag 1.0.5 for changeset 6e9e2e472d0e10:44
CIA-70C?dric Krier <> default * 416:0c06681f2c4d stock/ Increase version number10:44
-!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton10:46
CIA-70C?dric Krier <> default * 238:2bd56c40fbcf gentoo-overlay/app-tryton/stock/ (Manifest stock-1.0.5.ebuild): Version bump10: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-70ER ...11:56
-!- johbo( has joined #tryton13:31
-!- carlos( has joined #tryton14:01
-!- bechamel`( 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( has joined #tryton14:23
udonobechamel`: ouch, this I havn't tried... but it works fine, thanks a lot14:24
-!- woakas(n=woakas@ has joined #tryton15:35
-!- carlos( has joined #tryton16:46
-!- vengfulsquirrel( has joined #tryton17:37
-!- TiN(n=TiN@ has joined #tryton18:11
-!- sharkcz( has joined #tryton18:53
CIA-70Bertrand Chenal <> default * 323:dd02193170ee purchase/doc/index.rst: Added doc19:29
-!- enlightx( has joined #tryton19:47
vengfulsquirrelWho sets args[i][0] for the search_rec_name method of Product:
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( has joined #tryton20:35
bechamelvengfulsquirrel: you are right it's not so obvious. in 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
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( 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( 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 <> default * 14:4ace1eea8ad6 tryton-windows/ ( Changed sourceforge URLs to new scheme (shorter, more readable)22: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,
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-70ced roundup * #1104/Delivery Note/Picking List ODT Paths Broken: [resolved] You must double quote the %s in "Options>File Actions"23:27
-!- bechamel( has left #tryton23:49

Generated by 2.11.0 by Marius Gedminas - find it at!