IRC logs of #tryton for Wednesday, 2008-07-30

chat.freenode.net #tryton log beginning Wed Jul 30 00:00:01 CEST 2008
2008-07-30 00:49 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 785:37c2a2b51af3 trytond/trytond/config.py: Improve help message
2008-07-30 07:01 -!- udono(n=udono@dynamic-unidsl-85-197-25-158.westend.de) has joined #tryton
2008-07-30 08:02 -!- FWiesing(n=Wiesinge@194.208.185.12) has joined #tryton
2008-07-30 08:15 -!- Gedd(n=ged@77.109.115.219) has joined #tryton
2008-07-30 08:33 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-07-30 09:03 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-07-30 10:09 -!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton
2008-07-30 10:52 <cedk> hey everybody
2008-07-30 10:52 <cedk> I propose to change the behavior of the like and ilike clause
2008-07-30 10:53 <cedk> currently those clause add a % before and after the string
2008-07-30 10:53 <cedk> like this: ('name', 'ilike', 'foo') -> name ilike '%foo%'
2008-07-30 10:53 <cedk> what I propose it to switch to something like that
2008-07-30 10:54 <cedk> (name ilike '% foo%' or name ilike 'foo%')
2008-07-30 10:54 <cedk> this will force that the result must have a word that start with foo and not any words with foo
2008-07-30 10:54 <cedk> what do you think
2008-07-30 10:57 <cedk> bechamel, udono, Timitos: ping
2008-07-30 10:57 <bechamel> cedk: yes, i think it's a good improvement
2008-07-30 10:57 <cedk> and on the client, the user will be allowed to enter %foo to have the same behavior as previously
2008-07-30 10:59 <bechamel> cedk: even if i used to type the edn of one word and the beginning of the next word, it give me shorter results
2008-07-30 11:00 <bechamel> cedk: maybe *foo is better
2008-07-30 11:00 <cedk> bechamel: you means that you want to have 'foo bar' clause match 'foo test bar' ?
2008-07-30 11:03 <bechamel> cedk: no, when i search for "foo bar" i type "oo b" but i will type "*oo b" it's ok for me :)
2008-07-30 11:04 <cedk> bechamel: I'm not sure that if you search "foo bar" on google you will type oo bar
2008-07-30 11:05 <cedk> bechamel: and for the "*" it is just a convention
2008-07-30 11:05 <bechamel> cedk: yes of course, but i know how the search work in tryton :)
2008-07-30 11:06 <cedk> bechamel: typing %oo b will result more that just typing foo
2008-07-30 11:07 <bechamel> cedk: "*o b?r" or even "^[fo]3\ b?r$"
2008-07-30 11:07 <bechamel> cedk: more ?
2008-07-30 11:07 <cedk> bechamel: it is not regexp
2008-07-30 11:07 <cedk> bechamel: it is sql like syntax
2008-07-30 11:08 <cedk> so you have % and _ that is all
2008-07-30 11:08 <bechamel> cedk: why more, it will launch two query ? one for *oo and one for b?
2008-07-30 11:08 <cedk> bechamel: not two query
2008-07-30 11:09 <cedk> one more time it is not regexp
2008-07-30 11:09 <bechamel> cedk: how can "%oo b" give more result than "%oo" ?
2008-07-30 11:10 <cedk> bechamel: I say "%oo b" will give more than "foo"
2008-07-30 11:11 <cedk> because "foo" will be with only words that start with foo not that contains oo
2008-07-30 11:11 <cedk> any way, I push the change
2008-07-30 11:12 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 786:25f3057010b4 trytond/trytond/osv/orm.py: Improve like and ilike search to return only when words start with the string
2008-07-30 11:13 <cedk> I would like also stop the server when you run it with init or update parameter
2008-07-30 11:15 <bechamel> cedk: stop the server at the end of the update/init ?
2008-07-30 11:15 <cedk> bechamel: yes
2008-07-30 11:16 <cedk> because when you migrate, the server is not directly usable
2008-07-30 11:16 <cedk> if you have warnings about some SQL query to run and so on
2008-07-30 11:16 <cedk> you can not connect to the server
2008-07-30 11:17 <cedk> as you can have unexpected behavior, so for me update/init process must be separated of the server process
2008-07-30 11:17 <cedk> and the best way I see, is to stop the server after the update process
2008-07-30 11:20 <cedk> no objection?
2008-07-30 11:21 <bechamel> cedk: not at all
2008-07-30 11:44 -!- kultviech(n=kultviec@p5B0D0447.dip0.t-ipconnect.de) has joined #tryton
2008-07-30 11:48 -!- markusleist(n=markus@212.14.79.210) has joined #tryton
2008-07-30 11:52 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 787:d544b8ea45b8 trytond/trytond/web_service/db.py: Fix typo
2008-07-30 11:52 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 788:4b48f86c5959 trytond/trytond/ (config.py trytond.py):
2008-07-30 11:52 <CIA-54> tryton: Stop the server after update/init
2008-07-30 11:52 <CIA-54> tryton: Ask admin password on database init
2008-07-30 12:51 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 573:4e0ff08a28c5 tryton/tryton/gui/window/view_form/view/ (form_gtk/many2one.py list.py): Always ask for action with right click on fields
2008-07-30 12:51 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 574:40461e16bba6 tryton/tryton/wizard/main.py: Reset datas['form'] between each steps
2008-07-30 12:51 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 575:a20a8be9a171 tryton/tryton/wizard/main.py: Reset datas['form'] only for form view
2008-07-30 12:51 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 576:584b82af713f tryton/tryton/tryton.py: Disable psyco as it breaks report printing
2008-07-30 12:51 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 789:41d38a5e571d trytond/trytond/sql_db.py: Fix quote in sql queries
2008-07-30 12:51 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 790:7face29842c6 trytond/trytond/ (8 files in 6 dirs):
2008-07-30 12:52 <CIA-54> tryton: Add default value for boolean
2008-07-30 12:52 <CIA-54> tryton: Remove relate on ir.model.field
2008-07-30 12:52 <CIA-54> tryton: Fix init.sql to have not null and default 0 for integer
2008-07-30 12:54 <Timitos> cedk: all of this sounds good for me. great
2008-07-30 12:56 <Timitos> i am out most of the week. next week i will be available better
2008-07-30 12:58 -!- kultviech(n=kultviec@p5B0D0447.dip0.t-ipconnect.de) has left #tryton
2008-07-30 13:20 <udono> cedk: Yes, this will be a very good Improofment
2008-07-30 13:47 <cedk> udono: you can test it already :-)
2008-07-30 14:42 <udono> cedk: :-)
2008-07-30 15:02 <CIA-54> tryton: Timitos roundup * #222/error when starting trytond: [new] Traceback (most recent call last): File "./trytond", line 29, in <module> trytond.TrytonServer().run() File "/home/kp/proc/tryton/tr ...
2008-07-30 15:04 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 791:5c883c6b63a2 trytond/trytond/trytond.py: Fix unassigned variable for issue222
2008-07-30 15:04 <CIA-54> tryton: ced roundup * #222/error when starting trytond: [resolved] Fix with changeset 5c883c6b63a2
2008-07-30 15:19 <CIA-54> tryton: Timitos roundup * #223/behavior when starting with -u all: [new] if i start trytond with parameters -u all and without adding parameter -d dbname the first database i log into will be updated. then the ser ...
2008-07-30 15:50 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 792:d1e0cdec446c trytond/trytond/config.py: Don't set init, update if there is no database name for issue223
2008-07-30 15:50 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 793:84007f8a924d trytond/trytond/wkf_service/instance.py: Set state when creating workflow instance
2008-07-30 15:50 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 794:8282a80d954d trytond/trytond/workflow/workflow.py: Fix workflow instance object to reflect the init.sql
2008-07-30 15:50 <CIA-54> tryton: ced roundup * #223/behavior when starting with -u all: [resolved] Fix with changeset d1e0cdec446c
2008-07-30 16:02 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 168:ea5f9ef042da account/ (account.py account.xml):
2008-07-30 16:02 <CIA-54> tryton: Fix trial balance and third party balance for the new report behavior with
2008-07-30 16:02 <CIA-54> tryton: empty model
2008-07-30 16:44 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 116:9cf23e20a565 relationship/party.py: Set desc order for code on party
2008-07-30 16:49 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 48:69edfd2a6294 account_statement/statement.py: Add default_date on statement
2008-07-30 17:30 -!- cedk_(n=ced@89.186-244-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2008-07-30 17:44 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-07-30 18:27 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 795:4521b2972de0 trytond/trytond/ (ir/model.py osv/orm.py):
2008-07-30 18:27 <CIA-54> tryton: Add unique constraint on model field for name, model
2008-07-30 18:27 <CIA-54> tryton: Prevent auto_init to create non unique model field
2008-07-30 18:27 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 796:cd38a37a4b30 trytond/trytond/ (init.sql ir/model.py ir/model.xml osv/orm.py):
2008-07-30 18:27 <CIA-54> tryton: Add module in model
2008-07-30 18:28 <CIA-54> tryton: Remove some size=None
2008-07-30 18:28 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 49:5da76adeebe3 account_statement/ (statement.py statement.xml): Add move_lines field on statement
2008-07-30 18:46 <CIA-54> tryton: Timitos roundup * #224/AttributeError: 'NoneType' object has no attribute 'modelfield': [new] Traceback (most recent call last): File "/tryton/gui/window/view_form/view/form_gtk/many2one.py", line 229, in sig_activate if not sel ...
2008-07-30 18:48 <CIA-54> tryton: Timitos roundup * #224/AttributeError: 'NoneType' object has no attribute 'modelfield': [chatting] In Product Form -> Properties the fields account expense and account revenue are duplicated. If i click on a field in the upper row, th ...
2008-07-30 18:48 <CIA-54> tryton: Timitos roundup * #225/AttributeError: 'Many2One' object has no attribute 'focus_out': [new] Traceback (most recent call last): File "\tryton\gui\window\view_form\view\form_gtk\many2one.py", line 227, in sig_activate if not sel ...
2008-07-30 18:49 -!- Gedd(n=ged@77.109.115.219) has joined #tryton
2008-07-30 18:50 <CIA-54> tryton: Timitos roundup * #225/AttributeError: 'Many2One' object has no attribute 'focus_out': [chatting] this error corresponds to issue 224 but this error message only is shown under windows
2008-07-30 19:01 -!- kultviech(n=kultviec@p54974B67.dip.t-dialin.net) has joined #tryton
2008-07-30 19:34 <CIA-54> tryton: ced roundup * #224/AttributeError: 'NoneType' object has no attribute 'modelfield': [resolved] Fix with changeset 4521b2972de0 But you need to recreate a new DB.
2008-07-30 19:41 <CIA-54> tryton: udono roundup * #226/AttributeError: 'gtk.TreeViewColumn' object has no attribute '_type': [new] Traceback (most recent call last): File "/tryton/gui/window/view_form/view/list.py", line 290, in __button_press if path[1]._type == ' ...
2008-07-30 20:05 -!- kultviech(n=kultviec@p54974B67.dip.t-dialin.net) has left #tryton
2008-07-30 20:06 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 577:9fc356217f51 tryton/tryton/gui/window/view_form/view/list.py: Improve _type for issue226
2008-07-30 20:06 <CIA-54> tryton: ced roundup * #226/AttributeError: 'gtk.TreeViewColumn' object has no attribute '_type': [resolved] Fix with changeset 9fc356217f51
2008-07-30 20:14 <CIA-54> tryton: udono roundup * #226/AttributeError: 'gtk.TreeViewColumn' object has no attribute '_type': [chatting] Thanks, it works
2008-07-30 20:24 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-07-30 20:53 <CIA-54> tryton: Timitos roundup * #227/translation of client does not work under windows: [new] translation of client is working good on linxu, but not on windows.
2008-07-30 21:00 <udono> bechamel: cedk: I discovered the documentation made by sphinx and I am very impressed how great the rst files are rendert into html
2008-07-30 21:05 <bechamel> udono: yes and also it's possible to generate pdf or even odt
2008-07-30 21:05 <udono> bechamel: great
2008-07-30 21:06 <udono> bechamel: so it could be possible to integrate a contexthelp for tryton based on html
2008-07-30 21:08 <udono> bechamel: each view has an own id, so it could be possible to create helpfiles for all view_ids, and a right click action to open the helppage with actual view id in a browser...
2008-07-30 21:10 <bechamel> udono: yes and it should be also possible to export all the help as pdf: and this gives you the tryton book :)
2008-07-30 21:10 <udono> bechamel: :-)
2008-07-30 21:11 <bechamel> udono: but the main difficulty is not to generate the html there are plenty of tools
2008-07-30 21:11 <udono> bechamel: ... the structure could be localised by languagecodes like de_DE, be_FR, de_AT ...
2008-07-30 21:11 <udono> bechamel: the main difficulty is the help content...
2008-07-30 21:12 <bechamel> udono: ;)
2008-07-30 21:51 -!- kultviech(n=kultviec@p5B0D0447.dip0.t-ipconnect.de) has joined #tryton
2008-07-30 22:22 <udono> good night
2008-07-30 22:24 -!- udono(n=udono@dynamic-unidsl-85-197-25-158.westend.de) has left #tryton
2008-07-30 23:44 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 173:2e4efab0b0f5 stock/inventory.py:
2008-07-30 23:44 <CIA-54> tryton: Change uom on inventory line into field Function
2008-07-30 23:44 <CIA-54> tryton: Add domain on product for only stockable product
2008-07-30 23:49 <CIA-54> tryton: ced roundup * #227/translation of client does not work under windows: [testing] I need more information. Is there any log entries?

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