Hi,

As we know proteus able to work as Tryton client, able to do Find, update, 
delete, call Button, and Wizard.


Below is to call button in proteus:
s = ShipmentIn.find([('reference','=', ref),('state','=','draft')])
s.click('receive')

My question is how to call a method by using proteus?

Example: (how to call method add in proteus?)

Class StockMove:
    def add(self, val1, val2):
        return val1 + val2



-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/2c2b848a-9cf2-4033-958b-9d400ff3090e%40googlegroups.com.

Reply via email to