Custom Odoo module with JS work

Job ID: 36762351

Budget: $10 – $30 USD

I need a simple custom module that redirects to a specific form view for account.move model depending on the values of 2 fields of that record: move_type == 'out_invoice' and branch_id is set
If these 2 conditions are met then odoo should not open or stay on the default form view but rather open or redirect to a specific form view (it can be hard coded as an xml Id of that form view which we will give) - this redirection should be done automatically without user intervention.
Related categories: JavaScript Odoo