Files
Odoo-Modules/graphify-out/cache/8edce703fa48c18a99566bb1d765d97ebf99e8af1245f334d9f02b94d6b9b22a.json
gsinghpal 41d0908ade changes
2026-04-24 21:04:38 -04:00

1 line
16 KiB
JSON

{"nodes": [{"id": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_controllers_main_py", "label": "main.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L1"}, {"id": "main_accountreportcontroller", "label": "AccountReportController", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L16"}, {"id": "main_get_report", "label": "get_report()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L21"}, {"id": "main_accountreportcontroller_format_error_response", "label": "._format_error_response()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L85"}, {"id": "main_accountreportcontroller_build_response_headers", "label": "._build_response_headers()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L94"}, {"id": "main_download_report_attachments", "label": "download_report_attachments()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L113"}, {"id": "main_rationale_17", "label": "Handles HTTP requests for generating and downloading accounting report files", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L17"}, {"id": "main_rationale_22", "label": "Generate a report file based on the provided options and generator method.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L22"}, {"id": "main_rationale_86", "label": "Wrap error details into a JSON response matching the Odoo RPC error format.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L86"}, {"id": "main_rationale_95", "label": "Construct HTTP response headers appropriate for the given file type.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L95"}, {"id": "main_rationale_114", "label": "Download one or more report attachments, packaging them into a zip archi", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L114"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_controllers_main_py", "target": "json", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L4", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_controllers_main_py", "target": "werkzeug_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L6", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_controllers_main_py", "target": "odoo", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L8", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_controllers_main_py", "target": "odoo_addons_fusion_accounting_models_account_report", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L9", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_controllers_main_py", "target": "odoo_addons_account_controllers_download_docs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L10", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_controllers_main_py", "target": "odoo_http", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L11", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_controllers_main_py", "target": "odoo_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L12", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_controllers_main_py", "target": "odoo_tools_misc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L13", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_controllers_main_py", "target": "main_accountreportcontroller", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L16", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_controllers_main_py", "target": "main_get_report", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L21", "weight": 1.0}, {"source": "main_accountreportcontroller", "target": "main_accountreportcontroller_format_error_response", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L85", "weight": 1.0}, {"source": "main_accountreportcontroller", "target": "main_accountreportcontroller_build_response_headers", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L94", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_controllers_main_py", "target": "main_download_report_attachments", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L113", "weight": 1.0}, {"source": "main_get_report", "target": "main_accountreportcontroller_build_response_headers", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L50", "weight": 1.0}, {"source": "main_get_report", "target": "main_accountreportcontroller_format_error_response", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L76", "weight": 1.0}, {"source": "main_rationale_17", "target": "main_accountreportcontroller", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L17", "weight": 1.0}, {"source": "main_rationale_22", "target": "main_accountreportcontroller_get_report", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L22", "weight": 1.0}, {"source": "main_rationale_86", "target": "main_accountreportcontroller_format_error_response", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L86", "weight": 1.0}, {"source": "main_rationale_95", "target": "main_accountreportcontroller_build_response_headers", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L95", "weight": 1.0}, {"source": "main_rationale_114", "target": "main_accountreportcontroller_download_report_attachments", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L114", "weight": 1.0}], "raw_calls": [{"caller_nid": "main_get_report", "callee": "loads", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L29"}, {"caller_nid": "main_get_report", "callee": "get_report_company_ids", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L32"}, {"caller_nid": "main_get_report", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L34"}, {"caller_nid": "main_get_report", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L34"}, {"caller_nid": "main_get_report", "callee": "int", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L35"}, {"caller_nid": "main_get_report", "callee": "split", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L35"}, {"caller_nid": "main_get_report", "callee": "browse", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L38"}, {"caller_nid": "main_get_report", "callee": "with_context", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L38"}, {"caller_nid": "main_get_report", "callee": "with_user", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L38"}, {"caller_nid": "main_get_report", "callee": "check_method_name", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L45"}, {"caller_nid": "main_get_report", "callee": "dispatch_report_action", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L46"}, {"caller_nid": "main_get_report", "callee": "make_response", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L56"}, {"caller_nid": "main_get_report", "callee": "write", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L57"}, {"caller_nid": "main_get_report", "callee": "make_response", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L59"}, {"caller_nid": "main_get_report", "callee": "decode", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L70"}, {"caller_nid": "main_get_report", "callee": "type", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L72"}, {"caller_nid": "main_get_report", "callee": "InternalServerError", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L75"}, {"caller_nid": "main_get_report", "callee": "serialize_exception", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L80"}, {"caller_nid": "main_get_report", "callee": "InternalServerError", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L81"}, {"caller_nid": "main_accountreportcontroller_format_error_response", "callee": "make_response", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L92"}, {"caller_nid": "main_accountreportcontroller_format_error_response", "callee": "html_escape", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L92"}, {"caller_nid": "main_accountreportcontroller_format_error_response", "callee": "dumps", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L92"}, {"caller_nid": "main_accountreportcontroller_build_response_headers", "callee": "get_export_mime_type", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L96"}, {"caller_nid": "main_accountreportcontroller_build_response_headers", "callee": "content_disposition", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L99"}, {"caller_nid": "main_accountreportcontroller_build_response_headers", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L104"}, {"caller_nid": "main_accountreportcontroller_build_response_headers", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L104"}, {"caller_nid": "main_download_report_attachments", "callee": "check_access", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L116"}, {"caller_nid": "main_download_report_attachments", "callee": "all", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L117"}, {"caller_nid": "main_download_report_attachments", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L122"}, {"caller_nid": "main_download_report_attachments", "callee": "_get_headers", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L124"}, {"caller_nid": "main_download_report_attachments", "callee": "make_response", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L125"}, {"caller_nid": "main_download_report_attachments", "callee": "_build_zip_from_attachments", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L127"}, {"caller_nid": "main_download_report_attachments", "callee": "_get_headers", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L128"}, {"caller_nid": "main_download_report_attachments", "callee": "make_response", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/controllers/main.py", "source_location": "L129"}]}