fix: город, combobox pd_count, убрана кнопка расчёта, импорт описания

This commit is contained in:
2026-07-30 14:52:01 +04:00
parent 30cb3f66bf
commit eac0786bce
2 changed files with 17 additions and 25 deletions
+4 -5
View File
@@ -245,11 +245,10 @@ def _import_152_is_list(wb, data, log_fn):
if 'цель обработки' in field_lower:
current_section = 'purpose'
elif current_section == 'purpose':
if field and 'выбрать' not in field_lower and field_lower not in ('значение', 'примечание'):
is_obj['description'] = field
log_fn(f" Цель: {field[:80]}")
elif val_b and 'выбрать' not in field_lower:
is_obj['description'] = val_b
purpose_val = field or val_b or ''
if purpose_val and 'выбрать' not in purpose_val.lower():
is_obj['purpose'] = purpose_val
log_fn(f" Цель: {purpose_val[:80]}")
current_section = 'header'
elif current_section == 'subjects':
if is_checked and 'выбрать' not in field_lower: