{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/Vauxoo/purchase/pulls/6","id":86771736,"html_url":"https://github.com/Vauxoo/purchase/pull/6","diff_url":"https://github.com/Vauxoo/purchase/pull/6.diff","patch_url":"https://github.com/Vauxoo/purchase/pull/6.patch","issue_url":"https://api.github.com/repos/Vauxoo/purchase/issues/6","number":6,"state":"closed","locked":false,"title":"[REF] purchase_console: Define a new controller in order to handle the website actions and Allow editing cells values","user":{"login":"hugho-ad","id":10233975,"avatar_url":"https://avatars.githubusercontent.com/u/10233975?v=3","gravatar_id":"","url":"https://api.github.com/users/hugho-ad","html_url":"https://github.com/hugho-ad","followers_url":"https://api.github.com/users/hugho-ad/followers","following_url":"https://api.github.com/users/hugho-ad/following{/other_user}","gists_url":"https://api.github.com/users/hugho-ad/gists{/gist_id}","starred_url":"https://api.github.com/users/hugho-ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugho-ad/subscriptions","organizations_url":"https://api.github.com/users/hugho-ad/orgs","repos_url":"https://api.github.com/users/hugho-ad/repos","events_url":"https://api.github.com/users/hugho-ad/events{/privacy}","received_events_url":"https://api.github.com/users/hugho-ad/received_events","type":"User","site_admin":false},"body":"DUMMY BUILD\r\nhttps://github.com/Vauxoo/yoytec/pull/2001\r\n\r\nAdded double click event to table rows in order to allow edition cell values\r\n\r\n![image](https://cloud.githubusercontent.com/assets/10233975/18855565/7989b65c-8419-11e6-8959-c9b572bdd228.png)\r\n\r\n- controllers/main.py:\r\n  Define a new controller in order to handle the website actions:\r\n    Procure: 'procure_products_from_suppliers',\r\n    Send RFQ: 'sent_suppliers',\r\n    Open Bid: 'open_bid',\r\n    Generate PO: 'generate_po',\r\n    Cancel all: 'cancel_requisition'\r\n\r\n- static/css/console.css\r\n  Added some styles in order to display a loading overlay while\r\n  asynchronous request is done\r\n\r\n- static/js/console_frontend.js\r\n  Bind event listener for action buttons\r\n\r\n- static/js/web_widget_one2many_console.js\r\n  Remove unnecessary overwriting of init method\r\n\r\n- static/xml/web_widget_one2many_console.xml\r\n  Removed log statement.\r\n\r\n- views/layout.xml\r\n  Added missing elements to match the table rows in backend\r\n\r\n- views/purchase_requisition_view.xml\r\n  Define a new Form view for ´purchase.requisition.line´ model\r\n  and remove the attribute editable='bottom'\r\n  until the editable widget one2many_columns is done.\r\n\r\n- Now the action buttons are dynamically hide\r\n\r\n- Depending on the qty of partners in the header, all lines will be set to the same width, this will make that we save space on the layout.\r\n- Migrate css stylish to less file in order to separate the front end and backend styles\r\n - Fix the width of the cells inputs when editing the value\r\n - Disable enter the interval 48 to 57 eventes in the input in order to allow only numbers and dot into cell values\r\n- Refactory _get_po_line method to avoid search inside a for loop instead of make a filter in po_lines","created_at":"2016-09-26T16:06:55Z","updated_at":"2016-09-27T17:15:26Z","closed_at":"2016-09-27T17:15:26Z","merged_at":"2016-09-27T17:15:26Z","merge_commit_sha":"7f757ca551a7bc00e0d2b687595325778acce17d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Vauxoo/purchase/pulls/6/commits","review_comments_url":"https://api.github.com/repos/Vauxoo/purchase/pulls/6/comments","review_comment_url":"https://api.github.com/repos/Vauxoo/purchase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Vauxoo/purchase/issues/6/comments","statuses_url":"https://api.github.com/repos/Vauxoo/purchase/statuses/510613563e89904a4906ecc36dfec31cbf5473e3","head":{"label":"vauxoo-dev:8.0-purchase_console-front-end-dev-hugho-ad","ref":"8.0-purchase_console-front-end-dev-hugho-ad","sha":"510613563e89904a4906ecc36dfec31cbf5473e3","user":{"login":"vauxoo-dev","id":7662790,"avatar_url":"https://avatars.githubusercontent.com/u/7662790?v=3","gravatar_id":"","url":"https://api.github.com/users/vauxoo-dev","html_url":"https://github.com/vauxoo-dev","followers_url":"https://api.github.com/users/vauxoo-dev/followers","following_url":"https://api.github.com/users/vauxoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/vauxoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/vauxoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vauxoo-dev/subscriptions","organizations_url":"https://api.github.com/users/vauxoo-dev/orgs","repos_url":"https://api.github.com/users/vauxoo-dev/repos","events_url":"https://api.github.com/users/vauxoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/vauxoo-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":60147690,"name":"purchase","full_name":"vauxoo-dev/purchase","owner":{"login":"vauxoo-dev","id":7662790,"avatar_url":"https://avatars.githubusercontent.com/u/7662790?v=3","gravatar_id":"","url":"https://api.github.com/users/vauxoo-dev","html_url":"https://github.com/vauxoo-dev","followers_url":"https://api.github.com/users/vauxoo-dev/followers","following_url":"https://api.github.com/users/vauxoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/vauxoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/vauxoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vauxoo-dev/subscriptions","organizations_url":"https://api.github.com/users/vauxoo-dev/orgs","repos_url":"https://api.github.com/users/vauxoo-dev/repos","events_url":"https://api.github.com/users/vauxoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/vauxoo-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vauxoo-dev/purchase","description":"Advanced purchase modules managed in Vauxoo","fork":true,"url":"https://api.github.com/repos/vauxoo-dev/purchase","forks_url":"https://api.github.com/repos/vauxoo-dev/purchase/forks","keys_url":"https://api.github.com/repos/vauxoo-dev/purchase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vauxoo-dev/purchase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vauxoo-dev/purchase/teams","hooks_url":"https://api.github.com/repos/vauxoo-dev/purchase/hooks","issue_events_url":"https://api.github.com/repos/vauxoo-dev/purchase/issues/events{/number}","events_url":"https://api.github.com/repos/vauxoo-dev/purchase/events","assignees_url":"https://api.github.com/repos/vauxoo-dev/purchase/assignees{/user}","branches_url":"https://api.github.com/repos/vauxoo-dev/purchase/branches{/branch}","tags_url":"https://api.github.com/repos/vauxoo-dev/purchase/tags","blobs_url":"https://api.github.com/repos/vauxoo-dev/purchase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vauxoo-dev/purchase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vauxoo-dev/purchase/git/refs{/sha}","trees_url":"https://api.github.com/repos/vauxoo-dev/purchase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vauxoo-dev/purchase/statuses/{sha}","languages_url":"https://api.github.com/repos/vauxoo-dev/purchase/languages","stargazers_url":"https://api.github.com/repos/vauxoo-dev/purchase/stargazers","contributors_url":"https://api.github.com/repos/vauxoo-dev/purchase/contributors","subscribers_url":"https://api.github.com/repos/vauxoo-dev/purchase/subscribers","subscription_url":"https://api.github.com/repos/vauxoo-dev/purchase/subscription","commits_url":"https://api.github.com/repos/vauxoo-dev/purchase/commits{/sha}","git_commits_url":"https://api.github.com/repos/vauxoo-dev/purchase/git/commits{/sha}","comments_url":"https://api.github.com/repos/vauxoo-dev/purchase/comments{/number}","issue_comment_url":"https://api.github.com/repos/vauxoo-dev/purchase/issues/comments{/number}","contents_url":"https://api.github.com/repos/vauxoo-dev/purchase/contents/{+path}","compare_url":"https://api.github.com/repos/vauxoo-dev/purchase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vauxoo-dev/purchase/merges","archive_url":"https://api.github.com/repos/vauxoo-dev/purchase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vauxoo-dev/purchase/downloads","issues_url":"https://api.github.com/repos/vauxoo-dev/purchase/issues{/number}","pulls_url":"https://api.github.com/repos/vauxoo-dev/purchase/pulls{/number}","milestones_url":"https://api.github.com/repos/vauxoo-dev/purchase/milestones{/number}","notifications_url":"https://api.github.com/repos/vauxoo-dev/purchase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vauxoo-dev/purchase/labels{/name}","releases_url":"https://api.github.com/repos/vauxoo-dev/purchase/releases{/id}","deployments_url":"https://api.github.com/repos/vauxoo-dev/purchase/deployments","created_at":"2016-06-01T05:23:59Z","updated_at":"2016-06-01T05:24:00Z","pushed_at":"2016-09-27T15:26:39Z","git_url":"git://github.com/vauxoo-dev/purchase.git","ssh_url":"git@github.com:vauxoo-dev/purchase.git","clone_url":"https://github.com/vauxoo-dev/purchase.git","svn_url":"https://github.com/vauxoo-dev/purchase","homepage":"","size":169,"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":"8.0"}},"base":{"label":"Vauxoo:8.0","ref":"8.0","sha":"8dc3cda70d840585e7ee32e091b9289db7d24dd8","user":{"login":"Vauxoo","id":5997834,"avatar_url":"https://avatars.githubusercontent.com/u/5997834?v=3","gravatar_id":"","url":"https://api.github.com/users/Vauxoo","html_url":"https://github.com/Vauxoo","followers_url":"https://api.github.com/users/Vauxoo/followers","following_url":"https://api.github.com/users/Vauxoo/following{/other_user}","gists_url":"https://api.github.com/users/Vauxoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Vauxoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vauxoo/subscriptions","organizations_url":"https://api.github.com/users/Vauxoo/orgs","repos_url":"https://api.github.com/users/Vauxoo/repos","events_url":"https://api.github.com/users/Vauxoo/events{/privacy}","received_events_url":"https://api.github.com/users/Vauxoo/received_events","type":"Organization","site_admin":false},"repo":{"id":41460576,"name":"purchase","full_name":"Vauxoo/purchase","owner":{"login":"Vauxoo","id":5997834,"avatar_url":"https://avatars.githubusercontent.com/u/5997834?v=3","gravatar_id":"","url":"https://api.github.com/users/Vauxoo","html_url":"https://github.com/Vauxoo","followers_url":"https://api.github.com/users/Vauxoo/followers","following_url":"https://api.github.com/users/Vauxoo/following{/other_user}","gists_url":"https://api.github.com/users/Vauxoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Vauxoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vauxoo/subscriptions","organizations_url":"https://api.github.com/users/Vauxoo/orgs","repos_url":"https://api.github.com/users/Vauxoo/repos","events_url":"https://api.github.com/users/Vauxoo/events{/privacy}","received_events_url":"https://api.github.com/users/Vauxoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Vauxoo/purchase","description":"Advanced purchase modules managed in Vauxoo","fork":false,"url":"https://api.github.com/repos/Vauxoo/purchase","forks_url":"https://api.github.com/repos/Vauxoo/purchase/forks","keys_url":"https://api.github.com/repos/Vauxoo/purchase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vauxoo/purchase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vauxoo/purchase/teams","hooks_url":"https://api.github.com/repos/Vauxoo/purchase/hooks","issue_events_url":"https://api.github.com/repos/Vauxoo/purchase/issues/events{/number}","events_url":"https://api.github.com/repos/Vauxoo/purchase/events","assignees_url":"https://api.github.com/repos/Vauxoo/purchase/assignees{/user}","branches_url":"https://api.github.com/repos/Vauxoo/purchase/branches{/branch}","tags_url":"https://api.github.com/repos/Vauxoo/purchase/tags","blobs_url":"https://api.github.com/repos/Vauxoo/purchase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vauxoo/purchase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vauxoo/purchase/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vauxoo/purchase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vauxoo/purchase/statuses/{sha}","languages_url":"https://api.github.com/repos/Vauxoo/purchase/languages","stargazers_url":"https://api.github.com/repos/Vauxoo/purchase/stargazers","contributors_url":"https://api.github.com/repos/Vauxoo/purchase/contributors","subscribers_url":"https://api.github.com/repos/Vauxoo/purchase/subscribers","subscription_url":"https://api.github.com/repos/Vauxoo/purchase/subscription","commits_url":"https://api.github.com/repos/Vauxoo/purchase/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vauxoo/purchase/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vauxoo/purchase/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vauxoo/purchase/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vauxoo/purchase/contents/{+path}","compare_url":"https://api.github.com/repos/Vauxoo/purchase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vauxoo/purchase/merges","archive_url":"https://api.github.com/repos/Vauxoo/purchase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vauxoo/purchase/downloads","issues_url":"https://api.github.com/repos/Vauxoo/purchase/issues{/number}","pulls_url":"https://api.github.com/repos/Vauxoo/purchase/pulls{/number}","milestones_url":"https://api.github.com/repos/Vauxoo/purchase/milestones{/number}","notifications_url":"https://api.github.com/repos/Vauxoo/purchase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vauxoo/purchase/labels{/name}","releases_url":"https://api.github.com/repos/Vauxoo/purchase/releases{/id}","deployments_url":"https://api.github.com/repos/Vauxoo/purchase/deployments","created_at":"2015-08-27T02:13:02Z","updated_at":"2016-04-25T22:35:16Z","pushed_at":"2016-09-27T17:15:27Z","git_url":"git://github.com/Vauxoo/purchase.git","ssh_url":"git@github.com:Vauxoo/purchase.git","clone_url":"https://github.com/Vauxoo/purchase.git","svn_url":"https://github.com/Vauxoo/purchase","homepage":"","size":188,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":1,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/Vauxoo/purchase/pulls/6"},"html":{"href":"https://github.com/Vauxoo/purchase/pull/6"},"issue":{"href":"https://api.github.com/repos/Vauxoo/purchase/issues/6"},"comments":{"href":"https://api.github.com/repos/Vauxoo/purchase/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/Vauxoo/purchase/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/Vauxoo/purchase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Vauxoo/purchase/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/Vauxoo/purchase/statuses/510613563e89904a4906ecc36dfec31cbf5473e3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"moylop260","id":6644187,"avatar_url":"https://avatars.githubusercontent.com/u/6644187?v=3","gravatar_id":"","url":"https://api.github.com/users/moylop260","html_url":"https://github.com/moylop260","followers_url":"https://api.github.com/users/moylop260/followers","following_url":"https://api.github.com/users/moylop260/following{/other_user}","gists_url":"https://api.github.com/users/moylop260/gists{/gist_id}","starred_url":"https://api.github.com/users/moylop260/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moylop260/subscriptions","organizations_url":"https://api.github.com/users/moylop260/orgs","repos_url":"https://api.github.com/users/moylop260/repos","events_url":"https://api.github.com/users/moylop260/events{/privacy}","received_events_url":"https://api.github.com/users/moylop260/received_events","type":"User","site_admin":false},"comments":8,"review_comments":1,"commits":10,"additions":360,"deletions":96,"changed_files":10}}
{"actor":{"display_login":"moylop260"}}