Trying to get some attention to this bug in Version 14.
Now the due dates on Sales Invoice and Purchase Invoice are overriden to match those on Sales Order and Purchase Order (respectively) even if they are wrong and have been edited by user to correct values. They are changed without warning on submit.
See bug report:
https://github.com/frappe/erpnext/issues/35817