Automatically loading company, party and product records for testing

When I’m testing, I need to manually create the company, the parties for a test and the product records or anything else.

Is there a way to automate this, for example, importing from XML?

It makes no sense to import business data using code.

You can create your own scripts (ie. using proteus) to load demo data.

You can find the script that loads data for demo.tryton.org here:

https://hg.tryton.org/tryton-tools/file/93a228fc7e69/tryton_demo.py

For testing / evaluation I’m using an sqlite database. Thus after first set-up I can just copy the database-backup into place.
(You might be interested in my demo, which I created for others: Regionalkollektiv, e brief readme is included in the archive).