[FIX] hr_timesheet_invoice: warning in report generation
authorAntonio Esposito <espo-tony@users.noreply.github.com>
Mon, 27 Oct 2014 12:00:18 +0000 (13:00 +0100)
committerMartin Trigaux <mat@odoo.com>
Tue, 28 Oct 2014 10:00:07 +0000 (11:00 +0100)
commita00de91001c10aa14cdb84523b676c3d12bf45a2
tree96acf8619ba0a9f362c0ed0b04e927b738c8ab62
parent79787084ffe66001203e7a593d121f5c0e287779
[FIX] hr_timesheet_invoice: warning in report generation

When generating the report 'Timesheet Profit', got a warning "The domain term '('user_id', '=', [...])' should use the 'in' or 'not in' operator."
This warning is due to the use of the '=' operator to compare the field 'user_id' while the reports sends a list of ids.
Fallback to still accept a single id in case of customised reports.
addons/hr_timesheet_invoice/report/account_analytic_profit.py