← Back to team overview

openerp-india team mailing list archive

[Bug 695089] Re: domain is not working with widget="selection"

 

What is the difference b/w Example A and Example B ?? :S

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

Title:
  domain is not working with widget="selection"

Status in OpenERP Server:
  Won't Fix

Bug description:
  I get a M2O field:
   'myfield_id': fields.many2one('object', 'Field', domain="['type','=','foo']"),
   in view get <field name="myfield_id" widget="selection"/>

  The selection widget dont restrict the data, remove the
  widget="selection" domain works fine.

  Regards,

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