openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #06749
[Bug 898626] Re: [trunk] import (csv) projects
probably a problem when calling import_data with models using _inherits.
@jba do you think you could write a test case ?
I tag it with testcase according to the new policy
** Changed in: openobject-server
Importance: Low => Medium
** Tags added: testcase
--
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