Hello,
Version : Odoo 12.0 Community Edition
I recently made a module. I've added some fields, and status to account.payment model. and also inherited the same fields to Payment in account.invoice.
So my problem now, is when I added the status to Odoo from my Module. I need also to change the workflow in account.view_account_payment_form (I did read that you cannot work with workflow in Odoo 11 and above) but I don't think there's no solution for this.
From Confirming Payment from Draft Status to Another Status. I mean
Current : Draft ----(When you hit Confirm button you can confirm )--> Posted.
TO : confirm payment only in a specific status ----> Posted