On 2017-12-04 13:15, Khurram Shahzad wrote:
> How can I open a record from button's click event in order to view/edit
> this record?

Have you considered to use a Many2One?

Otherwise you must use a wizard that return an action window with the
record id in res_id. You can find an example in CreateMove.do_open_ of
account module.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/20171205181239.GT7109%40kei.

Reply via email to