IRC logs of #tryton for Friday, 2009-07-24 #tryton log beginning Fri Jul 24 00:00:02 CEST 2009
CIA-4htgoebel roundup * #1100/Patch: code cleanup for client
CIA-4[chatting] Hi Cedric,00:00
CIA-4I'm disappointed about how your are handling my patch-bundle:00:00
CIA-41) the change log does not honor my as a contributor (agai ...00:00
CIA-4ced roundup * #1100/Patch: code cleanup for client On 24/07/09 00:00 +0200, htgoebel wrote: > > htgoebel <> added the comment: > > Hi Cedric, > > I'm disappointed about ...01:21
-!- juanfer(n=juanfer@ has joined #tryton03:29
-!- ikks(n=ikks@ has joined #tryton03:55
-!- gremly(n=gremly@ has joined #tryton05:05
-!- yangoon( has joined #tryton05:20
-!- ChanServ(ChanServ@services.) has joined #tryton05:22
-!- gremly1(n=gremly@ has joined #tryton05:25
CIA-4Juan Fernando Jaramillo <> default * 1896:36599283e930 trytond/trytond/ir/es_CO.csv: Translation on es_CO for one sentence of the module ir05:48
CIA-4Igor T?mara <> default * 1897:df24cbecec77 trytond/trytond/ir/es_CO.csv: Reviewing es_CO translation, moving gestor to Asistente05:48
-!- gremly(n=gremly@ has joined #tryton05:56
-!- _TiN_( has joined #tryton06:19
-!- udono( has joined #tryton06:28
-!- Timitos(n=timitos@ has joined #tryton06:55
-!- sharkcz( has joined #tryton07:44
-!- paepke( has joined #tryton08:15
-!- paepke( has joined #tryton08:17
-!- enlightx( has joined #tryton08:51
-!- carlos(n=carlos@ has joined #tryton09:16
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton09:39
-!- vengfulsquirrel( has left #tryton09:50
CIA-4ced roundup * #583/Account invoce: Sequence for PRO FORMA missing.: Yes, but it must take careful about migration for invoice in this state.09:51
-!- bechamel( has joined #tryton10:14
-!- paepke( has joined #tryton11:28
CIA-4C?dric Krier <> default * 580:ea632d3cab86 stock/ Improve extensibility of stock.inventory inspired by issue109312:05
-!- ikks(n=ikks@ has joined #tryton12:42
-!- woakas(n=woakas@ has joined #tryton14:18
-!- _TiN_( has joined #tryton14:28
CIA-4htgoebel roundup * #1100/Patch: code cleanup for client
CIA-4[chatting] > There is almost any line from your original patches as they didn't apply16:30
CIA-4> anymore and was not working at all.16:30
CIA-4I doubt this! a) s ...16:30
-!- essich( has joined #tryton16:32
-!- enlightx( has joined #tryton17:02
CIA-4C?dric Krier <> default * 1898:9e85ca0fa0fa trytond/trytond/model/ Add missing sql_format call for WHERE clause values17:27
CIA-4C?dric Krier <> default * 1899:6b63fabb3f5c trytond/trytond/backend/ (postgresql/ sqlite/ Fix sql_format for Sha when value is None or False17:27
CIA-4C?dric Krier <> default * 1900:34f956cfec6a trytond/trytond/tests/ ( Add unittest for Sha fields17:27
CIA-4C?dric Krier <> default * 1901:8b6242301790 trytond/trytond/ir/es_CO.csv: merge17:28
-!- juanfer(n=juanfer@ has joined #tryton17:42
CIA-4Bertrand Chenal <> default * 484:1156a92b05c7 account/ Improve help string on reconcile on account17:57
CIA-4Bertrand Chenal <> default * 485:eaee32dbbf41 account/doc/index.rst: Added doc17:57
CIA-4C?dric Krier <> default * 486:b4541b34d9fb account/ Add missing doc in MANIFEST.in18:41
-!- vengfulsquirrel( has joined #tryton18:56
CIA-4bch roundup * #1100/Patch: code cleanup for client [chatting] >I doubt this! a) has not been changed since I issued his patch >ticket (except you application of issue 1101, where you did n ...19:16
-!- ikks(n=jtamara@ has joined #tryton19:34
CIA-4vengfulsquirrel roundup * #1093/Improve extendibility of stock.inventory: Thanks, this solves two of the problems in the original module I had needed to change. It is a little different than how I did it but I think its ...20:30
vengfulsquirrelI can never seem to get this right.  What is the difference between on_change_with and on_change?  Are they related ?  Are they independent?20:38
bechamelvengfulsquirrel: there are the opposite of each other, on_change=['other_field'] on the field definition means that on_change_field will be called when the user edit the field20:41
bechameland vals (the 5th arg of on_change_field) will contain a dict with the value of the other_field20:42
bechamelwhild on_change_with=['other_field'] means that on_change_with_field will be called when other_field is edited20:43
bechamelwith the value of other_field in vals20:44
vengfulsquirrelbechamel: So in the case that same_field has on_change_with=['same_field'] is exactly the same as on_change=['same_field'] ?20:44
bechamelthis is only usefull for something like on_change_with=['same_field', 'other_field'], where you would had to create two on_change (one on same_field and one on other_field)20:46
bechameltwo or more if a field depend on more than fields20:46
bechamelso the only difference is that it allow to factorise some code20:47
cedkvengfulsquirrel: your example have no sence, because a field has his value changed when it is changed20:47
cedkvengfulsquirrel: so calling on_change to change is value is no necessary20:50
bechamelcedk: I'm not sure that when vengfulsquirrel talk about same_field, he means that same_field is the name of the current field (the one that takes the on_change in his definition)20:51
-!- FWiesing( has joined #tryton20:54
cedkI don't know perhaps it is better with an example20:54
vengfulsquirrelYeah I will try to make on20:55
bechamelfield_a = ... on_change_with=['field_b', 'field_c'] is the same that field_b = ...on_change=['field_b', 'field_c'] AND field_c = ...on_change=['field_b', 'field_c']20:58
vengfulsquirrelHow is that when field_a not mentioned in the second two ?21:00
bechamelin the second solution, the on_change_field_b method will look the b and c values and return a new value for field_a (it returns something like {'field_a': new_value})21:03
vengfulsquirreloh right21:06
vengfulsquirreland on_change_with returns in the exact value21:06
vengfulsquirrelDo the fields in on_change and on_change_with get passed into vals in both method calls in the same way?21:37
-!- CIA-3(n=CIA@ has joined #tryton22:14
-!- bechamel( has left #tryton23:36

Generated by 2.11.0 by Marius Gedminas - find it at!