mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-27 02:48:41 -06:00
document_page_history don't have _sql attribute
This commit is contained in:
parent
3ff8124a9b
commit
f0b62fc811
@ -183,6 +183,9 @@ class document_page_history(models.Model):
|
|||||||
|
|
||||||
def __getattr__(self, attr):
|
def __getattr__(self, attr):
|
||||||
"""Return a dummy callabale"""
|
"""Return a dummy callabale"""
|
||||||
|
if attr in ['_sql']:
|
||||||
|
raise AttributeError
|
||||||
|
|
||||||
_logger.warning(
|
_logger.warning(
|
||||||
"Trying to access attribute %s on document_page_history",
|
"Trying to access attribute %s on document_page_history",
|
||||||
attr
|
attr
|
||||||
|
Loading…
Reference in New Issue
Block a user