{"action":"created","issue":{"url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/615","labels_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/615/labels{/name}","comments_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/615/comments","events_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/615/events","html_url":"https://github.com/odoomrp/odoomrp-wip/issues/615","id":55713956,"number":615,"title":"[V8] mrp_operations_extension, error wizard do_consume_produce","user":{"login":"ccarly","id":7624075,"avatar_url":"https://avatars.githubusercontent.com/u/7624075?v=3","gravatar_id":"","url":"https://api.github.com/users/ccarly","html_url":"https://github.com/ccarly","followers_url":"https://api.github.com/users/ccarly/followers","following_url":"https://api.github.com/users/ccarly/following{/other_user}","gists_url":"https://api.github.com/users/ccarly/gists{/gist_id}","starred_url":"https://api.github.com/users/ccarly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccarly/subscriptions","organizations_url":"https://api.github.com/users/ccarly/orgs","repos_url":"https://api.github.com/users/ccarly/repos","events_url":"https://api.github.com/users/ccarly/events{/privacy}","received_events_url":"https://api.github.com/users/ccarly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mikelarre","id":8257787,"avatar_url":"https://avatars.githubusercontent.com/u/8257787?v=3","gravatar_id":"","url":"https://api.github.com/users/mikelarre","html_url":"https://github.com/mikelarre","followers_url":"https://api.github.com/users/mikelarre/followers","following_url":"https://api.github.com/users/mikelarre/following{/other_user}","gists_url":"https://api.github.com/users/mikelarre/gists{/gist_id}","starred_url":"https://api.github.com/users/mikelarre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikelarre/subscriptions","organizations_url":"https://api.github.com/users/mikelarre/orgs","repos_url":"https://api.github.com/users/mikelarre/repos","events_url":"https://api.github.com/users/mikelarre/events{/privacy}","received_events_url":"https://api.github.com/users/mikelarre/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-01-28T04:44:44Z","updated_at":"2015-01-29T15:51:38Z","closed_at":null,"body":"En la vista \"Ordenes de Trabajo\",  boton \"Producir\", da un error de cantidad, al fijarme en el codigo de la accion, veo que la llamada es con caltidad \"False\" y a la accion en MRP le llega cantidad 0.\r\n\r\nPor lo tanto emite una ventana que resa \r\n\"¡Aviso!\r\nPor favor introduzca una cantidad adecuada.\"\r\n\r\nmrp_operations_extension/wizard/mrp_product_produce.py\r\n```\r\n    def do_consume_produce(self, cr, uid, ids, context=None):\r\n        work_line = self.pool['mrp.production.workcenter.line'].browse(\r\n            cr, uid, context.get(\"active_id\"), context=context)\r\n        production_id = work_line.production_id.id\r\n        assert production_id\r\n        data = self.browse(cr, uid, ids[0], context=context)\r\n        self.pool['mrp.production'].action_produce(cr, uid, production_id, False, 'consume_produce', data, context=context)\r\n        return {}\r\n```"},"comment":{"url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/comments/72047879","html_url":"https://github.com/odoomrp/odoomrp-wip/issues/615#issuecomment-72047879","issue_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/615","id":72047879,"user":{"login":"anajuaristi","id":186591,"avatar_url":"https://avatars.githubusercontent.com/u/186591?v=3","gravatar_id":"","url":"https://api.github.com/users/anajuaristi","html_url":"https://github.com/anajuaristi","followers_url":"https://api.github.com/users/anajuaristi/followers","following_url":"https://api.github.com/users/anajuaristi/following{/other_user}","gists_url":"https://api.github.com/users/anajuaristi/gists{/gist_id}","starred_url":"https://api.github.com/users/anajuaristi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anajuaristi/subscriptions","organizations_url":"https://api.github.com/users/anajuaristi/orgs","repos_url":"https://api.github.com/users/anajuaristi/repos","events_url":"https://api.github.com/users/anajuaristi/events{/privacy}","received_events_url":"https://api.github.com/users/anajuaristi/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T15:51:37Z","updated_at":"2015-01-29T15:51:37Z","body":"@mikelarre ¿el PR?"}}