{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/24243","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/24243/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/24243/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/24243/events","html_url":"https://github.com/odoo/odoo/pull/24243","id":314485332,"number":24243,"title":"More grouping features","user":{"login":"yelizariev","id":186131,"avatar_url":"https://avatars0.githubusercontent.com/u/186131?v=4","gravatar_id":"","url":"https://api.github.com/users/yelizariev","html_url":"https://github.com/yelizariev","followers_url":"https://api.github.com/users/yelizariev/followers","following_url":"https://api.github.com/users/yelizariev/following{/other_user}","gists_url":"https://api.github.com/users/yelizariev/gists{/gist_id}","starred_url":"https://api.github.com/users/yelizariev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yelizariev/subscriptions","organizations_url":"https://api.github.com/users/yelizariev/orgs","repos_url":"https://api.github.com/users/yelizariev/repos","events_url":"https://api.github.com/users/yelizariev/events{/privacy}","received_events_url":"https://api.github.com/users/yelizariev/received_events","type":"User","site_admin":false},"labels":[{"id":102325678,"url":"https://api.github.com/repos/odoo/odoo/labels/Blocked","name":"Blocked","color":"FF0000","default":false}],"state":"open","locked":false,"assignee":{"login":"ged-odoo","id":7579538,"avatar_url":"https://avatars2.githubusercontent.com/u/7579538?v=4","gravatar_id":"","url":"https://api.github.com/users/ged-odoo","html_url":"https://github.com/ged-odoo","followers_url":"https://api.github.com/users/ged-odoo/followers","following_url":"https://api.github.com/users/ged-odoo/following{/other_user}","gists_url":"https://api.github.com/users/ged-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/ged-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ged-odoo/subscriptions","organizations_url":"https://api.github.com/users/ged-odoo/orgs","repos_url":"https://api.github.com/users/ged-odoo/repos","events_url":"https://api.github.com/users/ged-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/ged-odoo/received_events","type":"User","site_admin":false},"assignees":[{"login":"ged-odoo","id":7579538,"avatar_url":"https://avatars2.githubusercontent.com/u/7579538?v=4","gravatar_id":"","url":"https://api.github.com/users/ged-odoo","html_url":"https://github.com/ged-odoo","followers_url":"https://api.github.com/users/ged-odoo/followers","following_url":"https://api.github.com/users/ged-odoo/following{/other_user}","gists_url":"https://api.github.com/users/ged-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/ged-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ged-odoo/subscriptions","organizations_url":"https://api.github.com/users/ged-odoo/orgs","repos_url":"https://api.github.com/users/ged-odoo/repos","events_url":"https://api.github.com/users/ged-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/ged-odoo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-04-16T03:02:50Z","updated_at":"2018-04-17T00:26:33Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/24243","html_url":"https://github.com/odoo/odoo/pull/24243","diff_url":"https://github.com/odoo/odoo/pull/24243.diff","patch_url":"https://github.com/odoo/odoo/pull/24243.patch"},"body":"**New type of grouping.** \r\n\r\nFor example ``date:only_hour`` -- group by one of 24 value. Allows to analyze which hour of a day has most sales. Other examples:\r\n\r\n                  * 'date:only_hour' -- group by every hour of a day (one of 24 values) \r\n                  * 'date:only_hour_15minute' -- group by every 15 min of a day (one of 24*4 values)\r\n                  * 'date:only_dow' -- group by day of a week (one of 7 values)\r\n                  * 'date:only_dow_hour' -- group by hour of each day of a week (one of 7*24 values)\r\n                  * 'date:only_doy' -- group by day of a year (one of 365 values)\r\n\r\n**More flexible usual grouping**\r\n\r\nAllows to specify number in grouping, e.g. ``date:2month`` -- group by 2 monthes (Jan-Feb, Mar-Apr, etc.)\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"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/381791016","html_url":"https://github.com/odoo/odoo/pull/24243#issuecomment-381791016","issue_url":"https://api.github.com/repos/odoo/odoo/issues/24243","id":381791016,"user":{"login":"yelizariev","id":186131,"avatar_url":"https://avatars0.githubusercontent.com/u/186131?v=4","gravatar_id":"","url":"https://api.github.com/users/yelizariev","html_url":"https://github.com/yelizariev","followers_url":"https://api.github.com/users/yelizariev/followers","following_url":"https://api.github.com/users/yelizariev/following{/other_user}","gists_url":"https://api.github.com/users/yelizariev/gists{/gist_id}","starred_url":"https://api.github.com/users/yelizariev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yelizariev/subscriptions","organizations_url":"https://api.github.com/users/yelizariev/orgs","repos_url":"https://api.github.com/users/yelizariev/repos","events_url":"https://api.github.com/users/yelizariev/events{/privacy}","received_events_url":"https://api.github.com/users/yelizariev/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T00:26:33Z","updated_at":"2018-04-17T00:26:33Z","author_association":"CONTRIBUTOR","body":"If there is an alternative approach, I hope it would not require making methods in python files of custom modules, because otherwise, we cannot make grouping via Odoo UI (including Odoo Studio)"}}
{"actor":{"display_login":"yelizariev"}}