Hi all,

working on timesheet_invoice I got hit by something I don't quite
understand.

I'm extending project.work but sometimes this leads to exceptions in the
timesheet.work code, particularly in get_res_name. Apparently,
get_res_name sometimes gets a list of ids that is refering to:

timesheet.work.id
project.work.work
project.work.id

probably depending on how the timesheet.work was created.

I've worked around this by overloading the get_res_name call, but the
solution is really ugly, and most likely . What am I doing wrong:

http://git.subdir.eu/paul/trytond_timesheet_invoice/tree/work.py?h=2.0#13



-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

-- 
[email protected] mailing list

Reply via email to