{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/4494","labels_url":"https://api.github.com/repos/odoo/odoo/issues/4494/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/4494/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/4494/events","html_url":"https://github.com/odoo/odoo/issues/4494","id":53236904,"number":4494,"title":"Odoo v8 POS image upload error when create customer.","user":{"login":"pquochoang2007","id":5939997,"avatar_url":"https://avatars.githubusercontent.com/u/5939997?v=3","gravatar_id":"","url":"https://api.github.com/users/pquochoang2007","html_url":"https://github.com/pquochoang2007","followers_url":"https://api.github.com/users/pquochoang2007/followers","following_url":"https://api.github.com/users/pquochoang2007/following{/other_user}","gists_url":"https://api.github.com/users/pquochoang2007/gists{/gist_id}","starred_url":"https://api.github.com/users/pquochoang2007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pquochoang2007/subscriptions","organizations_url":"https://api.github.com/users/pquochoang2007/orgs","repos_url":"https://api.github.com/users/pquochoang2007/repos","events_url":"https://api.github.com/users/pquochoang2007/events{/privacy}","received_events_url":"https://api.github.com/users/pquochoang2007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-02T04:17:28Z","updated_at":"2015-01-02T07:16:46Z","closed_at":null,"body":"remove line 784 and 805 in /addons/point_of_sale/static/src/js/screens.js function resize_image_to_dataurl\r\nimg.onload = function(){ // line 784\r\n} // line 805"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/68511726","html_url":"https://github.com/odoo/odoo/issues/4494#issuecomment-68511726","issue_url":"https://api.github.com/repos/odoo/odoo/issues/4494","id":68511726,"user":{"login":"pquochoang2007","id":5939997,"avatar_url":"https://avatars.githubusercontent.com/u/5939997?v=3","gravatar_id":"","url":"https://api.github.com/users/pquochoang2007","html_url":"https://github.com/pquochoang2007","followers_url":"https://api.github.com/users/pquochoang2007/followers","following_url":"https://api.github.com/users/pquochoang2007/following{/other_user}","gists_url":"https://api.github.com/users/pquochoang2007/gists{/gist_id}","starred_url":"https://api.github.com/users/pquochoang2007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pquochoang2007/subscriptions","organizations_url":"https://api.github.com/users/pquochoang2007/orgs","repos_url":"https://api.github.com/users/pquochoang2007/repos","events_url":"https://api.github.com/users/pquochoang2007/events{/privacy}","received_events_url":"https://api.github.com/users/pquochoang2007/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T07:16:46Z","updated_at":"2015-01-02T07:16:46Z","body":"Thanks for replied me, i use odoo 8.0rc1, you can reproduce with 3 step.\r\nstep 1: open POS\r\nstep 2: click on create customer icon\r\nstep 3: click on upload image icon ->error \"event is not defined\" will be appeared.\r\n"}}