File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11# Copyright 2021 Ivan Yelizariev <https://it-projects.info/team/yelizariev>
22# License MIT (https://opensource.org/licenses/MIT).
3- from odoo import api , SUPERUSER_ID
3+ from odoo import SUPERUSER_ID , api
44
55
66def uninstall_hook (cr , registry ):
77 env = api .Environment (cr , SUPERUSER_ID , {})
8- access = env .ref ("base.access_ir_module_module_group_user" , raise_if_not_found = False )
9- access .write ({'active' : True })
8+ access = env .ref (
9+ "base.access_ir_module_module_group_user" , raise_if_not_found = False
10+ )
11+ access .write ({"active" : True })
Original file line number Diff line number Diff line change 55 -->
66<odoo >
77 <record id =" base.access_ir_module_module_group_user" model =" ir.model.access" >
8- <field name =" active" eval =" False" />
8+ <field name =" active" eval =" False" />
99 </record >
1010 <record id =" module_category_access_apps" model =" ir.module.category" >
1111 <field name =" name" >Apps access</field >
You can’t perform that action at this time.
0 commit comments