fix: set expense_account and cost_center based on company in stock entry (#45159)
* fix: set expense_account and cost_center based on company in stock entry
* fix: remove is_perpetual_inventory_enabled validation for cost_center
(cherry picked from commit 6ec18fb40d)
Co-authored-by: Sugesh G <73237300+Sugesh393@users.noreply.github.com>