[fix] exclude gl entry and stock ledger entry in linked with. Depends on frappe/frappe#1339
Inventory management module.