{"action":"closed","issue":{"url":"https://api.github.com/repos/odoo-l10n-ar/l10n_ar_invoice/issues/7","labels_url":"https://api.github.com/repos/odoo-l10n-ar/l10n_ar_invoice/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/odoo-l10n-ar/l10n_ar_invoice/issues/7/comments","events_url":"https://api.github.com/repos/odoo-l10n-ar/l10n_ar_invoice/issues/7/events","html_url":"https://github.com/odoo-l10n-ar/l10n_ar_invoice/issues/7","id":49741742,"number":7,"title":"Asignar de forma automática las fechas de los servicios","user":{"login":"csrocha","id":2170163,"avatar_url":"https://avatars.githubusercontent.com/u/2170163?v=3","gravatar_id":"","url":"https://api.github.com/users/csrocha","html_url":"https://github.com/csrocha","followers_url":"https://api.github.com/users/csrocha/followers","following_url":"https://api.github.com/users/csrocha/following{/other_user}","gists_url":"https://api.github.com/users/csrocha/gists{/gist_id}","starred_url":"https://api.github.com/users/csrocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csrocha/subscriptions","organizations_url":"https://api.github.com/users/csrocha/orgs","repos_url":"https://api.github.com/users/csrocha/repos","events_url":"https://api.github.com/users/csrocha/events{/privacy}","received_events_url":"https://api.github.com/users/csrocha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2014-11-21T20:00:28Z","updated_at":"2015-11-05T15:52:03Z","closed_at":"2015-11-05T15:52:03Z","body":"Los campos 'afip_service_start', 'afip_service_end' podrían tener como valores por defecto la fecha del período anterior al período de la factura.\r\n\r\nCódigo conceptual para asignar el valor por defecto. \r\n\r\nperiod = inv.period_id.next(-1)\r\n'afip_service_start': period.date_start,\r\n'afip_service_end': period.date_stop,\r\n"}}