c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #22400
[Bug 765724] Re: Allow ref() in domain XML attribute
** Changed in: openobject-server
Importance: Undecided => Wishlist
** Changed in: openobject-server
Status: New => Confirmed
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
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/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 !
References