{"action":"created","issue":{"url":"https://api.github.com/repos/CroceRossaItaliana/jorvik/issues/58","labels_url":"https://api.github.com/repos/CroceRossaItaliana/jorvik/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/CroceRossaItaliana/jorvik/issues/58/comments","events_url":"https://api.github.com/repos/CroceRossaItaliana/jorvik/issues/58/events","html_url":"https://github.com/CroceRossaItaliana/jorvik/issues/58","id":127727124,"number":58,"title":"[ufficio soci/estensioni] accettazione estensione non memorizza protocollo data e numero","user":{"login":"AlfioEmanueleFresta","id":621062,"avatar_url":"https://avatars.githubusercontent.com/u/621062?v=3","gravatar_id":"","url":"https://api.github.com/users/AlfioEmanueleFresta","html_url":"https://github.com/AlfioEmanueleFresta","followers_url":"https://api.github.com/users/AlfioEmanueleFresta/followers","following_url":"https://api.github.com/users/AlfioEmanueleFresta/following{/other_user}","gists_url":"https://api.github.com/users/AlfioEmanueleFresta/gists{/gist_id}","starred_url":"https://api.github.com/users/AlfioEmanueleFresta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlfioEmanueleFresta/subscriptions","organizations_url":"https://api.github.com/users/AlfioEmanueleFresta/orgs","repos_url":"https://api.github.com/users/AlfioEmanueleFresta/repos","events_url":"https://api.github.com/users/AlfioEmanueleFresta/events{/privacy}","received_events_url":"https://api.github.com/users/AlfioEmanueleFresta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CroceRossaItaliana/jorvik/labels/app:%20ufficio_soci","name":"app: ufficio_soci","color":"bfe5bf"},{"url":"https://api.github.com/repos/CroceRossaItaliana/jorvik/labels/pri:%201","name":"pri: 1","color":"f7c6c7"},{"url":"https://api.github.com/repos/CroceRossaItaliana/jorvik/labels/tipo:%20bug%20-%20correzione","name":"tipo: bug - correzione","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":{"login":"AngeloLupo","id":1773740,"avatar_url":"https://avatars.githubusercontent.com/u/1773740?v=3","gravatar_id":"","url":"https://api.github.com/users/AngeloLupo","html_url":"https://github.com/AngeloLupo","followers_url":"https://api.github.com/users/AngeloLupo/followers","following_url":"https://api.github.com/users/AngeloLupo/following{/other_user}","gists_url":"https://api.github.com/users/AngeloLupo/gists{/gist_id}","starred_url":"https://api.github.com/users/AngeloLupo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AngeloLupo/subscriptions","organizations_url":"https://api.github.com/users/AngeloLupo/orgs","repos_url":"https://api.github.com/users/AngeloLupo/repos","events_url":"https://api.github.com/users/AngeloLupo/events{/privacy}","received_events_url":"https://api.github.com/users/AngeloLupo/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-01-20T16:52:04Z","updated_at":"2016-01-23T14:45:34Z","closed_at":"2016-01-23T14:45:22Z","body":"La funzione `autorizzazione_concessa` riceve il modulo di accettazione e si deve occupare di memorizzare i campi ricevuto nel modulo. Nel caso di `Estensione` questo non accade.\r\n\r\n```python\r\n    def autorizzazione_concessa(self, modulo=None):\r\n        # ...\r\n        self.protocollo_numero = modulo.cleaned_data['protocollo_numero']\r\n        # ...\r\n        self.save()\r\n\r\n```\r\n\r\nE' inoltre opportuno verificare che questo accada, nel caso sia applicabile, anche con\r\n- Trasferimento\r\n- Riserva\r\n\r\n**Importante**: Nota che anche il metodo `autorizzazione_negata` riceve un modulo. Anche in caso di estensione negata e' necessario salvare numero e data protocollo della richiesta!"},"comment":{"url":"https://api.github.com/repos/CroceRossaItaliana/jorvik/issues/comments/174191277","html_url":"https://github.com/CroceRossaItaliana/jorvik/issues/58#issuecomment-174191277","issue_url":"https://api.github.com/repos/CroceRossaItaliana/jorvik/issues/58","id":174191277,"user":{"login":"AlfioEmanueleFresta","id":621062,"avatar_url":"https://avatars.githubusercontent.com/u/621062?v=3","gravatar_id":"","url":"https://api.github.com/users/AlfioEmanueleFresta","html_url":"https://github.com/AlfioEmanueleFresta","followers_url":"https://api.github.com/users/AlfioEmanueleFresta/followers","following_url":"https://api.github.com/users/AlfioEmanueleFresta/following{/other_user}","gists_url":"https://api.github.com/users/AlfioEmanueleFresta/gists{/gist_id}","starred_url":"https://api.github.com/users/AlfioEmanueleFresta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlfioEmanueleFresta/subscriptions","organizations_url":"https://api.github.com/users/AlfioEmanueleFresta/orgs","repos_url":"https://api.github.com/users/AlfioEmanueleFresta/repos","events_url":"https://api.github.com/users/AlfioEmanueleFresta/events{/privacy}","received_events_url":"https://api.github.com/users/AlfioEmanueleFresta/received_events","type":"User","site_admin":false},"created_at":"2016-01-23T14:45:34Z","updated_at":"2016-01-23T14:45:34Z","body":"Thanks @AngeloLupo "}}