{"nodes": [{"id": "users_gurpreet_github_odoo_modules_obsolete_files_sale_order_to_purchase_order_app_wizard_purchase_order_wiz_py", "label": "purchase_order_wiz.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L1"}, {"id": "purchase_order_wiz_purchaseorderwizard", "label": "PurchaseOrderWizard", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L8"}, {"id": "purchase_order_wiz_onchange_batch_vendor_id", "label": "_onchange_batch_vendor_id()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L27"}, {"id": "purchase_order_wiz_default_get", "label": "default_get()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L50"}, {"id": "purchase_order_wiz_purchaseorderwizard_create_po", "label": ".create_po()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L86"}, {"id": "purchase_order_wiz_purchaseproductwiz", "label": "PurchaseProductWiz", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L157"}, {"id": "purchase_order_wiz_onchange_vendor_id", "label": "_onchange_vendor_id()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L177"}, {"id": "purchase_order_wiz_purchaseproductwiz_prepare_purchase_line_values", "label": "._prepare_purchase_line_values()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L187"}, {"id": "purchase_order_wiz_rationale_28", "label": "When user selects a batch vendor, apply it to selected lines only", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L28"}, {"id": "purchase_order_wiz_rationale_51", "label": "Load SO lines into wizard", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L51"}, {"id": "purchase_order_wiz_rationale_87", "label": "Generate purchase orders grouped by vendor", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L87"}, {"id": "purchase_order_wiz_rationale_178", "label": "Update price based on vendor's price list if available", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L178"}, {"id": "purchase_order_wiz_rationale_188", "label": "Returns the values to create the purchase order line.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L188"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_obsolete_files_sale_order_to_purchase_order_app_wizard_purchase_order_wiz_py", "target": "odoo", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L3", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_obsolete_files_sale_order_to_purchase_order_app_wizard_purchase_order_wiz_py", "target": "odoo_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L4", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_obsolete_files_sale_order_to_purchase_order_app_wizard_purchase_order_wiz_py", "target": "collections", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L5", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_obsolete_files_sale_order_to_purchase_order_app_wizard_purchase_order_wiz_py", "target": "purchase_order_wiz_purchaseorderwizard", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L8", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_obsolete_files_sale_order_to_purchase_order_app_wizard_purchase_order_wiz_py", "target": "purchase_order_wiz_onchange_batch_vendor_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L27", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_obsolete_files_sale_order_to_purchase_order_app_wizard_purchase_order_wiz_py", "target": "purchase_order_wiz_default_get", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L50", "weight": 1.0}, {"source": "purchase_order_wiz_purchaseorderwizard", "target": "purchase_order_wiz_purchaseorderwizard_create_po", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L86", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_obsolete_files_sale_order_to_purchase_order_app_wizard_purchase_order_wiz_py", "target": "purchase_order_wiz_purchaseproductwiz", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L157", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_obsolete_files_sale_order_to_purchase_order_app_wizard_purchase_order_wiz_py", "target": "purchase_order_wiz_onchange_vendor_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L177", "weight": 1.0}, {"source": "purchase_order_wiz_purchaseproductwiz", "target": "purchase_order_wiz_purchaseproductwiz_prepare_purchase_line_values", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L187", "weight": 1.0}, {"source": "purchase_order_wiz_purchaseorderwizard_create_po", "target": "purchase_order_wiz_purchaseproductwiz_prepare_purchase_line_values", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L130", "weight": 1.0}, {"source": "purchase_order_wiz_rationale_28", "target": "purchase_order_wiz_purchaseorderwizard_onchange_batch_vendor_id", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L28", "weight": 1.0}, {"source": "purchase_order_wiz_rationale_51", "target": "purchase_order_wiz_purchaseorderwizard_default_get", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L51", "weight": 1.0}, {"source": "purchase_order_wiz_rationale_87", "target": "purchase_order_wiz_purchaseorderwizard_create_po", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L87", "weight": 1.0}, {"source": "purchase_order_wiz_rationale_178", "target": "purchase_order_wiz_purchaseproductwiz_onchange_vendor_id", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L178", "weight": 1.0}, {"source": "purchase_order_wiz_rationale_188", "target": "purchase_order_wiz_purchaseproductwiz_prepare_purchase_line_values", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L188", "weight": 1.0}], "raw_calls": [{"caller_nid": "purchase_order_wiz_onchange_batch_vendor_id", "callee": "filtered", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L31"}, {"caller_nid": "purchase_order_wiz_onchange_batch_vendor_id", "callee": "filtered", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L38"}, {"caller_nid": "purchase_order_wiz_default_get", "callee": "super", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L52"}, {"caller_nid": "purchase_order_wiz_default_get", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L53"}, {"caller_nid": "purchase_order_wiz_default_get", "callee": "browse", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L57"}, {"caller_nid": "purchase_order_wiz_default_get", "callee": "UserError", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L59"}, {"caller_nid": "purchase_order_wiz_default_get", "callee": "_", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L59"}, {"caller_nid": "purchase_order_wiz_default_get", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L72"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "ensure_one", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L88"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "defaultdict", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L91"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L95"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "UserError", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L98"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "_", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L98"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "now", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L100"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "items", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L103"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "browse", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L104"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "_get_fiscal_position", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L105"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "sudo", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L105"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L114"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L131"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L136"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "_", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L138"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "ref", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L141"}, {"caller_nid": "purchase_order_wiz_purchaseorderwizard_create_po", "callee": "_", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L148"}, {"caller_nid": "purchase_order_wiz_onchange_vendor_id", "callee": "filtered", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L180"}, {"caller_nid": "purchase_order_wiz_purchaseproductwiz_prepare_purchase_line_values", "callee": "ensure_one", "source_file": "/Users/gurpreet/Github/Odoo-Modules/Obsolete Files/sale_order_to_purchase_order_app/wizard/purchase_order_wiz.py", "source_location": "L189"}]}