User can download invoice from sales template #4621

* Added test

Review Id: 12893002
typo