Using a proxy method is not an ideal solution. Each method changes the view in a specific way. Using s proxy will mean the proxy method does not only call the method but also captures and concatenates the return values from each method.
This will look like: 1) Create proxy method 2) Call real methods: get return values 3) Concatenate return values 4) return Depending on number of methods being called that would be 5-20 lines instead of only one line. Doesn't look ideal. The standard way in other frameworks is to have desired methods called directly from the view. I don't know why OpenERP should be an exception? Thanks. Mugoma, Yengas. [email protected] wrote: >> the first method is generic and is being called from elsewhere as well. >> Adding a line to call second method will break this. > You don't do it that way. You create your own proxy method that calls > whatever other methods you need. Then you call your proxy method from the > on_change. > Regards, > Gerry > -------------------- m2f -------------------- > -- > http://www.openobject.com/forum/viewtopic.php?p=33303#33303 > -------------------- m2f -------------------- > _______________________________________________ > Tinyerp-users mailing list > http://tiny.be/mailman/listinfo/tinyerp-users _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
