[IMP] pos:removed function that not check for the cash_control when sear...

...ching cash_journal,removed osv-except and raised warning instead and made small changes in js so popup do not display trackback if exception type is warning"

- Task: https://www.odoo.com/web?&debug=#id=8494&view_type=form&model=project.task&action=333&active_id=131
- Pad: https://pad.odoo.com/p/r.UOpHDHzgakuwXGDH
What is the purpose of this?