this code was working just by chance because active_knowledge_pad is a brain, not an ERP5 object.
Attach a file by drag & drop or click to upload