← Back to team overview

openerp-india team mailing list archive

[Bug 925572] Re: Problem with project_planning: function is mixing up resources/dept members/employees/user ids

 

** Branch linked: lp:openobject-addons/6.0

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

Title:
  Problem with project_planning:  function is mixing up resources/dept
  members/employees/user ids

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  The project_planning is (imho) not working properly:

  When you have a manager encoding a new planning, you should have one
  line per user being part of his department and the children department
  of the manager (which is also the planning responsible).

  Currently, this doesn't work properly, I think it's because in the
  code of the function _child_compute of
  report_account_analytic_planning, there's a mix between employee ids
  and user ids between these two following lines:

  children = map(lambda x: x['member_ids'], data_dept)
  children = obj_user.search(cr, uid, [('id', 'in', children),('active', '=', True)], context=context)

  I'm clearly not a technical person, but I think a fix should be
  brought quickly in this function if I'm right.


  (the code for this function is exactly the same for this function in
  6.0.3)

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


References