Community mailing list archives


Re: Script to imort product and images

Martin Trigaux (mat)
- 05/12/2015 03:44:21
On 11/05/15 18:13, Sebastien Beau wrote:
> What we need is a generator of data so we can test Odoo with some hard
> condition (10k, 100K, 1M... products).
> Did some of you have already work on a data generator for Odoo ?
> Do you know tool for generating random images?

Sorry we don't have such tools but creating a script should be not too hard:
- generate a XML files with all the data to import (LXML)
- set random data for the fields (faker or loremipsum library)
- there is tons of scripts to generate random image out there (PIL seems
to be able to do so)

And you can set this new XML file as a demo data in the manifest of your

Martin Trigaux
Odoo (Formerly OpenERP)