bugfix
This commit is contained in:
parent
f7a7d6ca48
commit
8a763c13ea
@ -330,6 +330,8 @@ order by b.enabled_date desc"""
|
||||
if f.type == 'factor':
|
||||
ns[k] = float(config_data.get(k))
|
||||
for k,spec_value in p.items():
|
||||
if spec_value is None:
|
||||
continue
|
||||
if k == 'formula':
|
||||
continue
|
||||
f = d.fields.get(k)
|
||||
|
||||
@ -29,6 +29,8 @@ def write_pattern_xlsx(name: str, fields: dict) -> str:
|
||||
c = 1
|
||||
opt_id = 0
|
||||
for f in fields.values():
|
||||
if f.type == 'factor':
|
||||
continue
|
||||
ws_data.cell(row=1, column=c, value=f.label or f.name)
|
||||
if f.type == 'bool':
|
||||
create_options(ws_data, c, hidden, opt_id, ['=TRUE()', '=FALSE()'])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user