module_util.py 198 B

12345678910
  1. # -*- coding: utf-8 -*-
  2. ARCHIVES = 'archives'
  3. DEVICE = 'jc_device'
  4. SUPPLY_CHAIN = 'jc_supply_chain'
  5. def is_installed(self, module):
  6. return module in self.env['ir.module.module']._installed()