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