Load the demo data on the designated server

Registered by Joël Grand-Guillaume @ camptocamp

Th purpose of this blueprint is to be able to load the demo data into the running OpenERP server. This, even if the instance already have data.

This will be very useful to ease the tests, especially when you want to test something which require a lot of configuration ! For example, making a test case on production will just take us 3 days to only code the start condition for the test...

I suggest a helper that allow you to load into OpenERP the demo data of given module names. This should install them if they are missing.

Doing this will allow us to use the ir_model_data id and so we wil spare a lot of time writting tests cases !!

Joël

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Joël Grand-Guillaume @ camptocamp
Definition:
Drafting
Series goal:
None
Implementation:
Beta Available
Milestone target:
milestone icon 0.3
Started by
Joël Grand-Guillaume @ camptocamp

Related branches

Sprints

Whiteboard

Actually we don't provide a module name cause demo datas depends one on the other...

So, for now, you can use the @demo tag to ask OERPScenario to load the demo datas. Once the helper will be clean enough, we'll include this into our test.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.