Skip to content
Snippets Groups Projects
Commit d7c765f6 authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[FIX] openerp: fix traceback when no field in constrains

In case you don't have 'field', the first 'if' will raise a warning.
In this case the second 'if' will crash with:
    "'NoneType' object has no attribute 'store'"

This commit closes #16146
Courtesy of @kmetaxas
parent 7f260ab5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment