The TableHandler adds the table name as prefix to the constraint name so when comparing with the integrity error message, it should also be added. Especially if the constraint name is hashed by the TableHandler conversion because the result is completely different. Closes #13922 (grafted from 57e97b6d957e1b472eea3fb7bbdf2ecf03abfc6a) --HG-- branch : 7.0
trytond ======= The server of Tryton. Tryton is business software, ideal for companies of any size, easy to use, complete and 100% Open Source. It provides modularity, scalability and security.