{# Form-field side of the file picker — chips + "Pick a file" button. Posts the selection back to the parent form as one or more hidden inputs named ``name`` carrying the attachment id(s). For Many2one the value is a single id; for Many2many the parent's M2m machinery accepts comma-separated ids in one input (and also accepts repeated inputs with the same name — we use the comma form). Variables: name field name multi bool — multi-select readonly bool — disables the picker button accept optional mimetype filter ("image/*") initial list of {id, name, mimetype, thumbnail_url} #}
{# Hidden input(s) for form submission. For Many2many the parent parser accepts comma-separated ids; for Many2one a single int. #}