Opening stock has wrong posting accounts

Opening stock has wrong posting accounts , l see it have been there for a long time , is there an explanation behind , so currently what we do is that we will manually adjust stocks after importing to have correct entries , is there a permanent solution to this

There are 2 ways for creating opening stock.

  1. Stock reconciliation - purpose opening stock, uses temporary opening account automatically

  2. Stock Entry - purpose material receipt & difference account should be set to temporary opening manually. Even when importing items with opening stock creates this entry.

ok thank you will use that option but still it means ERPNext does it wrongly on this , because when you are creating a new item and you put opening qty its posted wrongly like that , so it means best is to avoid putting opeing stock when creating a new item .