Re: [tryton-dev] Calling find method in scenario

2017-12-14 Thread Sergi Almacellas Abellana
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

[tryton-dev] Calling find method in scenario

2017-12-13 Thread Christophe (.net)
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) and when i running the scenario the followikg error appear File "/home/ccr/Technique/tryton/ate-dev/trytond/trytond/modules/account_asset/tests/sc