← Back to team overview

openerp-india team mailing list archive

[Bug 971627] Re: search on res.partner.address as field one2many is only zip search

 

Jignesh,

Thanks for the attention. You are right, but think at core level.

Let me say this way:

There won't be any issue ofcourse because you did not use any code based on limit in sale.order.
Sale Order line searched everything based on its name, so its pretty obvious not to face it.

The case of address is specific where you used limit-based calculation
of name and hence this aim made us realize the issue.

Though this is the only and best example to prove the problem, it does
not mean to fix it in module.

The actual fact is, limit is forcefully passed as None.

Additionally, trunk will not raise the issue because name_search() does
not use limit anymore.

Let's thank Antoine for that.

Best Regards,
Serpent Consulting Services.

-- 
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/971627

Title:
  search on res.partner.address as field one2many is only zip search

Status in OpenERP Server:
  New

Bug description:
  From openerp 6.1.

  In res.partner.address, name_search make a search only on zip.
  For example, if you want to search an adress (imagine a contact address) in partner search view, you can't search by name but only by zip.

  I don't understand the new search method.
  How args var must be use and past?
  We don't use base_contact module.

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


References