El 14/12/17 a les 08:41, Christophe (.net) ha escrit:
Hello,

I try to calling 'find' method in a scenario with this piece of code:

Period = Model.get('account.period')
period = Period.find(company.id)
The problem is that the find method on attribute is used to perform a search. And that's why you get an error.

Indeed, the find method is not available throw RPC and thus it's not possible to call it on proteus.

Hope it helps.

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

--
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/9661e203-ef83-9dc4-b10a-cd28fb49a7df%40koolpi.com.

Reply via email to