Public bug reported:

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

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/898626

Title:
  [trunk] import (csv) projects

Status in OpenERP Server:
  New

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

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to