{"action":"closed","number":52,"pull_request":{"url":"https://api.github.com/repos/gisce/enerdata/pulls/52","id":62030370,"html_url":"https://github.com/gisce/enerdata/pull/52","diff_url":"https://github.com/gisce/enerdata/pull/52.diff","patch_url":"https://github.com/gisce/enerdata/pull/52.patch","issue_url":"https://api.github.com/repos/gisce/enerdata/issues/52","number":52,"state":"closed","locked":false,"title":"FIX Adjust per period","user":{"login":"totaler","id":894941,"avatar_url":"https://avatars.githubusercontent.com/u/894941?v=3","gravatar_id":"","url":"https://api.github.com/users/totaler","html_url":"https://github.com/totaler","followers_url":"https://api.github.com/users/totaler/followers","following_url":"https://api.github.com/users/totaler/following{/other_user}","gists_url":"https://api.github.com/users/totaler/gists{/gist_id}","starred_url":"https://api.github.com/users/totaler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totaler/subscriptions","organizations_url":"https://api.github.com/users/totaler/orgs","repos_url":"https://api.github.com/users/totaler/repos","events_url":"https://api.github.com/users/totaler/events{/privacy}","received_events_url":"https://api.github.com/users/totaler/received_events","type":"User","site_admin":false},"body":"Adjusting was not done by period but per total consumption. Following point 4.6 from procedure 10.12 must be done by period and +/-1kWh comparison must also be done by period.\r\n\r\nThere is also a problem when adjusting but i do not exactly know how to do it. When a period must be adjusted all the hours must be marked as ```kind_fact = 3```. By now it is done comparing if the original value is equal to the adjusted one, and this is not correct. Enerdata should mark someway the adjusted hours, so the erp knows it has been adjusted, independent from the value obtained when adjusting.\r\n\r\n","created_at":"2016-03-08T06:28:50Z","updated_at":"2016-03-29T12:51:54Z","closed_at":"2016-03-29T12:51:54Z","merged_at":"2016-03-29T12:51:54Z","merge_commit_sha":"aaf0a5f9d3fa764233c408a6e63018be83d5bd20","assignee":{"login":"totaler","id":894941,"avatar_url":"https://avatars.githubusercontent.com/u/894941?v=3","gravatar_id":"","url":"https://api.github.com/users/totaler","html_url":"https://github.com/totaler","followers_url":"https://api.github.com/users/totaler/followers","following_url":"https://api.github.com/users/totaler/following{/other_user}","gists_url":"https://api.github.com/users/totaler/gists{/gist_id}","starred_url":"https://api.github.com/users/totaler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totaler/subscriptions","organizations_url":"https://api.github.com/users/totaler/orgs","repos_url":"https://api.github.com/users/totaler/repos","events_url":"https://api.github.com/users/totaler/events{/privacy}","received_events_url":"https://api.github.com/users/totaler/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/gisce/enerdata/pulls/52/commits","review_comments_url":"https://api.github.com/repos/gisce/enerdata/pulls/52/comments","review_comment_url":"https://api.github.com/repos/gisce/enerdata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gisce/enerdata/issues/52/comments","statuses_url":"https://api.github.com/repos/gisce/enerdata/statuses/aaf0a5f9d3fa764233c408a6e63018be83d5bd20","head":{"label":"totaler:fix_adjust_period","ref":"fix_adjust_period","sha":"aaf0a5f9d3fa764233c408a6e63018be83d5bd20","user":{"login":"totaler","id":894941,"avatar_url":"https://avatars.githubusercontent.com/u/894941?v=3","gravatar_id":"","url":"https://api.github.com/users/totaler","html_url":"https://github.com/totaler","followers_url":"https://api.github.com/users/totaler/followers","following_url":"https://api.github.com/users/totaler/following{/other_user}","gists_url":"https://api.github.com/users/totaler/gists{/gist_id}","starred_url":"https://api.github.com/users/totaler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totaler/subscriptions","organizations_url":"https://api.github.com/users/totaler/orgs","repos_url":"https://api.github.com/users/totaler/repos","events_url":"https://api.github.com/users/totaler/events{/privacy}","received_events_url":"https://api.github.com/users/totaler/received_events","type":"User","site_admin":false},"repo":{"id":52358444,"name":"enerdata","full_name":"totaler/enerdata","owner":{"login":"totaler","id":894941,"avatar_url":"https://avatars.githubusercontent.com/u/894941?v=3","gravatar_id":"","url":"https://api.github.com/users/totaler","html_url":"https://github.com/totaler","followers_url":"https://api.github.com/users/totaler/followers","following_url":"https://api.github.com/users/totaler/following{/other_user}","gists_url":"https://api.github.com/users/totaler/gists{/gist_id}","starred_url":"https://api.github.com/users/totaler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totaler/subscriptions","organizations_url":"https://api.github.com/users/totaler/orgs","repos_url":"https://api.github.com/users/totaler/repos","events_url":"https://api.github.com/users/totaler/events{/privacy}","received_events_url":"https://api.github.com/users/totaler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/totaler/enerdata","description":"Energy models","fork":true,"url":"https://api.github.com/repos/totaler/enerdata","forks_url":"https://api.github.com/repos/totaler/enerdata/forks","keys_url":"https://api.github.com/repos/totaler/enerdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/totaler/enerdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/totaler/enerdata/teams","hooks_url":"https://api.github.com/repos/totaler/enerdata/hooks","issue_events_url":"https://api.github.com/repos/totaler/enerdata/issues/events{/number}","events_url":"https://api.github.com/repos/totaler/enerdata/events","assignees_url":"https://api.github.com/repos/totaler/enerdata/assignees{/user}","branches_url":"https://api.github.com/repos/totaler/enerdata/branches{/branch}","tags_url":"https://api.github.com/repos/totaler/enerdata/tags","blobs_url":"https://api.github.com/repos/totaler/enerdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/totaler/enerdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/totaler/enerdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/totaler/enerdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/totaler/enerdata/statuses/{sha}","languages_url":"https://api.github.com/repos/totaler/enerdata/languages","stargazers_url":"https://api.github.com/repos/totaler/enerdata/stargazers","contributors_url":"https://api.github.com/repos/totaler/enerdata/contributors","subscribers_url":"https://api.github.com/repos/totaler/enerdata/subscribers","subscription_url":"https://api.github.com/repos/totaler/enerdata/subscription","commits_url":"https://api.github.com/repos/totaler/enerdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/totaler/enerdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/totaler/enerdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/totaler/enerdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/totaler/enerdata/contents/{+path}","compare_url":"https://api.github.com/repos/totaler/enerdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/totaler/enerdata/merges","archive_url":"https://api.github.com/repos/totaler/enerdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/totaler/enerdata/downloads","issues_url":"https://api.github.com/repos/totaler/enerdata/issues{/number}","pulls_url":"https://api.github.com/repos/totaler/enerdata/pulls{/number}","milestones_url":"https://api.github.com/repos/totaler/enerdata/milestones{/number}","notifications_url":"https://api.github.com/repos/totaler/enerdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/totaler/enerdata/labels{/name}","releases_url":"https://api.github.com/repos/totaler/enerdata/releases{/id}","deployments_url":"https://api.github.com/repos/totaler/enerdata/deployments","created_at":"2016-02-23T12:48:34Z","updated_at":"2016-02-23T12:48:34Z","pushed_at":"2016-03-14T13:04:01Z","git_url":"git://github.com/totaler/enerdata.git","ssh_url":"git@github.com:totaler/enerdata.git","clone_url":"https://github.com/totaler/enerdata.git","svn_url":"https://github.com/totaler/enerdata","homepage":null,"size":114,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gisce:master","ref":"master","sha":"12deddd6d10ddac484b1909f728871a7b1e814e0","user":{"login":"gisce","id":531634,"avatar_url":"https://avatars.githubusercontent.com/u/531634?v=3","gravatar_id":"","url":"https://api.github.com/users/gisce","html_url":"https://github.com/gisce","followers_url":"https://api.github.com/users/gisce/followers","following_url":"https://api.github.com/users/gisce/following{/other_user}","gists_url":"https://api.github.com/users/gisce/gists{/gist_id}","starred_url":"https://api.github.com/users/gisce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gisce/subscriptions","organizations_url":"https://api.github.com/users/gisce/orgs","repos_url":"https://api.github.com/users/gisce/repos","events_url":"https://api.github.com/users/gisce/events{/privacy}","received_events_url":"https://api.github.com/users/gisce/received_events","type":"Organization","site_admin":false},"repo":{"id":28175335,"name":"enerdata","full_name":"gisce/enerdata","owner":{"login":"gisce","id":531634,"avatar_url":"https://avatars.githubusercontent.com/u/531634?v=3","gravatar_id":"","url":"https://api.github.com/users/gisce","html_url":"https://github.com/gisce","followers_url":"https://api.github.com/users/gisce/followers","following_url":"https://api.github.com/users/gisce/following{/other_user}","gists_url":"https://api.github.com/users/gisce/gists{/gist_id}","starred_url":"https://api.github.com/users/gisce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gisce/subscriptions","organizations_url":"https://api.github.com/users/gisce/orgs","repos_url":"https://api.github.com/users/gisce/repos","events_url":"https://api.github.com/users/gisce/events{/privacy}","received_events_url":"https://api.github.com/users/gisce/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gisce/enerdata","description":"Energy models","fork":false,"url":"https://api.github.com/repos/gisce/enerdata","forks_url":"https://api.github.com/repos/gisce/enerdata/forks","keys_url":"https://api.github.com/repos/gisce/enerdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gisce/enerdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gisce/enerdata/teams","hooks_url":"https://api.github.com/repos/gisce/enerdata/hooks","issue_events_url":"https://api.github.com/repos/gisce/enerdata/issues/events{/number}","events_url":"https://api.github.com/repos/gisce/enerdata/events","assignees_url":"https://api.github.com/repos/gisce/enerdata/assignees{/user}","branches_url":"https://api.github.com/repos/gisce/enerdata/branches{/branch}","tags_url":"https://api.github.com/repos/gisce/enerdata/tags","blobs_url":"https://api.github.com/repos/gisce/enerdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gisce/enerdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gisce/enerdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/gisce/enerdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gisce/enerdata/statuses/{sha}","languages_url":"https://api.github.com/repos/gisce/enerdata/languages","stargazers_url":"https://api.github.com/repos/gisce/enerdata/stargazers","contributors_url":"https://api.github.com/repos/gisce/enerdata/contributors","subscribers_url":"https://api.github.com/repos/gisce/enerdata/subscribers","subscription_url":"https://api.github.com/repos/gisce/enerdata/subscription","commits_url":"https://api.github.com/repos/gisce/enerdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/gisce/enerdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/gisce/enerdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/gisce/enerdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/gisce/enerdata/contents/{+path}","compare_url":"https://api.github.com/repos/gisce/enerdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gisce/enerdata/merges","archive_url":"https://api.github.com/repos/gisce/enerdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gisce/enerdata/downloads","issues_url":"https://api.github.com/repos/gisce/enerdata/issues{/number}","pulls_url":"https://api.github.com/repos/gisce/enerdata/pulls{/number}","milestones_url":"https://api.github.com/repos/gisce/enerdata/milestones{/number}","notifications_url":"https://api.github.com/repos/gisce/enerdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gisce/enerdata/labels{/name}","releases_url":"https://api.github.com/repos/gisce/enerdata/releases{/id}","deployments_url":"https://api.github.com/repos/gisce/enerdata/deployments","created_at":"2014-12-18T08:42:29Z","updated_at":"2016-02-24T16:57:31Z","pushed_at":"2016-03-29T12:51:53Z","git_url":"git://github.com/gisce/enerdata.git","ssh_url":"git@github.com:gisce/enerdata.git","clone_url":"https://github.com/gisce/enerdata.git","svn_url":"https://github.com/gisce/enerdata","homepage":null,"size":119,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gisce/enerdata/pulls/52"},"html":{"href":"https://github.com/gisce/enerdata/pull/52"},"issue":{"href":"https://api.github.com/repos/gisce/enerdata/issues/52"},"comments":{"href":"https://api.github.com/repos/gisce/enerdata/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/gisce/enerdata/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/gisce/enerdata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gisce/enerdata/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/gisce/enerdata/statuses/aaf0a5f9d3fa764233c408a6e63018be83d5bd20"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ecarreras","id":294235,"avatar_url":"https://avatars.githubusercontent.com/u/294235?v=3","gravatar_id":"","url":"https://api.github.com/users/ecarreras","html_url":"https://github.com/ecarreras","followers_url":"https://api.github.com/users/ecarreras/followers","following_url":"https://api.github.com/users/ecarreras/following{/other_user}","gists_url":"https://api.github.com/users/ecarreras/gists{/gist_id}","starred_url":"https://api.github.com/users/ecarreras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecarreras/subscriptions","organizations_url":"https://api.github.com/users/ecarreras/orgs","repos_url":"https://api.github.com/users/ecarreras/repos","events_url":"https://api.github.com/users/ecarreras/events{/privacy}","received_events_url":"https://api.github.com/users/ecarreras/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":20,"deletions":15,"changed_files":1}}