Add filter to Invoice status
I’ve made a change to the code in classes/class-wc-xr-invoice.php on line 335 that changes the status of a new order from APPROVED to DRAFT. This small change works perfectly with Xero for me. Would it be possible for the developers to add a filter to this line that allows a plugin to override the default order status? Even more useful would be an extra setting in the settings page (but i know that is asking a bit much).
Last updated: June 24, 2016