1 line
6.0 KiB
JSON
1 line
6.0 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_currency_conversion_py", "label": "currency_conversion.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L1"}, {"id": "currency_conversion_conversionrate", "label": "ConversionRate", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L12"}, {"id": "currency_conversion_convert_amount", "label": "convert_amount()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L19"}, {"id": "currency_conversion_fetch_rates", "label": "fetch_rates()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L47"}, {"id": "currency_conversion_rationale_1", "label": "Multi-currency conversion for financial reports. Converts move-line amounts to", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L1"}, {"id": "currency_conversion_rationale_21", "label": "Convert `amount` from source to target at the given date. `rates` is a dict", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L21"}, {"id": "currency_conversion_rationale_49", "label": "Fetch all relevant rates from res.currency.rate as of a given date. Returns", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L49"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_currency_conversion_py", "target": "dataclasses", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L7", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_currency_conversion_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L8", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_currency_conversion_py", "target": "currency_conversion_conversionrate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L12", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_currency_conversion_py", "target": "currency_conversion_convert_amount", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L19", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_currency_conversion_py", "target": "currency_conversion_fetch_rates", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L47", "weight": 1.0}, {"source": "currency_conversion_rationale_1", "target": "users_gurpreet_github_odoo_modules_fusion_accounting_reports_services_currency_conversion_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L1", "weight": 1.0}, {"source": "currency_conversion_rationale_21", "target": "currency_conversion_convert_amount", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L21", "weight": 1.0}, {"source": "currency_conversion_rationale_49", "target": "currency_conversion_fetch_rates", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L49", "weight": 1.0}], "raw_calls": [{"caller_nid": "currency_conversion_convert_amount", "callee": "items", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L36"}, {"caller_nid": "currency_conversion_convert_amount", "callee": "sort", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L40"}, {"caller_nid": "currency_conversion_convert_amount", "callee": "ValueError", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L42"}, {"caller_nid": "currency_conversion_fetch_rates", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L53"}, {"caller_nid": "currency_conversion_fetch_rates", "callee": "browse", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L54"}, {"caller_nid": "currency_conversion_fetch_rates", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L60"}, {"caller_nid": "currency_conversion_fetch_rates", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_reports/services/currency_conversion.py", "source_location": "L61"}]} |