Fix error in get_default_cost_center() function
Merge pull request #2340 from neilLasrado/fixstockentryerror

Fix error in get_default_cost_center() function