{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/27762","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/27762/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/27762/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/27762/events","html_url":"https://github.com/odoo/odoo/issues/27762","id":369889583,"node_id":"MDU6SXNzdWUzNjk4ODk1ODM=","number":27762,"title":"[11] Hr Attendances - Multiple check-in","user":{"login":"citronpower","id":9839114,"node_id":"MDQ6VXNlcjk4MzkxMTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9839114?v=4","gravatar_id":"","url":"https://api.github.com/users/citronpower","html_url":"https://github.com/citronpower","followers_url":"https://api.github.com/users/citronpower/followers","following_url":"https://api.github.com/users/citronpower/following{/other_user}","gists_url":"https://api.github.com/users/citronpower/gists{/gist_id}","starred_url":"https://api.github.com/users/citronpower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citronpower/subscriptions","organizations_url":"https://api.github.com/users/citronpower/orgs","repos_url":"https://api.github.com/users/citronpower/repos","events_url":"https://api.github.com/users/citronpower/events{/privacy}","received_events_url":"https://api.github.com/users/citronpower/received_events","type":"User","site_admin":false},"labels":[{"id":712046675,"node_id":"MDU6TGFiZWw3MTIwNDY2NzU=","url":"https://api.github.com/repos/odoo/odoo/labels/11.0","name":"11.0","color":"f1d91f","default":false},{"id":1120432555,"node_id":"MDU6TGFiZWwxMTIwNDMyNTU1","url":"https://api.github.com/repos/odoo/odoo/labels/HR","name":"HR","color":"f94868","default":false},{"id":620800901,"node_id":"MDU6TGFiZWw2MjA4MDA5MDE=","url":"https://api.github.com/repos/odoo/odoo/labels/Services","name":"Services","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":{"login":"tivisse","id":8435879,"node_id":"MDQ6VXNlcjg0MzU4Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/8435879?v=4","gravatar_id":"","url":"https://api.github.com/users/tivisse","html_url":"https://github.com/tivisse","followers_url":"https://api.github.com/users/tivisse/followers","following_url":"https://api.github.com/users/tivisse/following{/other_user}","gists_url":"https://api.github.com/users/tivisse/gists{/gist_id}","starred_url":"https://api.github.com/users/tivisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tivisse/subscriptions","organizations_url":"https://api.github.com/users/tivisse/orgs","repos_url":"https://api.github.com/users/tivisse/repos","events_url":"https://api.github.com/users/tivisse/events{/privacy}","received_events_url":"https://api.github.com/users/tivisse/received_events","type":"User","site_admin":false},"assignees":[{"login":"tivisse","id":8435879,"node_id":"MDQ6VXNlcjg0MzU4Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/8435879?v=4","gravatar_id":"","url":"https://api.github.com/users/tivisse","html_url":"https://github.com/tivisse","followers_url":"https://api.github.com/users/tivisse/followers","following_url":"https://api.github.com/users/tivisse/following{/other_user}","gists_url":"https://api.github.com/users/tivisse/gists{/gist_id}","starred_url":"https://api.github.com/users/tivisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tivisse/subscriptions","organizations_url":"https://api.github.com/users/tivisse/orgs","repos_url":"https://api.github.com/users/tivisse/repos","events_url":"https://api.github.com/users/tivisse/events{/privacy}","received_events_url":"https://api.github.com/users/tivisse/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-10-14T10:41:35Z","updated_at":"2018-12-31T13:43:13Z","closed_at":"2018-12-31T13:43:13Z","author_association":"NONE","body":"Impacted versions: Odoo11\r\n\r\nSteps to reproduce: While check-in/check-out to quickly in Kiosk mode with badges\r\n\r\nCurrent behavior: Multiple records are saved instead of one and create problem at the next check-in/check-out because there is a record which has not been checked-out but also an other, more recent, which has been check-out. Then Odoo is confused.\r\n\r\nSolution found (if someone could check it and, if it is in order, pull it):\r\nChange in hr_attendance/static/src/js/greeting_message.js function start():\r\n```\r\nstart: function() {\r\n        if (this.attendance) {\r\n            this.attendance.check_out ? this.farewell_message() : this.welcome_message();\r\n        }\r\n        // remove this\r\n        // if (this.activeBarcode) {\r\n        //     core.bus.on('barcode_scanned', this, this._onBarcodeScanned);\r\n        // }\r\n    }\r\n```\r\n\r\nThanks in advance for your feedback."},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/450647295","html_url":"https://github.com/odoo/odoo/issues/27762#issuecomment-450647295","issue_url":"https://api.github.com/repos/odoo/odoo/issues/27762","id":450647295,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDY0NzI5NQ==","user":{"login":"RomainLibert","id":33962792,"node_id":"MDQ6VXNlcjMzOTYyNzky","avatar_url":"https://avatars2.githubusercontent.com/u/33962792?v=4","gravatar_id":"","url":"https://api.github.com/users/RomainLibert","html_url":"https://github.com/RomainLibert","followers_url":"https://api.github.com/users/RomainLibert/followers","following_url":"https://api.github.com/users/RomainLibert/following{/other_user}","gists_url":"https://api.github.com/users/RomainLibert/gists{/gist_id}","starred_url":"https://api.github.com/users/RomainLibert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomainLibert/subscriptions","organizations_url":"https://api.github.com/users/RomainLibert/orgs","repos_url":"https://api.github.com/users/RomainLibert/repos","events_url":"https://api.github.com/users/RomainLibert/events{/privacy}","received_events_url":"https://api.github.com/users/RomainLibert/received_events","type":"User","site_admin":false},"created_at":"2018-12-31T13:43:13Z","updated_at":"2018-12-31T13:43:13Z","author_association":"CONTRIBUTOR","body":"Fixed by https://github.com/odoo/odoo/pull/28150"}}
{"actor":{"display_login":"RomainLibert"}}