Skip to Content
Menu
This question has been flagged
1 Reply
6033 Views

I have a module in odoo10 who is importing a huge bunch of data at installation time; my data is in xml file so I am able to stablish the parameter noupdate to 1 and avoid the reload of the data on updates. The problem is that I need to be able to select if the data should be reload or not, when i click on update, based on a boolean field on module form view. 


Any one who could give me some directions to develop the module?.  Is there a module making something like this?.


Thanks to Peter, I have developed my module that way and solved the reloading data when i want to update the module; unfortunately at this time I can't show the wizard on updates, only at installation time.

Avatar
Discard
Best Answer

I would take a look at the account module. It brings up a wizard on installation which lets you set some options.

This appears to be done in addons/account/account_installer.xml

You may need to migrate your xml data to python, and have the wizard call a python function to import the data - though this could well be a big job.

Unfortunately I can't think of anything else at this time.

Avatar
Discard