[FIX] stock cost fix and analytic account fix on invoice