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

chat.freenode.net #tryton log beginning Wed Jul 30 00:00:01 CEST 2008
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 785:37c2a2b51af3 trytond/trytond/config.py: Improve help message00:49
-!- udono(n=udono@dynamic-unidsl-85-197-25-158.westend.de) has joined #tryton07:01
-!- FWiesing(n=Wiesinge@194.208.185.12) has joined #tryton08:02
-!- Gedd(n=ged@77.109.115.219) has joined #tryton08:15
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton08:33
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton09:03
-!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton10:09
cedkhey everybody10:52
cedkI propose to change the behavior of the like and ilike clause10:52
cedkcurrently those clause add a % before and after the string10:53
cedklike this: ('name', 'ilike', 'foo') -> name ilike '%foo%'10:53
cedkwhat I propose it to switch to something like that10:53
cedk(name ilike '% foo%' or name ilike 'foo%')10:54
cedkthis will force that the result must have a word that start with foo and not any words with foo10:54
cedkwhat do you think10:54
cedkbechamel, udono, Timitos: ping10:57
bechamelcedk: yes, i think it's a good improvement10:57
cedkand on the client, the user will be allowed to enter %foo to have the same behavior as previously10:57
bechamelcedk: even if i used to type the edn of one word and the beginning of the next word, it give me shorter results10:59
bechamelcedk: maybe *foo is better11:00
cedkbechamel: you means that you want to have 'foo bar' clause match 'foo test bar' ?11:00
bechamelcedk: no, when i search for "foo bar" i type "oo b" but i will type "*oo b" it's ok for me :)11:03
cedkbechamel: I'm not sure that if you search "foo bar" on google you will type oo bar11:04
cedkbechamel: and for the "*" it is just a convention11:05
bechamelcedk: yes of course, but i know how the search work in tryton :)11:05
cedkbechamel: typing %oo b will result more that just typing foo11:06
bechamelcedk: "*o b?r" or even "^[fo]3\ b?r$"11:07
bechamelcedk: more ?11:07
cedkbechamel: it is not regexp11:07
cedkbechamel: it is sql like syntax11:07
cedkso you have % and _ that is all11:08
bechamelcedk: why more, it will launch two query ? one for *oo and one for b?11:08
cedkbechamel: not two query11:08
cedkone more time it is not regexp11:09
bechamelcedk: how can "%oo b" give more result than "%oo" ?11:09
cedkbechamel: I say "%oo b" will give more than "foo"11:10
cedkbecause "foo" will be with only words that start with foo not that contains oo11:11
cedkany way, I push the change11:11
CIA-54tryton: 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 string11:12
cedkI would like also stop the server when you run it with init or update parameter11:13
bechamelcedk: stop the server at the end of the update/init ?11:15
cedkbechamel: yes11:15
cedkbecause when you migrate, the server is not directly usable11:16
cedkif you have warnings about some SQL query to run and so on11:16
cedkyou can not connect to the server11:16
cedkas you can have unexpected behavior, so for me update/init process must be separated of the server process11:17
cedkand the best way I see, is to stop the server after the update process11:17
cedkno objection?11:20
bechamelcedk: not at all11:21
-!- kultviech(n=kultviec@p5B0D0447.dip0.t-ipconnect.de) has joined #tryton11:44
-!- markusleist(n=markus@212.14.79.210) has joined #tryton11:48
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 787:d544b8ea45b8 trytond/trytond/web_service/db.py: Fix typo11:52
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 788:4b48f86c5959 trytond/trytond/ (config.py trytond.py):11:52
CIA-54tryton: Stop the server after update/init11:52
CIA-54tryton: Ask admin password on database init11:52
CIA-54tryton: 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 fields12:51
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 574:40461e16bba6 tryton/tryton/wizard/main.py: Reset datas['form'] between each steps12:51
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 575:a20a8be9a171 tryton/tryton/wizard/main.py: Reset datas['form'] only for form view12:51
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 576:584b82af713f tryton/tryton/tryton.py: Disable psyco as it breaks report printing12:51
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 789:41d38a5e571d trytond/trytond/sql_db.py: Fix quote in sql queries12:51
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 790:7face29842c6 trytond/trytond/ (8 files in 6 dirs):12:51
CIA-54tryton: Add default value for boolean12:52
CIA-54tryton: Remove relate on ir.model.field12:52
CIA-54tryton: Fix init.sql to have not null and default 0 for integer12:52
Timitoscedk: all of this sounds good for me. great12:54
Timitosi am out most of the week. next week i will be available better12:56
-!- kultviech(n=kultviec@p5B0D0447.dip0.t-ipconnect.de) has left #tryton12:58
udonocedk: Yes, this will be a very good Improofment13:20
cedkudono: you can test it already :-)13:47
udonocedk: :-)14:42
CIA-54tryton: 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 ...15:02
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 791:5c883c6b63a2 trytond/trytond/trytond.py: Fix unassigned variable for issue22215:04
CIA-54tryton: ced roundup * #222/error when starting trytond: [resolved] Fix with changeset 5c883c6b63a215:04
CIA-54tryton: 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 ...15:19
CIA-54tryton: 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 issue22315:50
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 793:84007f8a924d trytond/trytond/wkf_service/instance.py: Set state when creating workflow instance15:50
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 794:8282a80d954d trytond/trytond/workflow/workflow.py: Fix workflow instance object to reflect the init.sql15:50
CIA-54tryton: ced roundup * #223/behavior when starting with -u all: [resolved] Fix with changeset d1e0cdec446c15:50
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 168:ea5f9ef042da account/ (account.py account.xml):16:02
CIA-54tryton: Fix trial balance and third party balance for the new report behavior with16:02
CIA-54tryton: empty model16:02
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 116:9cf23e20a565 relationship/party.py: Set desc order for code on party16:44
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 48:69edfd2a6294 account_statement/statement.py: Add default_date on statement16:49
-!- cedk_(n=ced@89.186-244-81.adsl-dyn.isp.belgacom.be) has joined #tryton17:30
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton17:44
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 795:4521b2972de0 trytond/trytond/ (ir/model.py osv/orm.py):18:27
CIA-54tryton: Add unique constraint on model field for name, model18:27
CIA-54tryton: Prevent auto_init to create non unique model field18:27
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 796:cd38a37a4b30 trytond/trytond/ (init.sql ir/model.py ir/model.xml osv/orm.py):18:27
CIA-54tryton: Add module in model18:27
CIA-54tryton: Remove some size=None18:28
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 49:5da76adeebe3 account_statement/ (statement.py statement.xml): Add move_lines field on statement18:28
CIA-54tryton: 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 ...18:46
CIA-54tryton: 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 ...18:48
CIA-54tryton: 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 ...18:48
-!- Gedd(n=ged@77.109.115.219) has joined #tryton18:49
CIA-54tryton: 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 windows18:50
-!- kultviech(n=kultviec@p54974B67.dip.t-dialin.net) has joined #tryton19:01
CIA-54tryton: ced roundup * #224/AttributeError: 'NoneType' object has no attribute 'modelfield': [resolved] Fix with changeset 4521b2972de0 But you need to recreate a new DB.19:34
CIA-54tryton: 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 == ' ...19:41
-!- kultviech(n=kultviec@p54974B67.dip.t-dialin.net) has left #tryton20:05
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 577:9fc356217f51 tryton/tryton/gui/window/view_form/view/list.py: Improve _type for issue22620:06
CIA-54tryton: ced roundup * #226/AttributeError: 'gtk.TreeViewColumn' object has no attribute '_type': [resolved] Fix with changeset 9fc356217f5120:06
CIA-54tryton: udono roundup * #226/AttributeError: 'gtk.TreeViewColumn' object has no attribute '_type': [chatting] Thanks, it works20:14
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton20:24
CIA-54tryton: Timitos roundup * #227/translation of client does not work under windows: [new] translation of client is working good on linxu, but not on windows.20:53
udonobechamel: cedk: I discovered the documentation made by sphinx and I am very impressed how great the rst files are rendert into html21:00
bechameludono: yes and also it's possible to generate pdf or even odt21:05
udonobechamel: great21:05
udonobechamel: so it could be possible to integrate a contexthelp for tryton based on html21:06
udonobechamel: 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...21:08
bechameludono: yes and it should be also possible to export all the help as pdf: and this gives you the tryton book :)21:10
udonobechamel: :-)21:10
bechameludono: but the main difficulty is not to generate the html there are plenty of tools21:11
udonobechamel: ... the structure could be localised by languagecodes like de_DE, be_FR, de_AT ...21:11
udonobechamel: the main difficulty is the help content...21:11
bechameludono: ;)21:12
-!- kultviech(n=kultviec@p5B0D0447.dip0.t-ipconnect.de) has joined #tryton21:51
udonogood night22:22
-!- udono(n=udono@dynamic-unidsl-85-197-25-158.westend.de) has left #tryton22:24
CIA-54tryton: C?dric Krier <ced@b2ck.com> default * 173:2e4efab0b0f5 stock/inventory.py:23:44
CIA-54tryton: Change uom on inventory line into field Function23:44
CIA-54tryton: Add domain on product for only stockable product23:44
CIA-54tryton: ced roundup * #227/translation of client does not work under windows: [testing] I need more information. Is there any log entries?23:49

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