{"action":"created","comment":{"url":"https://api.github.com/repos/odoo/odoo/pulls/comments/237841886","pull_request_review_id":180207206,"id":237841886,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzg0MTg4Ng==","diff_hunk":"@@ -18,10 +18,23 @@ class ImLivechatReportChannel(models.Model):\n     technical_name = fields.Char('Code', readonly=True)\n     livechat_channel_id = fields.Many2one('im_livechat.channel', 'Channel', readonly=True)\n     start_date = fields.Datetime('Start Date of session', readonly=True, help=\"Start date of the conversation\")\n+    start_hour = fields.Char('Start Hour of session', readonly=True, help=\"Start hour of the conversation\")\n+    day_number = fields.Char('Day Number', readonly=True, help=\"Day number of the session (1 is Monday, 7 is Sunday)\")\n+    time_to_answer = fields.Float('Time to answer (sec)', digits=(16, 2), readonly=True, group_operator=\"avg\", help=\"Average time in seconds to give the first answer to the visitor\")\n     start_date_hour = fields.Char('Hour of start Date of session', readonly=True)\n     duration = fields.Float('Average duration', digits=(16, 2), readonly=True, group_operator=\"avg\", help=\"Duration of the conversation (in seconds)\")\n     nbr_speaker = fields.Integer('# of speakers', readonly=True, group_operator=\"avg\", help=\"Number of different speakers\")\n     nbr_message = fields.Integer('Average message', readonly=True, group_operator=\"avg\", help=\"Number of message in the conversation\")\n+    is_without_answer = fields.Integer('Session(s) without answer', reandonly=True, group_operator=\"sum\",\n+                                       help=\"\"\"A session is without answer if the operator did not answer. \n+                                       If the visitor is also the operator, the session will always be answered.\"\"\")\n+    days_of_activity = fields.Integer('Days of activity', group_operator=\"max\", readonly=True)","path":"addons/im_livechat/report/im_livechat_report_channel.py","position":14,"original_position":14,"commit_id":"0b5aa57e644ea6dbd1b096f03225df8659128f0c","original_commit_id":"2405a169c72acd7d4715e6830c7d32f51d07c59d","user":{"login":"jem-odoo","id":7429139,"node_id":"MDQ6VXNlcjc0MjkxMzk=","avatar_url":"https://avatars0.githubusercontent.com/u/7429139?v=4","gravatar_id":"","url":"https://api.github.com/users/jem-odoo","html_url":"https://github.com/jem-odoo","followers_url":"https://api.github.com/users/jem-odoo/followers","following_url":"https://api.github.com/users/jem-odoo/following{/other_user}","gists_url":"https://api.github.com/users/jem-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/jem-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jem-odoo/subscriptions","organizations_url":"https://api.github.com/users/jem-odoo/orgs","repos_url":"https://api.github.com/users/jem-odoo/repos","events_url":"https://api.github.com/users/jem-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/jem-odoo/received_events","type":"User","site_admin":false},"body":"What is this field ?","created_at":"2018-11-30T12:18:25Z","updated_at":"2018-11-30T12:38:55Z","html_url":"https://github.com/odoo/odoo/pull/28283#discussion_r237841886","pull_request_url":"https://api.github.com/repos/odoo/odoo/pulls/28283","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo/pulls/comments/237841886"},"html":{"href":"https://github.com/odoo/odoo/pull/28283#discussion_r237841886"},"pull_request":{"href":"https://api.github.com/repos/odoo/odoo/pulls/28283"}}},"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/28283","id":226861636,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2ODYxNjM2","html_url":"https://github.com/odoo/odoo/pull/28283","diff_url":"https://github.com/odoo/odoo/pull/28283.diff","patch_url":"https://github.com/odoo/odoo/pull/28283.patch","issue_url":"https://api.github.com/repos/odoo/odoo/issues/28283","number":28283,"state":"open","locked":false,"title":"[IMP] im_livechat : add measures to channel report to be used in Dash…","user":{"login":"dbeguin","id":38424442,"node_id":"MDQ6VXNlcjM4NDI0NDQy","avatar_url":"https://avatars2.githubusercontent.com/u/38424442?v=4","gravatar_id":"","url":"https://api.github.com/users/dbeguin","html_url":"https://github.com/dbeguin","followers_url":"https://api.github.com/users/dbeguin/followers","following_url":"https://api.github.com/users/dbeguin/following{/other_user}","gists_url":"https://api.github.com/users/dbeguin/gists{/gist_id}","starred_url":"https://api.github.com/users/dbeguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbeguin/subscriptions","organizations_url":"https://api.github.com/users/dbeguin/orgs","repos_url":"https://api.github.com/users/dbeguin/repos","events_url":"https://api.github.com/users/dbeguin/events{/privacy}","received_events_url":"https://api.github.com/users/dbeguin/received_events","type":"User","site_admin":false},"body":"…board\r\n\r\nAdds some indicators in channel report in order to use them in the new\r\nenterprise livechat dashboard. Those indicator are added here to re-use\r\ndirectly the channel report view. It allows the users to use also those\r\nnew indicators in the existing reports.\r\n\r\nTask ID : 1895998\r\n\r\n--\r\nI confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr\r\n","created_at":"2018-10-30T10:15:14Z","updated_at":"2018-11-30T12:38:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a0a7a34e673df4807d20a6e6f9b76642627eb2a6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1044840932,"node_id":"MDU6TGFiZWwxMDQ0ODQwOTMy","url":"https://api.github.com/repos/odoo/odoo/labels/CI%20%F0%9F%A4%96","name":"CI 🤖","color":"ededed","default":false},{"id":106173385,"node_id":"MDU6TGFiZWwxMDYxNzMzODU=","url":"https://api.github.com/repos/odoo/odoo/labels/RD","name":"RD","color":"5319e7","default":false},{"id":1044215768,"node_id":"MDU6TGFiZWwxMDQ0MjE1NzY4","url":"https://api.github.com/repos/odoo/odoo/labels/seen%20%F0%9F%99%82","name":"seen 🙂","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/odoo/odoo/pulls/28283/commits","review_comments_url":"https://api.github.com/repos/odoo/odoo/pulls/28283/comments","review_comment_url":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/28283/comments","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/0b5aa57e644ea6dbd1b096f03225df8659128f0c","head":{"label":"odoo-dev:master-livechat-dashboard-dbe","ref":"master-livechat-dashboard-dbe","sha":"0b5aa57e644ea6dbd1b096f03225df8659128f0c","user":{"login":"odoo-dev","id":7466976,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0NjY5NzY=","avatar_url":"https://avatars0.githubusercontent.com/u/7466976?v=4","gravatar_id":"","url":"https://api.github.com/users/odoo-dev","html_url":"https://github.com/odoo-dev","followers_url":"https://api.github.com/users/odoo-dev/followers","following_url":"https://api.github.com/users/odoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/odoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo-dev/subscriptions","organizations_url":"https://api.github.com/users/odoo-dev/orgs","repos_url":"https://api.github.com/users/odoo-dev/repos","events_url":"https://api.github.com/users/odoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/odoo-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":19853934,"node_id":"MDEwOlJlcG9zaXRvcnkxOTg1MzkzNA==","name":"odoo","full_name":"odoo-dev/odoo","private":false,"owner":{"login":"odoo-dev","id":7466976,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0NjY5NzY=","avatar_url":"https://avatars0.githubusercontent.com/u/7466976?v=4","gravatar_id":"","url":"https://api.github.com/users/odoo-dev","html_url":"https://github.com/odoo-dev","followers_url":"https://api.github.com/users/odoo-dev/followers","following_url":"https://api.github.com/users/odoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/odoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo-dev/subscriptions","organizations_url":"https://api.github.com/users/odoo-dev/orgs","repos_url":"https://api.github.com/users/odoo-dev/repos","events_url":"https://api.github.com/users/odoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/odoo-dev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/odoo-dev/odoo","description":"RD Dev Repository","fork":true,"url":"https://api.github.com/repos/odoo-dev/odoo","forks_url":"https://api.github.com/repos/odoo-dev/odoo/forks","keys_url":"https://api.github.com/repos/odoo-dev/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoo-dev/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoo-dev/odoo/teams","hooks_url":"https://api.github.com/repos/odoo-dev/odoo/hooks","issue_events_url":"https://api.github.com/repos/odoo-dev/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/odoo-dev/odoo/events","assignees_url":"https://api.github.com/repos/odoo-dev/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/odoo-dev/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/odoo-dev/odoo/tags","blobs_url":"https://api.github.com/repos/odoo-dev/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoo-dev/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoo-dev/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoo-dev/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoo-dev/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/odoo-dev/odoo/languages","stargazers_url":"https://api.github.com/repos/odoo-dev/odoo/stargazers","contributors_url":"https://api.github.com/repos/odoo-dev/odoo/contributors","subscribers_url":"https://api.github.com/repos/odoo-dev/odoo/subscribers","subscription_url":"https://api.github.com/repos/odoo-dev/odoo/subscription","commits_url":"https://api.github.com/repos/odoo-dev/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoo-dev/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoo-dev/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoo-dev/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/odoo-dev/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/odoo-dev/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoo-dev/odoo/merges","archive_url":"https://api.github.com/repos/odoo-dev/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoo-dev/odoo/downloads","issues_url":"https://api.github.com/repos/odoo-dev/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/odoo-dev/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/odoo-dev/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/odoo-dev/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoo-dev/odoo/labels{/name}","releases_url":"https://api.github.com/repos/odoo-dev/odoo/releases{/id}","deployments_url":"https://api.github.com/repos/odoo-dev/odoo/deployments","created_at":"2014-05-16T11:16:19Z","updated_at":"2018-11-03T19:22:39Z","pushed_at":"2018-11-30T12:38:52Z","git_url":"git://github.com/odoo-dev/odoo.git","ssh_url":"git@github.com:odoo-dev/odoo.git","clone_url":"https://github.com/odoo-dev/odoo.git","svn_url":"https://github.com/odoo-dev/odoo","homepage":"https://www.odoo.com","size":2401987,"stargazers_count":82,"watchers_count":82,"language":null,"has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":40,"open_issues":0,"watchers":82,"default_branch":"master"}},"base":{"label":"odoo:master","ref":"master","sha":"ba9b5ce12b617ca9fcc99533f613468a0987ac58","user":{"login":"odoo","id":6368483,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzNjg0ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/6368483?v=4","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"repo":{"id":19745004,"node_id":"MDEwOlJlcG9zaXRvcnkxOTc0NTAwNA==","name":"odoo","full_name":"odoo/odoo","private":false,"owner":{"login":"odoo","id":6368483,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzNjg0ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/6368483?v=4","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/odoo/odoo","description":"Odoo. Open Source Apps To Grow Your Business.","fork":false,"url":"https://api.github.com/repos/odoo/odoo","forks_url":"https://api.github.com/repos/odoo/odoo/forks","keys_url":"https://api.github.com/repos/odoo/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoo/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoo/odoo/teams","hooks_url":"https://api.github.com/repos/odoo/odoo/hooks","issue_events_url":"https://api.github.com/repos/odoo/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/odoo/odoo/events","assignees_url":"https://api.github.com/repos/odoo/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/odoo/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/odoo/odoo/tags","blobs_url":"https://api.github.com/repos/odoo/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoo/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoo/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoo/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/odoo/odoo/languages","stargazers_url":"https://api.github.com/repos/odoo/odoo/stargazers","contributors_url":"https://api.github.com/repos/odoo/odoo/contributors","subscribers_url":"https://api.github.com/repos/odoo/odoo/subscribers","subscription_url":"https://api.github.com/repos/odoo/odoo/subscription","commits_url":"https://api.github.com/repos/odoo/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoo/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoo/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoo/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/odoo/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/odoo/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoo/odoo/merges","archive_url":"https://api.github.com/repos/odoo/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoo/odoo/downloads","issues_url":"https://api.github.com/repos/odoo/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/odoo/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/odoo/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/odoo/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoo/odoo/labels{/name}","releases_url":"https://api.github.com/repos/odoo/odoo/releases{/id}","deployments_url":"https://api.github.com/repos/odoo/odoo/deployments","created_at":"2014-05-13T15:38:58Z","updated_at":"2018-11-30T12:10:44Z","pushed_at":"2018-11-30T12:37:06Z","git_url":"git://github.com/odoo/odoo.git","ssh_url":"git@github.com:odoo/odoo.git","clone_url":"https://github.com/odoo/odoo.git","svn_url":"https://github.com/odoo/odoo","homepage":"https://www.odoo.com","size":2388770,"stargazers_count":11840,"watchers_count":11840,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9217,"mirror_url":null,"archived":false,"open_issues_count":2044,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":9217,"open_issues":2044,"watchers":11840,"default_branch":"12.0"}},"_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo/pulls/28283"},"html":{"href":"https://github.com/odoo/odoo/pull/28283"},"issue":{"href":"https://api.github.com/repos/odoo/odoo/issues/28283"},"comments":{"href":"https://api.github.com/repos/odoo/odoo/issues/28283/comments"},"review_comments":{"href":"https://api.github.com/repos/odoo/odoo/pulls/28283/comments"},"review_comment":{"href":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/odoo/odoo/pulls/28283/commits"},"statuses":{"href":"https://api.github.com/repos/odoo/odoo/statuses/0b5aa57e644ea6dbd1b096f03225df8659128f0c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jem-odoo"}}