← Back to team overview

openerp-india team mailing list archive

[Bug 962229] Re: [6.1][ir_attachement] _search method should work with count option

 

Hello,

The issue is fixed with following branch:
Branch : lp:~openerp-dev/openobject-server/6.1-opw-573325-ado with
Revision-id : ado@xxxxxxxxxxx-20120402121920-fs9xslbs0gwcdn6j and
Revision-no : 4133 

Soon our experts will review and merge it with stable(6.1) server.

Regards,
Amit

** Branch linked: lp:~openerp-dev/openobject-server/6.1-opw-573325-ado

** Changed in: openobject-server
       Status: New => Confirmed

** Changed in: openobject-server
       Status: Confirmed => In Progress

** Changed in: openobject-server
       Status: In Progress => Fix Committed

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

Title:
  [6.1][ir_attachement] _search method should work with count option

Status in OpenERP Server:
  Fix Committed

Bug description:
  In ir_attachement.py line 57: 
  In the override method _search, if the option count is True, the method _search return an number of ids instead of ids.
  In this case the method should return this number directly without trying to read the attachements.

  So I propose to move up : 
  if count:
      return ids
  As I submit in the attachement of the bug

  Best regards,

  Benoît

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


References