[PYTHON]fix allowing for partners without invoice to be considered as valid, eg impor...