[ bug #1153 ] SQL Error on the VAT main screen (with pgsql)
Fix [ bug #1154 ] Error when closing a service in a contract (pgsql)
Merge pull request #1325 from FHenry/3.5

[ bug #1153 ] SQL Error on the VAT main screen (with pgsql)