IRC logs of #tryton for Monday, 2008-08-04

chat.freenode.net #tryton log beginning Mon Aug 4 00:00:01 CEST 2008
2008-08-04 01:05 -!- kultviech(n=kultviec@p5B0D19A1.dip0.t-ipconnect.de) has left #tryton
2008-08-04 04:19 -!- betamax_(i=betamax@gateway/tor/x-809382605b156601) has joined #tryton
2008-08-04 07:47 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-08-04 09:12 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-04 09:12 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-08-04 09:28 -!- kultviech(n=kultviec@p5B0D19A1.dip0.t-ipconnect.de) has joined #tryton
2008-08-04 10:23 -!- Gedd(n=ged@ip-80-236-206-69.dsl.scarlet.be) has joined #tryton
2008-08-04 10:24 -!- nicoe(n=nicoe@ip-80-236-206-69.dsl.scarlet.be) has joined #tryton
2008-08-04 10:37 -!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton
2008-08-04 11:36 -!- kultviech(n=kultviec@p5B0D1FF5.dip0.t-ipconnect.de) has joined #tryton
2008-08-04 13:53 -!- kultviech(n=kultviec@p5B0D1FF5.dip0.t-ipconnect.de) has left #tryton
2008-08-04 15:12 <CIA-9> tryton: 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 ...
2008-08-04 15:24 <CIA-9> tryton: 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, '=', ' ...
2008-08-04 15:29 <CIA-9> tryton: 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', ...
2008-08-04 16:09 -!- markusleist(n=markus@212.14.79.210) has joined #tryton
2008-08-04 17:23 <cedk> bechamel: I think about adding ids on temporary object in the client side
2008-08-04 17:24 <cedk> bechamel: I think about puting just an unique negative number for the client instance
2008-08-04 17:24 <cedk> this will allow to modify with the on_change function easily an one2many field
2008-08-04 17:25 <cedk> just by returning: "remove, [-13, -14]"
2008-08-04 17:25 <cedk> otherwise, we don't have the possibility to remove not yet saved lines
2008-08-04 17:25 <cedk> or even to update it
2008-08-04 17:25 <cedk> bechamel: what do you think about that?
2008-08-04 17:30 <udono> cedk: bechamel: Very nice new logo you created. I like it!
2008-08-04 17:39 <cedk> udono: just some remarks
2008-08-04 17:39 <cedk> udono: for the color, you can use the COLORS in common.py
2008-08-04 17:39 <cedk> udono: to have always the same colors in all the client
2008-08-04 17:39 <Gedd> nice logo indeed, I like it too
2008-08-04 17:40 <cedk> udono, Gedd: it is the work of bechamel
2008-08-04 17:41 <udono> cedk: yes this sounds good.
2008-08-04 17:42 <cedk> udono: you must add a test for the event_clear_passwd: event.state & gtk.gdk.CONTROL_MASK
2008-08-04 17:42 <cedk> udono: otherwise, if you have a 'u' lettre in the password, it doesn't work
2008-08-04 17:43 <cedk> udono: for the event_show_button_create, you can perhaps also add the check about the two password must be the same
2008-08-04 17:47 <udono> cedk: 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 ;-)
2008-08-04 17:47 <cedk> udono: or I can send you an email
2008-08-04 17:48 <cedk> udono: it is like you prefer
2008-08-04 17:48 <udono> cedk: how you like, Email is easier for me. All bundled in one place...
2008-08-04 17:48 <cedk> udono: ok
2008-08-04 18:01 <bechamel> cedk: sorry i was struggling with inkscape :), for the ids : what is the goal of sending non-existing ids ?
2008-08-04 18:04 <cedk> bechamel: it is to be able to modify or remove lines on a one2many with on_change
2008-08-04 18:04 <cedk> bechamel: for now we can do it but only for saved lines
2008-08-04 18:04 <cedk> and we need id to be able to identify it
2008-08-04 18:06 <cedk> and send with the on_change somethings like: "{'lines': {'remove': [-12, 2, 15], 'add': [{'field': value}, {'field': value}], 'update': [{'id': -3, 'field': value}]}
2008-08-04 18:06 <cedk> "
2008-08-04 18:08 <cedk> bechamel: and I will use negative value to identify it as not real id
2008-08-04 18:08 <bechamel> cedk: ok
2008-08-04 18:09 <cedk> bechamel: it is for the on_change in invoice to remove the compute button
2008-08-04 18:10 <bechamel> cedk: but this means that the server will nedd to keep track of data ? what about lines that exist on the client but are not updated
2008-08-04 18:10 <cedk> of course, it is a quiet big change and it can introduce some bugs :-(
2008-08-04 18:11 <bechamel> cedk: if the server receive {'add': [{'field': value}} the first time
2008-08-04 18:11 <cedk> bechamel: no, the server receive with the on_change:
2008-08-04 18:12 <cedk> [{'id': 13, 'field': value}, {'id': -2, 'field': value}]
2008-08-04 18:12 <bechamel> cedk: ok
2008-08-04 18:13 <bechamel> cedk: i think it's a good idea
2008-08-04 18:14 <cedk> bechamel: ok, I start working on it
2008-08-04 18:15 <cedk> bechamel: after that I think we will have all we need to remove compute button
2008-08-04 19:18 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 88:0bc405996750 account_invoice/invoice.py:
2008-08-04 19:18 <CIA-9> tryton: Set currency readonly when there is lines because unit price depend of the
2008-08-04 19:18 <CIA-9> tryton: currency
2008-08-04 19:18 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 89:d0a42fcb2d2d account_invoice/ (invoice.py invoice.xml):
2008-08-04 19:18 <CIA-9> tryton: Add on_change on lines and taxes
2008-08-04 19:18 <CIA-9> tryton: Remove button_compute and button_reset_taxes
2008-08-04 19:18 <CIA-9> tryton: Rename button_compute into update_taxes
2008-08-04 19:18 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 56:2b91bdfb1434 purchase/ (purchase.py purchase.xml): Remove button_compute
2008-08-04 19:18 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 57:84c2c301c807 purchase/purchase.py: Set default value for payment term if party doesn't have one
2008-08-04 19:18 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 58:a583b0357c86 purchase/purchase.py: Fix rename button_update into update_taxes
2008-08-04 19:18 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 174:f4fa4e6a0515 stock/inventory.py: Set location and company readonly when there is inventory lines
2008-08-04 19:18 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 585:c113b76b8efe tryton/tryton/gui/window/view_form/model/field.py: Use Decimal comparison of numeric fields
2008-08-04 19:18 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 586:7ddbe6db7a47 tryton/tryton/gui/window/view_form/model/record.py: Fix on_change_with to be called only if the changed field is in the list
2008-08-04 19:18 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 587:d19cdf88f8e0 tryton/tryton/gui/window/view_form/view/form_gtk/one2many.py:
2008-08-04 19:18 <CIA-9> tryton: Remove "Cancel" button on dialog of one2many when editing an existing model.
2008-08-04 19:19 <CIA-9> tryton: Prevent to close the window with a invalid model.
2008-08-04 19:19 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 588:665fc2db341a tryton/tryton/gui/window/view_form/ (4 files in 2 dirs):
2008-08-04 19:19 <CIA-9> tryton: Add temporary id to record with a negative value
2008-08-04 19:19 <CIA-9> tryton: Allow to update one2many records with on_change
2008-08-04 19:49 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-08-04 19:55 -!- kultviec1(n=kultviec@p5B0D3B48.dip0.t-ipconnect.de) has joined #tryton
2008-08-04 20:26 <CIA-9> tryton: Bertrand Chenal <bch@b2ck.com> default * 589:f3687c58ddea tryton/share/pixmaps/tryton-icon.png: Use new icon
2008-08-04 20:29 -!- Gedd(n=ged@77.109.116.172) has joined #tryton
2008-08-04 23:06 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-04 23:16 -!- kultviec1(n=kultviec@p5B0D3B48.dip0.t-ipconnect.de) has joined #tryton
2008-08-04 23:42 -!- kultviech(n=kultviec@p5B0D3B48.dip0.t-ipconnect.de) has joined #tryton
2008-08-04 23:42 -!- kultviec1(n=kultviec@p5B0D3B48.dip0.t-ipconnect.de) has joined #tryton

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