I've added a custom checkbox field through studio to both Sales Orders and Invoices in the header area and would like to copy the checkbox state from the Sales Order to the Invoice when an Invoice is created either manually or automatically (Subscription Sales Order)
I'm presuming that this can be done by making the Invoice checkbox a computed field from the source Sales Order, but I've not been able to work out how to reference this.
The source Sales Order field should be sale.order.x_studio_direct_debit_payment but I can't add this in dependencies list.
Any assistance on how to do this would be appreciated.