openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #00704
[Bug 887781] [NEW] [project] Parent project not listed
Public bug reported:
Hello,
In Openerp 6.0.3, in some cases when I create a project and I want to
assign a parent project, the parent project is not listed in the search
corresponding to the parent project attribute.
I have discovered that in module project, view "project_view.xml", the following line:
<field name="parent_id" string="Parent Project" domain="[('id','!=',active_id)]" context="{'current_model': 'project.project'}"/>
gives the wrong result. If I remove the domain restriction the parent project is successfully listed. Therefore the new code I'm setting up is:
<field name="parent_id" string="Parent Project" context="{'current_model': 'project.project'}"/>
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/887781
Title:
[project] Parent project not listed
Status in OpenERP Addons (modules):
New
Bug description:
Hello,
In Openerp 6.0.3, in some cases when I create a project and I want to
assign a parent project, the parent project is not listed in the
search corresponding to the parent project attribute.
I have discovered that in module project, view "project_view.xml", the following line:
<field name="parent_id" string="Parent Project" domain="[('id','!=',active_id)]" context="{'current_model': 'project.project'}"/>
gives the wrong result. If I remove the domain restriction the parent project is successfully listed. Therefore the new code I'm setting up is:
<field name="parent_id" string="Parent Project" context="{'current_model': 'project.project'}"/>
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/887781/+subscriptions
Follow ups
References