Help

0

How to delete data after uninstall module Odoo 12

Avatar
i.am.priyanka220@gmail.com

 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

الصورة الرمزية
تجاهل
1 إجابة
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

الصورة الرمزية
تجاهل