← Back to team overview

openerp-india team mailing list archive

[Bug 765724] Re: Allow ref() in domain XML attribute

 

I am facing the same problem

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

Title:
  Allow ref() in domain XML attribute

Status in OpenERP Server:
  Confirmed

Bug description:
  Currently, you can't use domain in XML ID, for example, imagine you
  define a partner category into an XML file:

  <record model="res.partner.category" id="categ_id">

  If you want to filter in this category using domain:

  <field name="partner_id" domain="[('category_id', '=',
  ref('categ_id'))]"/>

  This won't work ! And this is very boring !

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