1. Open accounting -> journal entries
2. Open studio and ‘add a button.’
3. Select ‘Call a method’. Method to run is ‘button_cancel’.
Name the button: ‘Cancel entries.’
4. Result:
Select the posted entries and click on the button: Cancel entries.
The posted entries become 'cancel' on the status