I was able to find the cause of the problem in the beginning. There are inventory control accounts in the journal entry for the purchase invoice that must be posted to the inventory account, but unfortunately the entry is posted to the cost of sales account. Attached is a screenshot of the item, specifying the control account, attached is a screenshot, attached is the control accounts, and attached is a screenshot of a purchase invoice and an explanation of the editing. Attached is a screenshot of an old purchases invoice, showing the journal entry.
I still cannot reproduce the problem, even with all the additional information you have provided.
I am guessing this could be due to renaming of built-in accounta, but I can’t be sure.
Anyway, Manager shouldn’t behave like this so I will place this in bugs.
@Mahmoud_Anis, what happens when you reset the names of built-in accounts?
I did that but same problem
Anyway, don’t worry. It’s in bugs now which means that the developer will look into this one.
Please see https://www.manager.io/inventory-revaluations
Also, make sure to upgrade to the latest version as many issues have been resolved related to inventory.