1 line
8.7 KiB
JSON
1 line
8.7 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_migration_models_ir_module_module_py", "label": "ir_module_module.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L1"}, {"id": "ir_module_module_irmodulemodule", "label": "IrModuleModule", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L31"}, {"id": "ir_module_module_fusion_check_uninstall_guard", "label": "_fusion_check_uninstall_guard()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L35"}, {"id": "ir_module_module_irmodulemodule_button_immediate_uninstall", "label": ".button_immediate_uninstall()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L64"}, {"id": "ir_module_module_irmodulemodule_module_uninstall", "label": ".module_uninstall()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L76"}, {"id": "ir_module_module_rationale_1", "label": "Safety guard: blocks Odoo Enterprise accounting uninstall until migration runs.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L1"}, {"id": "ir_module_module_rationale_36", "label": "Verify it's safe to uninstall the given modules. Returns True if all ch", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L36"}, {"id": "ir_module_module_rationale_65", "label": "Override to invoke the safety guard before allowing uninstall. Both thi", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L65"}, {"id": "ir_module_module_rationale_77", "label": "Override the lower-level uninstall path too (CLI / API uninstall). See", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L77"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_migration_models_ir_module_module_py", "target": "odoo", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L16", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_migration_models_ir_module_module_py", "target": "odoo_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L17", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_migration_models_ir_module_module_py", "target": "ir_module_module_irmodulemodule", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L31", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_migration_models_ir_module_module_py", "target": "ir_module_module_fusion_check_uninstall_guard", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L35", "weight": 1.0}, {"source": "ir_module_module_irmodulemodule", "target": "ir_module_module_irmodulemodule_button_immediate_uninstall", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L64", "weight": 1.0}, {"source": "ir_module_module_irmodulemodule", "target": "ir_module_module_irmodulemodule_module_uninstall", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L76", "weight": 1.0}, {"source": "ir_module_module_irmodulemodule_button_immediate_uninstall", "target": "ir_module_module_fusion_check_uninstall_guard", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L73", "weight": 1.0}, {"source": "ir_module_module_irmodulemodule_module_uninstall", "target": "ir_module_module_fusion_check_uninstall_guard", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L83", "weight": 1.0}, {"source": "ir_module_module_rationale_1", "target": "users_gurpreet_github_odoo_modules_fusion_accounting_migration_models_ir_module_module_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L1", "weight": 1.0}, {"source": "ir_module_module_rationale_36", "target": "ir_module_module_irmodulemodule_fusion_check_uninstall_guard", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L36", "weight": 1.0}, {"source": "ir_module_module_rationale_65", "target": "ir_module_module_irmodulemodule_button_immediate_uninstall", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L65", "weight": 1.0}, {"source": "ir_module_module_rationale_77", "target": "ir_module_module_irmodulemodule_module_uninstall", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L77", "weight": 1.0}], "raw_calls": [{"caller_nid": "ir_module_module_fusion_check_uninstall_guard", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L40"}, {"caller_nid": "ir_module_module_fusion_check_uninstall_guard", "callee": "search_count", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L44"}, {"caller_nid": "ir_module_module_fusion_check_uninstall_guard", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L44"}, {"caller_nid": "ir_module_module_fusion_check_uninstall_guard", "callee": "lower", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L50"}, {"caller_nid": "ir_module_module_fusion_check_uninstall_guard", "callee": "get_param", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L50"}, {"caller_nid": "ir_module_module_fusion_check_uninstall_guard", "callee": "UserError", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L51"}, {"caller_nid": "ir_module_module_fusion_check_uninstall_guard", "callee": "_", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L51"}, {"caller_nid": "ir_module_module_irmodulemodule_button_immediate_uninstall", "callee": "mapped", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L73"}, {"caller_nid": "ir_module_module_irmodulemodule_button_immediate_uninstall", "callee": "super", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L74"}, {"caller_nid": "ir_module_module_irmodulemodule_module_uninstall", "callee": "mapped", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L83"}, {"caller_nid": "ir_module_module_irmodulemodule_module_uninstall", "callee": "super", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_migration/models/ir_module_module.py", "source_location": "L84"}]} |