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

1 line
43 KiB
JSON

{"nodes": [{"id": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "label": "ubl_generator.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L1"}, {"id": "ubl_generator_fusionublgenerator", "label": "FusionUBLGenerator", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L64"}, {"id": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "label": ".generate_ubl_invoice()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L79"}, {"id": "ubl_generator_fusionublgenerator_parse_ubl_invoice", "label": ".parse_ubl_invoice()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L112"}, {"id": "ubl_generator_fusionublgenerator_validate_move", "label": "._validate_move()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L207"}, {"id": "ubl_generator_fusionublgenerator_build_root_element", "label": "._build_root_element()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L221"}, {"id": "ubl_generator_fusionublgenerator_add_header", "label": "._add_header()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L234"}, {"id": "ubl_generator_fusionublgenerator_add_supplier_party", "label": "._add_supplier_party()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L267"}, {"id": "ubl_generator_fusionublgenerator_add_customer_party", "label": "._add_customer_party()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L303"}, {"id": "ubl_generator_fusionublgenerator_add_postal_address", "label": "._add_postal_address()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L340"}, {"id": "ubl_generator_fusionublgenerator_add_payment_means", "label": "._add_payment_means()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L370"}, {"id": "ubl_generator_fusionublgenerator_add_tax_total", "label": "._add_tax_total()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L394"}, {"id": "ubl_generator_fusionublgenerator_add_legal_monetary_total", "label": "._add_legal_monetary_total()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L451"}, {"id": "ubl_generator_fusionublgenerator_add_invoice_lines", "label": "._add_invoice_lines()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L483"}, {"id": "ubl_generator_sub", "label": "_sub()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L564"}, {"id": "ubl_generator_fmt", "label": "_fmt()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L572"}, {"id": "ubl_generator_tax_category", "label": "_tax_category()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L577"}, {"id": "ubl_generator_uom_unece", "label": "_uom_unece()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L593"}, {"id": "ubl_generator_xpath_text", "label": "_xpath_text()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L630"}, {"id": "ubl_generator_rationale_1", "label": "Fusion Accounting - UBL 2.1 Invoice / CreditNote Generator & Parser Generates O", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L1"}, {"id": "ubl_generator_rationale_65", "label": "Generates and parses OASIS UBL 2.1 Invoice and CreditNote documents. This i", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L65"}, {"id": "ubl_generator_rationale_80", "label": "Build a UBL 2.1 XML document for a single ``account.move``. Args:", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L80"}, {"id": "ubl_generator_rationale_113", "label": "Parse a UBL 2.1 Invoice or CreditNote XML into a values dict. The retur", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L113"}, {"id": "ubl_generator_rationale_208", "label": "Ensure the move has the minimum data needed for UBL export.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L208"}, {"id": "ubl_generator_rationale_222", "label": "Create the root ``<Invoice>`` or ``<CreditNote>`` element.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L222"}, {"id": "ubl_generator_rationale_235", "label": "Populate the document header (ID, dates, currency, etc.).", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L235"}, {"id": "ubl_generator_rationale_268", "label": "Add ``AccountingSupplierParty`` from the company.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L268"}, {"id": "ubl_generator_rationale_304", "label": "Add ``AccountingCustomerParty`` from the invoice partner.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L304"}, {"id": "ubl_generator_rationale_341", "label": "Append a ``cac:PostalAddress`` block for the given partner.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L341"}, {"id": "ubl_generator_rationale_371", "label": "Add ``PaymentMeans`` with bank account details if available.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L371"}, {"id": "ubl_generator_rationale_395", "label": "Add ``TaxTotal`` with per-tax breakdown.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L395"}, {"id": "ubl_generator_rationale_452", "label": "Add ``LegalMonetaryTotal`` summarising the invoice amounts.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L452"}, {"id": "ubl_generator_rationale_484", "label": "Append one ``InvoiceLine`` / ``CreditNoteLine`` per product line.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L484"}, {"id": "ubl_generator_rationale_565", "label": "Create a sub-element, optionally setting its text content.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L565"}, {"id": "ubl_generator_rationale_573", "label": "Format a numeric value with the given decimal precision.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L573"}, {"id": "ubl_generator_rationale_578", "label": "Map an Odoo tax to a UBL tax category code (UNCL 5305). Standard rate -", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L578"}, {"id": "ubl_generator_rationale_594", "label": "Return the UN/ECE Rec 20 unit code for the invoice line. Falls back to", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L594"}, {"id": "ubl_generator_rationale_631", "label": "Return the text of the first matching element, or ``None``.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L631"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L17", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L18", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "target": "lxml", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L19", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "target": "odoo", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L21", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "target": "odoo_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L22", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "target": "odoo_tools", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L23", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "target": "ubl_generator_fusionublgenerator", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L64", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator", "target": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L79", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator", "target": "ubl_generator_fusionublgenerator_parse_ubl_invoice", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L112", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator", "target": "ubl_generator_fusionublgenerator_validate_move", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L207", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator", "target": "ubl_generator_fusionublgenerator_build_root_element", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L221", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator", "target": "ubl_generator_fusionublgenerator_add_header", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L234", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator", "target": "ubl_generator_fusionublgenerator_add_supplier_party", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L267", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator", "target": "ubl_generator_fusionublgenerator_add_customer_party", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L303", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator", "target": "ubl_generator_fusionublgenerator_add_postal_address", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L340", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator", "target": "ubl_generator_fusionublgenerator_add_payment_means", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L370", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator", "target": "ubl_generator_fusionublgenerator_add_tax_total", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L394", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator", "target": "ubl_generator_fusionublgenerator_add_legal_monetary_total", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L451", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator", "target": "ubl_generator_fusionublgenerator_add_invoice_lines", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L483", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "target": "ubl_generator_sub", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L564", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "target": "ubl_generator_fmt", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L572", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "target": "ubl_generator_tax_category", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L577", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "target": "ubl_generator_uom_unece", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L593", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "target": "ubl_generator_xpath_text", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L630", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "target": "ubl_generator_fusionublgenerator_validate_move", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L92", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "target": "ubl_generator_fusionublgenerator_build_root_element", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L95", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "target": "ubl_generator_fusionublgenerator_add_header", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L97", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "target": "ubl_generator_fusionublgenerator_add_supplier_party", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L98", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "target": "ubl_generator_fusionublgenerator_add_customer_party", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L99", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "target": "ubl_generator_fusionublgenerator_add_payment_means", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L100", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "target": "ubl_generator_fusionublgenerator_add_tax_total", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L101", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "target": "ubl_generator_fusionublgenerator_add_legal_monetary_total", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L102", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "target": "ubl_generator_fusionublgenerator_add_invoice_lines", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L103", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_parse_ubl_invoice", "target": "ubl_generator_xpath_text", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L135", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_header", "target": "ubl_generator_sub", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L238", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_supplier_party", "target": "ubl_generator_sub", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L273", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_supplier_party", "target": "ubl_generator_fusionublgenerator_add_postal_address", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L286", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_customer_party", "target": "ubl_generator_sub", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L308", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_customer_party", "target": "ubl_generator_fusionublgenerator_add_postal_address", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L324", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_postal_address", "target": "ubl_generator_sub", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L343", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_payment_means", "target": "ubl_generator_sub", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L374", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_tax_total", "target": "ubl_generator_sub", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L399", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_tax_total", "target": "ubl_generator_fmt", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L402", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_tax_total", "target": "ubl_generator_tax_category", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L443", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_legal_monetary_total", "target": "ubl_generator_sub", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L456", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_legal_monetary_total", "target": "ubl_generator_fmt", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L460", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_invoice_lines", "target": "ubl_generator_sub", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L497", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_invoice_lines", "target": "ubl_generator_fmt", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L506", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_invoice_lines", "target": "ubl_generator_uom_unece", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L508", "weight": 1.0}, {"source": "ubl_generator_fusionublgenerator_add_invoice_lines", "target": "ubl_generator_tax_category", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L544", "weight": 1.0}, {"source": "ubl_generator_rationale_1", "target": "users_gurpreet_github_odoo_modules_work_in_progress_fusion_accounting_models_ubl_generator_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L1", "weight": 1.0}, {"source": "ubl_generator_rationale_65", "target": "ubl_generator_fusionublgenerator", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L65", "weight": 1.0}, {"source": "ubl_generator_rationale_80", "target": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L80", "weight": 1.0}, {"source": "ubl_generator_rationale_113", "target": "ubl_generator_fusionublgenerator_parse_ubl_invoice", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L113", "weight": 1.0}, {"source": "ubl_generator_rationale_208", "target": "ubl_generator_fusionublgenerator_validate_move", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L208", "weight": 1.0}, {"source": "ubl_generator_rationale_222", "target": "ubl_generator_fusionublgenerator_build_root_element", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L222", "weight": 1.0}, {"source": "ubl_generator_rationale_235", "target": "ubl_generator_fusionublgenerator_add_header", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L235", "weight": 1.0}, {"source": "ubl_generator_rationale_268", "target": "ubl_generator_fusionublgenerator_add_supplier_party", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L268", "weight": 1.0}, {"source": "ubl_generator_rationale_304", "target": "ubl_generator_fusionublgenerator_add_customer_party", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L304", "weight": 1.0}, {"source": "ubl_generator_rationale_341", "target": "ubl_generator_fusionublgenerator_add_postal_address", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L341", "weight": 1.0}, {"source": "ubl_generator_rationale_371", "target": "ubl_generator_fusionublgenerator_add_payment_means", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L371", "weight": 1.0}, {"source": "ubl_generator_rationale_395", "target": "ubl_generator_fusionublgenerator_add_tax_total", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L395", "weight": 1.0}, {"source": "ubl_generator_rationale_452", "target": "ubl_generator_fusionublgenerator_add_legal_monetary_total", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L452", "weight": 1.0}, {"source": "ubl_generator_rationale_484", "target": "ubl_generator_fusionublgenerator_add_invoice_lines", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L484", "weight": 1.0}, {"source": "ubl_generator_rationale_565", "target": "ubl_generator_fusionublgenerator_sub", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L565", "weight": 1.0}, {"source": "ubl_generator_rationale_573", "target": "ubl_generator_fusionublgenerator_fmt", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L573", "weight": 1.0}, {"source": "ubl_generator_rationale_578", "target": "ubl_generator_fusionublgenerator_tax_category", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L578", "weight": 1.0}, {"source": "ubl_generator_rationale_594", "target": "ubl_generator_fusionublgenerator_uom_unece", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L594", "weight": 1.0}, {"source": "ubl_generator_rationale_631", "target": "ubl_generator_fusionublgenerator_xpath_text", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L631", "weight": 1.0}], "raw_calls": [{"caller_nid": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "callee": "ensure_one", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L91"}, {"caller_nid": "ubl_generator_fusionublgenerator_generate_ubl_invoice", "callee": "tostring", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L105"}, {"caller_nid": "ubl_generator_fusionublgenerator_parse_ubl_invoice", "callee": "fromstring", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L126"}, {"caller_nid": "ubl_generator_fusionublgenerator_parse_ubl_invoice", "callee": "QName", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L129"}, {"caller_nid": "ubl_generator_fusionublgenerator_parse_ubl_invoice", "callee": "findall", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L168"}, {"caller_nid": "ubl_generator_fusionublgenerator_parse_ubl_invoice", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L175"}, {"caller_nid": "ubl_generator_fusionublgenerator_parse_ubl_invoice", "callee": "float", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L179"}, {"caller_nid": "ubl_generator_fusionublgenerator_parse_ubl_invoice", "callee": "float", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L182"}, {"caller_nid": "ubl_generator_fusionublgenerator_validate_move", "callee": "UserError", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L210"}, {"caller_nid": "ubl_generator_fusionublgenerator_validate_move", "callee": "_", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L211"}, {"caller_nid": "ubl_generator_fusionublgenerator_validate_move", "callee": "_", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L212"}, {"caller_nid": "ubl_generator_fusionublgenerator_validate_move", "callee": "warning", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L215"}, {"caller_nid": "ubl_generator_fusionublgenerator_build_root_element", "callee": "Element", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L224"}, {"caller_nid": "ubl_generator_fusionublgenerator_build_root_element", "callee": "Element", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L228"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_header", "callee": "context_today", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L245"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_header", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L246"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_header", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L249"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_header", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L251"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_header", "callee": "sub", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L257"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_supplier_party", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L279"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_customer_party", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L314"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_tax_total", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L404"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_tax_total", "callee": "filtered", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L408"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_tax_total", "callee": "abs", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L419"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_tax_total", "callee": "abs", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L426"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_tax_total", "callee": "items", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L428"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_tax_total", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L434"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_tax_total", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L440"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_tax_total", "callee": "abs", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L445"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_legal_monetary_total", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L462"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_legal_monetary_total", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L468"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_legal_monetary_total", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L474"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_legal_monetary_total", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L480"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_invoice_lines", "callee": "enumerate", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L488"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_invoice_lines", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L498"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_invoice_lines", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L508"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_invoice_lines", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L514"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_invoice_lines", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L523"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_invoice_lines", "callee": "_", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L529"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_invoice_lines", "callee": "abs", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L547"}, {"caller_nid": "ubl_generator_fusionublgenerator_add_invoice_lines", "callee": "set", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L558"}, {"caller_nid": "ubl_generator_sub", "callee": "SubElement", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L566"}, {"caller_nid": "ubl_generator_sub", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L568"}, {"caller_nid": "ubl_generator_fmt", "callee": "float_round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L574"}, {"caller_nid": "ubl_generator_fmt", "callee": "float", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L574"}, {"caller_nid": "ubl_generator_tax_category", "callee": "abs", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L582"}, {"caller_nid": "ubl_generator_tax_category", "callee": "lower", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L585"}, {"caller_nid": "ubl_generator_uom_unece", "callee": "getattr", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L601"}, {"caller_nid": "ubl_generator_uom_unece", "callee": "lower", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L605"}, {"caller_nid": "ubl_generator_uom_unece", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L627"}, {"caller_nid": "ubl_generator_xpath_text", "callee": "find", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Work in Progress/fusion_accounting/models/ubl_generator.py", "source_location": "L632"}]}