1 line
12 KiB
JSON
1 line
12 KiB
JSON
{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_inventory_models_product_product_py", "label": "product_product.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L1"}, {"id": "product_product_productproduct", "label": "ProductProduct", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L11"}, {"id": "product_product_compute_cost_extra", "label": "_compute_cost_extra()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L45"}, {"id": "product_product_productproduct_get_attributes_extra_price", "label": "._get_attributes_extra_price()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L53"}, {"id": "product_product_compute_product_lst_price", "label": "_compute_product_lst_price()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L61"}, {"id": "product_product_productproduct_set_product_lst_price", "label": "._set_product_lst_price()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L76"}, {"id": "product_product_compute_variant_margin", "label": "_compute_variant_margin()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L97"}, {"id": "product_product_productproduct_inverse_variant_margin", "label": "._inverse_variant_margin()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L109"}, {"id": "product_product_compute_variant_profit", "label": "_compute_variant_profit()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L121"}, {"id": "product_product_onchange_variant_margin", "label": "_onchange_variant_margin()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L134"}, {"id": "product_product_onchange_variant_cost", "label": "_onchange_variant_cost()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L145"}, {"id": "product_product_productproduct_apply_margin_to_variant", "label": "._apply_margin_to_variant()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L156"}, {"id": "product_product_rationale_146", "label": "When cost or shipping changes, recalculate price to keep margin.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L146"}, {"id": "product_product_rationale_157", "label": "Set this variant's price offset to achieve the given margin.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L157"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_inventory_models_product_product_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L5", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_inventory_models_product_product_py", "target": "odoo", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L6", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_inventory_models_product_product_py", "target": "product_product_productproduct", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L11", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_inventory_models_product_product_py", "target": "product_product_compute_cost_extra", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L45", "weight": 1.0}, {"source": "product_product_productproduct", "target": "product_product_productproduct_get_attributes_extra_price", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L53", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_inventory_models_product_product_py", "target": "product_product_compute_product_lst_price", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L61", "weight": 1.0}, {"source": "product_product_productproduct", "target": "product_product_productproduct_set_product_lst_price", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L76", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_inventory_models_product_product_py", "target": "product_product_compute_variant_margin", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L97", "weight": 1.0}, {"source": "product_product_productproduct", "target": "product_product_productproduct_inverse_variant_margin", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L109", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_inventory_models_product_product_py", "target": "product_product_compute_variant_profit", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L121", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_inventory_models_product_product_py", "target": "product_product_onchange_variant_margin", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L134", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_inventory_models_product_product_py", "target": "product_product_onchange_variant_cost", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L145", "weight": 1.0}, {"source": "product_product_productproduct", "target": "product_product_productproduct_apply_margin_to_variant", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L156", "weight": 1.0}, {"source": "product_product_rationale_146", "target": "product_product_productproduct_onchange_variant_cost", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L146", "weight": 1.0}, {"source": "product_product_rationale_157", "target": "product_product_productproduct_apply_margin_to_variant", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L157", "weight": 1.0}], "raw_calls": [{"caller_nid": "product_product_compute_cost_extra", "callee": "sum", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L47"}, {"caller_nid": "product_product_compute_cost_extra", "callee": "mapped", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L48"}, {"caller_nid": "product_product_productproduct_get_attributes_extra_price", "callee": "super", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L54"}, {"caller_nid": "product_product_compute_product_lst_price", "callee": "browse", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L64"}, {"caller_nid": "product_product_compute_product_lst_price", "callee": "_compute_price", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L67"}, {"caller_nid": "product_product_productproduct_set_product_lst_price", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L78"}, {"caller_nid": "product_product_productproduct_set_product_lst_price", "callee": "float", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L80"}, {"caller_nid": "product_product_productproduct_set_product_lst_price", "callee": "browse", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L81"}, {"caller_nid": "product_product_productproduct_set_product_lst_price", "callee": "write", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L87"}, {"caller_nid": "product_product_compute_variant_margin", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L104"}, {"caller_nid": "product_product_productproduct_inverse_variant_margin", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L116"}, {"caller_nid": "product_product_productproduct_inverse_variant_margin", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L117"}, {"caller_nid": "product_product_onchange_variant_margin", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L141"}, {"caller_nid": "product_product_onchange_variant_margin", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L142"}, {"caller_nid": "product_product_onchange_variant_cost", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L153"}, {"caller_nid": "product_product_onchange_variant_cost", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L154"}, {"caller_nid": "product_product_productproduct_apply_margin_to_variant", "callee": "ensure_one", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L158"}, {"caller_nid": "product_product_productproduct_apply_margin_to_variant", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L164"}, {"caller_nid": "product_product_productproduct_apply_margin_to_variant", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L165"}, {"caller_nid": "product_product_productproduct_apply_margin_to_variant", "callee": "abs", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_inventory/models/product_product.py", "source_location": "L166"}]} |