Fix for #1273 on 1.3 branch, cannot open vendor invoice, regression from #1260
Merge pull request #508 from freelock/1.3

Fix for #1273 on 1.3 branch, cannot open vendor invoice, regression from...