← Back to team overview

openerp-india team mailing list archive

[Bug 898626] Re: [trunk] import (csv) projects

 

** Attachment added: "import_export.ogv"
   https://bugs.launchpad.net/openobject-server/+bug/898626/+attachment/2620148/+files/import_export.ogv

** Changed in: openobject-server
   Importance: Undecided => Low

** 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 OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/898626

Title:
  [trunk] import (csv) projects

Status in OpenERP Server:
  Confirmed

Bug description:
  Hi,

  The import of projects is very complex and doesn't work has expected.
  The analytic account is not automatically created but a new reference to the analytic account is created in ir.model.data.
  Currently, to import a project :
  - first import analytic account with a specific module.xml_id
  id                            name
  analytic.ABCD      ABCD
  - import projects and refer to the previously imported analytic account
  id                           name      analytic_account_id/id      parent_id/id                                   state
  project.ABCD     ABCD     ana.ABCD                              project.all_projects_account     Open

  In ir.model.data, you have 3 references:
  name                                                      module           model                                         res_id
  ABCD                                                     analytic           account.analytic.account       172
  ABCD                                                     project            project.project                         75
  ABCD_account_analytic_account    project           account.analytic.account        172

  It should be possible to create and update projects by importing only
  1 csv file. The analytic account should be automatically created as
  suggested by the third entry created in ir.model.data

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


References