How to override get_gl_entries in general ledger in my custom app?

Possible using the monkey patch.

Reference: