* fix: don't duplicate default income account to Item
Only store _Default Income Account_ in **Item** if it's different from the **Company**'s _Default Income Account_.
Resolves#48231
* refactor: move db call out of loop
* docs: add docstring
(cherry picked from commit b6cb9d4799)
# Conflicts:
# erpnext/controllers/selling_controller.py