sql: replace dashes used in backoffice attribute names (#32678)
This commit is contained in:
parent
7fbd17431c
commit
101c650a56
|
@ -58,7 +58,7 @@ SQL_TYPE_MAPPING = {
|
|||
|
||||
class Criteria(qommon.storage.Criteria):
|
||||
def __init__(self, attribute, value, **kwargs):
|
||||
self.attribute = attribute
|
||||
self.attribute = attribute.replace('-', '_')
|
||||
self.value = value
|
||||
|
||||
def as_sql(self):
|
||||
|
|
Loading…
Reference in New Issue