← Back to team overview

openerp-india team mailing list archive

[Bug 1277602] [NEW] base_calendar break ir.attachment search function

 

Public bug reported:

base_calendar change standard search function so when looking for res_id
only exact match can be used, so ('res_id', '=', product_id) works ok,
but ('res_id', 'in', product_ids) produce an error:

addons-ocb/base_calendar/base_calendar.py", line 88, in base_calendar_id2real_id
return base_calendar_id and int(base_calendar_id) or base_calendar_id
TypeError: int() argument must be a string or a number, not 'list'

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: 6.1

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1277602

Title:
  base_calendar break ir.attachment search function

Status in OpenERP Addons (modules):
  New

Bug description:
  base_calendar change standard search function so when looking for
  res_id only exact match can be used, so ('res_id', '=', product_id)
  works ok, but ('res_id', 'in', product_ids) produce an error:

  addons-ocb/base_calendar/base_calendar.py", line 88, in base_calendar_id2real_id
  return base_calendar_id and int(base_calendar_id) or base_calendar_id
  TypeError: int() argument must be a string or a number, not 'list'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1277602/+subscriptions


Follow ups

References