Typo in customer_tax_rule test

issue3194
review843002
Fix invoice method computation for task without project

issue3175
review819002