← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

** Attachment added: "widget_selection.png"
   https://bugs.launchpad.net/bugs/695089/+attachment/1778215/+files/widget_selection.png

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/695089

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

Status in OpenObject GTK Client:
  New

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,





References