← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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,

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


** Tags: client domain selection widget

-- 
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,





Follow ups

References