FIX account_anglo_saxon - invoice - local variable 'standard_price' refe...

...renced before assignment

Fix for #1801