Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Module = Model.get('ir.module.module')
- (party,) = Module.find([('name', '=', 'party')])
- Module.install([party.id], pconfig.context)
- Wizard('ir.module.module.install_upgrade').execute('upgrade')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement