def METHOD_NAME(self):
    self.ensure_one()
    exclude_patterns = self.env["ir.config_parameter"].get_param(
        PARAM_EXCLUDE_PATTERNS,
        DEFAULT_EXCLUDE_PATTERNS,
    )
    exclude_patterns = [p.strip() for p in exclude_patterns.split(",")]
    keep_langs = self.env["res.lang"].search([]).mapped("code")
    module_path = get_module_path(self.name)
    if module_path and os.path.isdir(module_path):
        checksum_dir = addon_hash(
            module_path,
            exclude_patterns,
            keep_langs,
        )
    else:
        checksum_dir = False
    return checksum_dir