[tryton-dev] Creating timesheet_lines from test

2013-09-05 Thread Sergi Almacellas Abellana
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi devs, I amb writing a test that creates timesheet_lines but I always get a domain error on the work field. That's because I'm not able to save a True value on timesheet_available field from work. Here is a snippet of my code: work = self.work(com

Re: [tryton-dev] Creating timesheet_lines from test

2013-09-10 Thread Cédric Krier
On 05/09/13 17:00 +0200, Sergi Almacellas Abellana wrote: > Hi devs, > > I amb writing a test that creates timesheet_lines but I always get a > domain error on the work field. That's because I'm not able to save a > True value on timesheet_available field from work. > > Here is a snippet of my co