Skip to content

Commit

Permalink
refactor: Minor refactors.
Browse files Browse the repository at this point in the history
  • Loading branch information
GichanaMayaka committed Sep 18, 2024
1 parent 28b6f5a commit c9265bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kenya_compliance/kenya_compliance/apis/apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ def create_stock_entry_from_stock_movement(request_data: str) -> None:

target_warehouse = frappe.get_value(
"Warehouse",
{"custom_branch": "01"},
{"custom_branch": "01"}, # TODO: Fix hardcode from 01 to a general solution
["name"],
as_dict=True,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ frappe.listview_settings[doctypeName] = {
// Error Handling is Defered to the Server
},
});
}
},
);
},
};

0 comments on commit c9265bc

Please sign in to comment.