I'm trying to install database with default values to recreate always the same environment. For example: French Chart of account already configured, some modules already installed and a lot of options like manage pricelists, manage warehouses checked....
Because its very boring when I create a fresh new database to check all needed checkboxes, and re-install all the modules I need.
If there was a way to purge transaction and master file data, I believe that would do what you are looking for. That way you could take and existing company, and use it as a template for other setups. I have seen other systems that do this, and I found it extremely helpful. Is that what you are look
Great! But how can we set a many2one value?
<function model="ir.values" name="set_default">
<value>res.partner</value>
<value>country_id</value>
<value ref='base.pt'/>
</function>
will cause an error