Help

0

How to delete data after uninstall module Odoo 12

 I have developed one custom module  in odoo 12. I want to delete all module related sample data from odoo when uninstall the module. I have added some row in ir_config_parameter . i want to remove that row when uninstall

Please help

Thank You

Avatar
Discard
1 Jawaban
0
Avatar
Paresh Wagh
Best Answer

You will need to write a unnstall hook.

Look at the uninstall hook related portion of this:

https://www.odoo.com/documentation/12.0/reference/module.html

Avatar
Discard