Created on 2015-01-26.13:00:42 by mar, last changed 1 month ago by roundup-bot.
New changeset e16a3481a725 by Cédric Krier in branch 'default': Add interactive search on tree view https://hg.tryton.org/tryton-env/rev/e16a3481a725
New changeset e5d46c9fc7fb by Cédric Krier in branch 'default': Add interactive search on tree view https://hg.tryton.org/tryton/rev/e5d46c9fc7fb
Here is review320371002 which implement it.
I implemented a simple search by word on all the visible column.
I had to change the <CTRL>+F
because it is the GTK standard for quick search into <CTRL>+<Shift>+F
.
I tried using .set_search_column on One2Many widget. The search window showed up, when the One2Many list is empty, but not when there are some entries (probably something is stealing the event). I also noticed that this feature is in todo list http://hg.tryton.org/tryton/file/fb7c6e9e50b0/TODO#l1
I think filtering one2many is wrong but searching could be possible. This could be achieved using the gtk.TreeView search_entry [1]. [1] http://pygtk.org/docs/pygtk/class-gtktreeview.html#method-gtktreeview--get-search-entry
It would be nice if there was ability to filter One2Many fields with something similar (or simplified) like in tree view. Use case is: You have many moves as production input and want to check if certain product is in that list. Ctrl+F, enter product code -> One2Many field shows only the move with the product code you entered. Currently the only reasonable way to do this is to sort the list by product, and search for it alphabetically.
History | |||
---|---|---|---|
Date | User | Action | Args |
2020-12-17 00:22:44 | roundup-bot | set | messages: + msg63324 |
2020-12-17 00:22:41 | roundup-bot | set | messages:
+ msg63323 nosy: + roundup-bot status: testing -> resolved |
2020-11-10 19:29:10 | reviewbot | set | messages:
+ msg61822 nosy: + reviewbot |
2020-11-10 19:10:53 | ced | set | keyword:
+ review messages: + msg61821 reviews: 320371002 status: in-progress -> testing |
2020-11-10 19:05:06 | ced | set | assignedto: ced status: chatting -> in-progress type: feature request |
2015-02-18 10:34:28 | pokoli | set | superseder: + Add relate from inventory to lines |
2015-02-18 09:13:57 | resteve | set | nosy: + resteve |
2015-01-29 14:33:06 | mar | set | messages: + msg19945 |
2015-01-26 22:49:22 | ohuisman | set | nosy: + ohuisman |
2015-01-26 13:22:36 | ced | set | status: unread -> chatting nosy: + ced messages: + msg19816 |
Showing 10 items. Show all history (warning: this could be VERY long)