IRC logs of #tryton for Monday, 2008-08-04 #tryton log beginning Mon Aug 4 00:00:01 CEST 2008
-!- kultviech( has left #tryton01:05
-!- betamax_(i=betamax@gateway/tor/x-809382605b156601) has joined #tryton04:19
-!- Timitos(n=Timitos@ has joined #tryton07:47
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton09:12
-!- Timitos(n=Timitos@ has joined #tryton09:12
-!- kultviech( has joined #tryton09:28
-!- Gedd( has joined #tryton10:23
-!- nicoe( has joined #tryton10:24
-!- bechamel( has joined #tryton10:37
-!- kultviech( has joined #tryton11:36
-!- kultviech( has left #tryton13:53
CIA-9tryton: bch roundup * #232/Improvement of condition syntax: [new] The syntax used to define conditions in the framework is a bit poor, e.g.: [('type', '=', 'expense'), ('id', 'in', ids)] The (implicit) o ...15:12
CIA-9tryton: ced roundup * #232/Improvement of condition syntax: [chatting] We must restrict to only 'AND' and 'OR' operator as the result of each tuple is a boolean. So last example will be: ['AND', (A, '=', ' ...15:24
CIA-9tryton: ced roundup * #232/Improvement of condition syntax: We must restrict to only 'AND' and 'OR' operator as the result of each tuple is a boolean. So last example will be: ['AND', (A, '=', 'B'), ['OR', ...15:29
-!- markusleist(n=markus@ has joined #tryton16:09
cedkbechamel: I think about adding ids on temporary object in the client side17:23
cedkbechamel: I think about puting just an unique negative number for the client instance17:24
cedkthis will allow to modify with the on_change function easily an one2many field17:24
cedkjust by returning: "remove, [-13, -14]"17:25
cedkotherwise, we don't have the possibility to remove not yet saved lines17:25
cedkor even to update it17:25
cedkbechamel: what do you think about that?17:25
udonocedk: bechamel: Very nice new logo you created. I like it!17:30
cedkudono: just some remarks17:39
cedkudono: for the color, you can use the COLORS in common.py17:39
cedkudono: to have always the same colors in all the client17:39
Geddnice logo indeed, I like it too17:39
cedkudono, Gedd: it is the work of bechamel17:40
udonocedk: yes this sounds good.17:41
cedkudono: you must add a test for the event_clear_passwd: event.state & gtk.gdk.CONTROL_MASK17:42
cedkudono: otherwise, if you have a 'u' lettre in the password, it doesn't work17:42
cedkudono: for the event_show_button_create, you can perhaps also add the check about the two password must be the same17:43
udonocedk: All good Ideas. I hate the last big if statement... but unfortunately I have to leave now, sorry,  But the chat is logged, so I can read tomorrow your remarks ;-)17:47
cedkudono: or I can send you an email17:47
cedkudono: it is like you prefer17:48
udonocedk: how you like, Email is easier for me. All bundled in one place...17:48
cedkudono: ok17:48
bechamelcedk: sorry i was struggling with inkscape :), for the ids : what is the goal of sending non-existing ids ?18:01
cedkbechamel: it is to be able to modify or remove lines on a one2many with on_change18:04
cedkbechamel: for now we can do it but only for saved lines18:04
cedkand we need id to be able to identify it18:04
cedkand send with the on_change somethings like: "{'lines': {'remove': [-12, 2, 15], 'add': [{'field': value}, {'field': value}], 'update': [{'id': -3, 'field': value}]}18:06
cedkbechamel: and I will use negative value to identify it as not real id18:08
bechamelcedk: ok18:08
cedkbechamel: it is for the on_change in invoice to remove the compute button18:09
bechamelcedk: but this means that the server will nedd to keep track of data ? what about lines that exist on the client but are not updated18:10
cedkof course, it is a quiet big change and it can introduce some bugs :-(18:10
bechamelcedk: if the server receive {'add': [{'field': value}} the first time18:11
cedkbechamel: no, the server receive with the on_change:18:11
cedk[{'id': 13, 'field': value}, {'id': -2, 'field': value}]18:12
bechamelcedk: ok18:12
bechamelcedk: i think it's a good idea18:13
cedkbechamel: ok, I start working on it18:14
cedkbechamel: after that I think we will have all we need to remove compute button18:15
CIA-9tryton: C?dric Krier <> default * 88:0bc405996750 account_invoice/
CIA-9tryton: Set currency readonly when there is lines because unit price depend of the19:18
CIA-9tryton: currency19:18
CIA-9tryton: C?dric Krier <> default * 89:d0a42fcb2d2d account_invoice/ ( invoice.xml):19:18
CIA-9tryton: Add on_change on lines and taxes19:18
CIA-9tryton: Remove button_compute and button_reset_taxes19:18
CIA-9tryton: Rename button_compute into update_taxes19:18
CIA-9tryton: C?dric Krier <> default * 56:2b91bdfb1434 purchase/ ( purchase.xml): Remove button_compute19:18
CIA-9tryton: C?dric Krier <> default * 57:84c2c301c807 purchase/ Set default value for payment term if party doesn't have one19:18
CIA-9tryton: C?dric Krier <> default * 58:a583b0357c86 purchase/ Fix rename button_update into update_taxes19:18
CIA-9tryton: C?dric Krier <> default * 174:f4fa4e6a0515 stock/ Set location and company readonly when there is inventory lines19:18
CIA-9tryton: C?dric Krier <> default * 585:c113b76b8efe tryton/tryton/gui/window/view_form/model/ Use Decimal comparison of numeric fields19:18
CIA-9tryton: C?dric Krier <> default * 586:7ddbe6db7a47 tryton/tryton/gui/window/view_form/model/ Fix on_change_with to be called only if the changed field is in the list19:18
CIA-9tryton: C?dric Krier <> default * 587:d19cdf88f8e0 tryton/tryton/gui/window/view_form/view/form_gtk/
CIA-9tryton: Remove "Cancel" button on dialog of one2many when editing an existing model.19:18
CIA-9tryton: Prevent to close the window with a invalid model.19:19
CIA-9tryton: C?dric Krier <> default * 588:665fc2db341a tryton/tryton/gui/window/view_form/ (4 files in 2 dirs):19:19
CIA-9tryton: Add temporary id to record with a negative value19:19
CIA-9tryton: Allow to update one2many records with on_change19:19
-!- Timitos(n=Timitos@ has joined #tryton19:49
-!- kultviec1( has joined #tryton19:55
CIA-9tryton: Bertrand Chenal <> default * 589:f3687c58ddea tryton/share/pixmaps/tryton-icon.png: Use new icon20:26
-!- Gedd(n=ged@ has joined #tryton20:29
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton23:06
-!- kultviec1( has joined #tryton23:16
-!- kultviech( has joined #tryton23:42
-!- kultviec1( has joined #tryton23:42

Generated by 2.11.0 by Marius Gedminas - find it at!