========================= Friday, February 13, 2015 ========================= Filter parameters of newcomers.NewClients ========================================= Fixed :ticket:`91`. The filter parameters of :class:`newcomers.NewClients ` now inherit the parameters of :class:`pcsw.Clients `. Added more content to test case :ref:`welfare.specs.newcomers`. This change might have introduced unwanted side effects which are not yet covered by the test suite. But it has the advantage that things get unified. And anywhere there is still quite some testing, analysis and documentation to do about all these filter criteria. Automatically setting cv.Obstacle.user to the requesting user ============================================================= My usual way would have been to write a :meth:`before_ui_save ` for :class:`cv.Obstacle `. But then I discovered that I can implement this using a custom signal :const:`pre_ui_save `. So my :meth:`before_ui_save ` is maybe not necessary. I marked it as deprecated. And the same is maybe true for all these signal-like methods! One theoretical difference between signals and signal-like methods is that application code can decide whether some previously defined "signal handler" should be executed or not. But in practice there is maybe no usage for this until now. Added a new testcase: :mod:`lino_welfare.projects.chatelet.tests.test_chatelet`. Evaluation de la version du 06 février ====================================== DONE: - "Préjudicial" -> "Préjudiciable" - immersion.Contract : keep together company, contact_person and contact_role - immersion.Contract and art61.Contract : remove `user_asd` from detail - `ContractsByClient` (both `immersion` and `art61`): `column_names` as in their document. - jobs.Jobs : show more columns - polls : AnswersByResponse : html view : use bigger font size (same as for normal fields) - QuestionsByPoll : stay_in_grid = True. - QuestionsByPoll : Respect stay_in_grid also for DuplicateRow. - quand j'ajoute un RAE dans ResponsesByPartner, Lino n'inscrit pas le partenaire. (NB Seulement pour RAE, pas pour INI) - Il n'est pas possible d'encoder des textes libres. - Dans «temps de travail accepté», on ne sait en sélectionner qu’un à la fois alors qu’on devrait pouvoir en sélectionner plusieurs. - Dans «Rendez-vous aujourd'hui», ajouter la colonne «Type d’événement» de manière à ce qu’on voit si c’est un entretien en interne ou en externe. TODO: - Rendez-vous d'évaluation automatiques : ne fonctionne pas correctement s'il y a deux coachings actifs en cette date. Lino devrait sélectionner le primaire. (vraiment?) En tout cas il n'y a jamais deux agents présents. - Les tâches automatiques par contrat se font actuellement pour l'auteur du contrat, mais il faut les mêmes règles que pour les rendez-vous. - Dans «Rendez-vous aujourd'hui», supprimer la colonne «Attribué à» - Dans le dossier d'une personne onglet «Personne», les rendez-vous s'indiquent 2x