line, type: fix index
This commit is contained in:
parent
eaa502a626
commit
3a0df50d52
2 changed files with 7 additions and 2 deletions
2
line.py
2
line.py
|
@ -245,7 +245,7 @@ class Line(SecondCurrencyMixin, MemCacheIndexMx, Workflow, ModelSQL, ModelView):
|
|||
(t.state, Index.Equality())),
|
||||
Index(
|
||||
t,
|
||||
(t.reference, Index.Range())),
|
||||
(t.reference, Index.Equality())),
|
||||
})
|
||||
cls._sql_constraints.extend([
|
||||
('state_val2',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue