{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/reporting-engine/pulls/comments/44015414","id":44015414,"diff_hunk":"@@ -0,0 +1,74 @@\n+.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg\n+   :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n+   :alt: License: AGPL-3\n+\n+=========================\n+Report Element Visibility\n+=========================\n+\n+This module allows you to add 2 elements in QWEB reports:\n+ - not-firt-page: Shows element in every page but first\n+ - not-last-page: Shows element in every page but last\n+\n+Usage\n+=====\n+\n+To use this module, you need to:\n+\n+Install the module, then in the QWEB ``ir.ui.views`` used by your\n+report, you can add an element with css class with not-first-page or not-last-page.\n+For exemple if i need to improve invoice report header with\n+invoice's number in every page but first, and sale order report header \n+with order's name in every page but last, i'll add this code to external_layout_header::","path":"report_element_visibility/README.rst","position":22,"original_position":22,"commit_id":"6d6e9a05279ccb42964f29384c5ff5727ed0a942","original_commit_id":"6d6e9a05279ccb42964f29384c5ff5727ed0a942","user":{"login":"pedrobaeza","id":7165771,"avatar_url":"https://avatars.githubusercontent.com/u/7165771?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrobaeza","html_url":"https://github.com/pedrobaeza","followers_url":"https://api.github.com/users/pedrobaeza/followers","following_url":"https://api.github.com/users/pedrobaeza/following{/other_user}","gists_url":"https://api.github.com/users/pedrobaeza/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrobaeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrobaeza/subscriptions","organizations_url":"https://api.github.com/users/pedrobaeza/orgs","repos_url":"https://api.github.com/users/pedrobaeza/repos","events_url":"https://api.github.com/users/pedrobaeza/events{/privacy}","received_events_url":"https://api.github.com/users/pedrobaeza/received_events","type":"User","site_admin":false},"body":"s/i'll add/add","created_at":"2015-11-05T14:18:31Z","updated_at":"2015-11-05T14:18:31Z","html_url":"https://github.com/OCA/reporting-engine/pull/28#discussion_r44015414","pull_request_url":"https://api.github.com/repos/OCA/reporting-engine/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/OCA/reporting-engine/pulls/comments/44015414"},"html":{"href":"https://github.com/OCA/reporting-engine/pull/28#discussion_r44015414"},"pull_request":{"href":"https://api.github.com/repos/OCA/reporting-engine/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/reporting-engine/pulls/28","id":49794753,"html_url":"https://github.com/OCA/reporting-engine/pull/28","diff_url":"https://github.com/OCA/reporting-engine/pull/28.diff","patch_url":"https://github.com/OCA/reporting-engine/pull/28.patch","issue_url":"https://api.github.com/repos/OCA/reporting-engine/issues/28","number":28,"state":"open","locked":false,"title":"Add Module report_element_visibility","user":{"login":"hurrinico","id":7517867,"avatar_url":"https://avatars.githubusercontent.com/u/7517867?v=3","gravatar_id":"","url":"https://api.github.com/users/hurrinico","html_url":"https://github.com/hurrinico","followers_url":"https://api.github.com/users/hurrinico/followers","following_url":"https://api.github.com/users/hurrinico/following{/other_user}","gists_url":"https://api.github.com/users/hurrinico/gists{/gist_id}","starred_url":"https://api.github.com/users/hurrinico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hurrinico/subscriptions","organizations_url":"https://api.github.com/users/hurrinico/orgs","repos_url":"https://api.github.com/users/hurrinico/repos","events_url":"https://api.github.com/users/hurrinico/events{/privacy}","received_events_url":"https://api.github.com/users/hurrinico/received_events","type":"User","site_admin":false},"body":"Adds new Module Report Element Visibility\r\nUse Case:\r\nI have an invoice with a huge number of lines, if i print the report i'll have a printing of many pages. In this case i may need to have on print's header the invoice's number in all the pages but first (because in first page invoice's number is already in). In this module i've created two new classes \"not-first-page\" and \"not-last-page\" to solve this issue.","created_at":"2015-11-05T08:30:24Z","updated_at":"2015-11-05T14:18:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"988819efaa431062990f9f6d384b7de8076bb45e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/reporting-engine/pulls/28/commits","review_comments_url":"https://api.github.com/repos/OCA/reporting-engine/pulls/28/comments","review_comment_url":"https://api.github.com/repos/OCA/reporting-engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/reporting-engine/issues/28/comments","statuses_url":"https://api.github.com/repos/OCA/reporting-engine/statuses/6d6e9a05279ccb42964f29384c5ff5727ed0a942","head":{"label":"hurrinico:extend_report","ref":"extend_report","sha":"6d6e9a05279ccb42964f29384c5ff5727ed0a942","user":{"login":"hurrinico","id":7517867,"avatar_url":"https://avatars.githubusercontent.com/u/7517867?v=3","gravatar_id":"","url":"https://api.github.com/users/hurrinico","html_url":"https://github.com/hurrinico","followers_url":"https://api.github.com/users/hurrinico/followers","following_url":"https://api.github.com/users/hurrinico/following{/other_user}","gists_url":"https://api.github.com/users/hurrinico/gists{/gist_id}","starred_url":"https://api.github.com/users/hurrinico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hurrinico/subscriptions","organizations_url":"https://api.github.com/users/hurrinico/orgs","repos_url":"https://api.github.com/users/hurrinico/repos","events_url":"https://api.github.com/users/hurrinico/events{/privacy}","received_events_url":"https://api.github.com/users/hurrinico/received_events","type":"User","site_admin":false},"repo":{"id":44970986,"name":"reporting-engine","full_name":"hurrinico/reporting-engine","owner":{"login":"hurrinico","id":7517867,"avatar_url":"https://avatars.githubusercontent.com/u/7517867?v=3","gravatar_id":"","url":"https://api.github.com/users/hurrinico","html_url":"https://github.com/hurrinico","followers_url":"https://api.github.com/users/hurrinico/followers","following_url":"https://api.github.com/users/hurrinico/following{/other_user}","gists_url":"https://api.github.com/users/hurrinico/gists{/gist_id}","starred_url":"https://api.github.com/users/hurrinico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hurrinico/subscriptions","organizations_url":"https://api.github.com/users/hurrinico/orgs","repos_url":"https://api.github.com/users/hurrinico/repos","events_url":"https://api.github.com/users/hurrinico/events{/privacy}","received_events_url":"https://api.github.com/users/hurrinico/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hurrinico/reporting-engine","description":"Odoo Alternative Reporting Engine","fork":true,"url":"https://api.github.com/repos/hurrinico/reporting-engine","forks_url":"https://api.github.com/repos/hurrinico/reporting-engine/forks","keys_url":"https://api.github.com/repos/hurrinico/reporting-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hurrinico/reporting-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hurrinico/reporting-engine/teams","hooks_url":"https://api.github.com/repos/hurrinico/reporting-engine/hooks","issue_events_url":"https://api.github.com/repos/hurrinico/reporting-engine/issues/events{/number}","events_url":"https://api.github.com/repos/hurrinico/reporting-engine/events","assignees_url":"https://api.github.com/repos/hurrinico/reporting-engine/assignees{/user}","branches_url":"https://api.github.com/repos/hurrinico/reporting-engine/branches{/branch}","tags_url":"https://api.github.com/repos/hurrinico/reporting-engine/tags","blobs_url":"https://api.github.com/repos/hurrinico/reporting-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hurrinico/reporting-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hurrinico/reporting-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/hurrinico/reporting-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hurrinico/reporting-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/hurrinico/reporting-engine/languages","stargazers_url":"https://api.github.com/repos/hurrinico/reporting-engine/stargazers","contributors_url":"https://api.github.com/repos/hurrinico/reporting-engine/contributors","subscribers_url":"https://api.github.com/repos/hurrinico/reporting-engine/subscribers","subscription_url":"https://api.github.com/repos/hurrinico/reporting-engine/subscription","commits_url":"https://api.github.com/repos/hurrinico/reporting-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/hurrinico/reporting-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/hurrinico/reporting-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/hurrinico/reporting-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/hurrinico/reporting-engine/contents/{+path}","compare_url":"https://api.github.com/repos/hurrinico/reporting-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hurrinico/reporting-engine/merges","archive_url":"https://api.github.com/repos/hurrinico/reporting-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hurrinico/reporting-engine/downloads","issues_url":"https://api.github.com/repos/hurrinico/reporting-engine/issues{/number}","pulls_url":"https://api.github.com/repos/hurrinico/reporting-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/hurrinico/reporting-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/hurrinico/reporting-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hurrinico/reporting-engine/labels{/name}","releases_url":"https://api.github.com/repos/hurrinico/reporting-engine/releases{/id}","created_at":"2015-10-26T13:43:37Z","updated_at":"2015-10-26T13:43:38Z","pushed_at":"2015-11-05T09:20:05Z","git_url":"git://github.com/hurrinico/reporting-engine.git","ssh_url":"git@github.com:hurrinico/reporting-engine.git","clone_url":"https://github.com/hurrinico/reporting-engine.git","svn_url":"https://github.com/hurrinico/reporting-engine","homepage":"","size":246,"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":"9.0"}},"base":{"label":"OCA:8.0","ref":"8.0","sha":"03d0839be5fc488040a42b523d8d5c5fb1c331e2","user":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"repo":{"id":20992391,"name":"reporting-engine","full_name":"OCA/reporting-engine","owner":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OCA/reporting-engine","description":"Odoo Alternative Reporting Engine","fork":false,"url":"https://api.github.com/repos/OCA/reporting-engine","forks_url":"https://api.github.com/repos/OCA/reporting-engine/forks","keys_url":"https://api.github.com/repos/OCA/reporting-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/reporting-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/reporting-engine/teams","hooks_url":"https://api.github.com/repos/OCA/reporting-engine/hooks","issue_events_url":"https://api.github.com/repos/OCA/reporting-engine/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/reporting-engine/events","assignees_url":"https://api.github.com/repos/OCA/reporting-engine/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/reporting-engine/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/reporting-engine/tags","blobs_url":"https://api.github.com/repos/OCA/reporting-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/reporting-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/reporting-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/reporting-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/reporting-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/reporting-engine/languages","stargazers_url":"https://api.github.com/repos/OCA/reporting-engine/stargazers","contributors_url":"https://api.github.com/repos/OCA/reporting-engine/contributors","subscribers_url":"https://api.github.com/repos/OCA/reporting-engine/subscribers","subscription_url":"https://api.github.com/repos/OCA/reporting-engine/subscription","commits_url":"https://api.github.com/repos/OCA/reporting-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/reporting-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/reporting-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/reporting-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/reporting-engine/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/reporting-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/reporting-engine/merges","archive_url":"https://api.github.com/repos/OCA/reporting-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/reporting-engine/downloads","issues_url":"https://api.github.com/repos/OCA/reporting-engine/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/reporting-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/reporting-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/reporting-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/reporting-engine/labels{/name}","releases_url":"https://api.github.com/repos/OCA/reporting-engine/releases{/id}","created_at":"2014-06-19T07:53:41Z","updated_at":"2015-10-05T05:44:07Z","pushed_at":"2015-11-05T09:20:07Z","git_url":"git://github.com/OCA/reporting-engine.git","ssh_url":"git@github.com:OCA/reporting-engine.git","clone_url":"https://github.com/OCA/reporting-engine.git","svn_url":"https://github.com/OCA/reporting-engine","homepage":"","size":733,"stargazers_count":15,"watchers_count":15,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":10,"forks":48,"open_issues":10,"watchers":15,"default_branch":"9.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/reporting-engine/pulls/28"},"html":{"href":"https://github.com/OCA/reporting-engine/pull/28"},"issue":{"href":"https://api.github.com/repos/OCA/reporting-engine/issues/28"},"comments":{"href":"https://api.github.com/repos/OCA/reporting-engine/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/reporting-engine/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/reporting-engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/reporting-engine/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/reporting-engine/statuses/6d6e9a05279ccb42964f29384c5ff5727ed0a942"}}}}