Skip to content

Commit

Permalink
fixup! fixup constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
yvaucher committed Feb 12, 2016
1 parent aa2ce10 commit 88ea07a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion partner_firstname/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ def _install_partner_firstname(self):
records._inverse_name()
_logger.info("%d partners updated installing module.", len(records))

# Python constraint gives a more explicit error
# Disabling SQL constraint givint a more explicit error using a Python
# contstraint
_sql_constraints = [(
'check_name',
"CHECK( 1=1 )",
Expand Down

0 comments on commit 88ea07a

Please sign in to comment.