New field_flag: free-tagging taxonomy reference (multi-value, auto-create) on ligne_comptable, for marking a line with an unstructured problem description (e.g. "client impayé") that can't be detected automatically the way the répartition écart already is. - New "Signalement" column, inline-editable like Client/Facture/Libellé (comma-separated tags, datalist autocomplete, server-side auto-create of unknown tags -- same pattern LedgerActionsController already used for Client, now shared via findOrCreateTerm()). - New "Signalées uniquement" filter, mirroring "Écarts uniquement". - Flagged rows get a distinct amber left-edge accent (box-shadow, not border) so a row that's both in écart and signalée shows both indicators without one overwriting the other. - Native node add/edit form gets the field for free via core's entity_reference_autocomplete_tags widget. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
26 lines
563 B
YAML
26 lines
563 B
YAML
uuid: c89c4d76-167a-4b60-b5f1-50aa3b349b80
|
|
langcode: en
|
|
status: true
|
|
dependencies:
|
|
config:
|
|
- field.storage.node.field_flag
|
|
- node.type.ligne_comptable
|
|
- taxonomy.vocabulary.flag
|
|
id: node.ligne_comptable.field_flag
|
|
field_name: field_flag
|
|
entity_type: node
|
|
bundle: ligne_comptable
|
|
label: Signalement
|
|
description: ''
|
|
required: false
|
|
translatable: true
|
|
default_value: { }
|
|
default_value_callback: ''
|
|
settings:
|
|
handler: 'default:taxonomy_term'
|
|
handler_settings:
|
|
target_bundles:
|
|
flag: flag
|
|
auto_create: true
|
|
field_type: entity_reference
|