← Back to team overview

openerp-india team mailing list archive

[Bug 909830] [NEW] partner_id of task

 

Public bug reported:

HI,

In the form to create a new task, the onchange_project takes the partner_id of the paren of the project and not the project itself. 
        data = self.pool.get('project.project').browse(cr, uid, [project_id])
        partner_id=data and data[0].parent_id.partner_id

Should'nt the partner_id should come from the analytic account of the
project, not the parent analytic account?

Thanks,
Gautam

** 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/909830

Title:
  partner_id of task

Status in OpenERP Addons (modules):
  New

Bug description:
  HI,

  In the form to create a new task, the onchange_project takes the partner_id of the paren of the project and not the project itself. 
          data = self.pool.get('project.project').browse(cr, uid, [project_id])
          partner_id=data and data[0].parent_id.partner_id

  Should'nt the partner_id should come from the analytic account of the
  project, not the parent analytic account?

  Thanks,
  Gautam

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


Follow ups

References