Your observation and what you had in mind may relate thread discussion
Salary slip submitted, but no journal entries - #2 by Randy_Lowery
and initiative Feature Request Submit Salary and post JV from salary slips · Issue #8421 · frappe/erpnext · GitHub