{"action":"created","comment":{"url":"https://api.github.com/repos/it-projects-llc/pos-addons/pulls/comments/209290211","pull_request_review_id":145279892,"id":209290211,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTI5MDIxMQ==","diff_hunk":"@@ -0,0 +1,182 @@\n+/* Copyright 2018 Ivan Yelizariev <https://it-projects.info/team/yelizariev>\n+   License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). */\n+odoo.define('pos_wechat', function(require){\n+    \"use strict\";\n+\n+    require('pos_qr_scan');\n+    require('pos_qr_show');\n+    var rpc = require('web.rpc');\n+    var core = require('web.core');\n+    var models = require('point_of_sale.models');\n+\n+    var _t = core._t;\n+\n+    models.load_fields('account.journal', ['wechat']);\n+\n+\n+    var PosModelSuper = models.PosModel;\n+    models.PosModel = models.PosModel.extend({\n+        initialize: function(){\n+            var self = this;\n+            PosModelSuper.prototype.initialize.apply(this, arguments);\n+            this.wechat = new Wechat(this);","path":"pos_wechat/static/src/js/wechat_pay.js","position":22,"original_position":22,"commit_id":"24601baeeac1a392d35b211ef1f238453529ca60","original_commit_id":"24601baeeac1a392d35b211ef1f238453529ca60","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'Wechat' was used before it was defined  no-use-before-define","created_at":"2018-08-10T15:03:37Z","updated_at":"2018-08-10T15:03:39Z","html_url":"https://github.com/it-projects-llc/pos-addons/pull/733#discussion_r209290211","pull_request_url":"https://api.github.com/repos/it-projects-llc/pos-addons/pulls/733","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/it-projects-llc/pos-addons/pulls/comments/209290211"},"html":{"href":"https://github.com/it-projects-llc/pos-addons/pull/733#discussion_r209290211"},"pull_request":{"href":"https://api.github.com/repos/it-projects-llc/pos-addons/pulls/733"}}},"pull_request":{"url":"https://api.github.com/repos/it-projects-llc/pos-addons/pulls/733","id":207616106,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3NjE2MTA2","html_url":"https://github.com/it-projects-llc/pos-addons/pull/733","diff_url":"https://github.com/it-projects-llc/pos-addons/pull/733.diff","patch_url":"https://github.com/it-projects-llc/pos-addons/pull/733.patch","issue_url":"https://api.github.com/repos/it-projects-llc/pos-addons/issues/733","number":733,"state":"open","locked":false,"title":":tada: wechat modules","user":{"login":"yelizariev","id":186131,"node_id":"MDQ6VXNlcjE4NjEzMQ==","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},"body":"development commits are available here: https://github.com/it-projects-llc/addons-dev/commits/pos-addons-11.0-pos-qr-payments","created_at":"2018-08-10T13:42:56Z","updated_at":"2018-08-10T15:03:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59be5351dc66ba14081921535417781691d16fee","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/it-projects-llc/pos-addons/pulls/733/commits","review_comments_url":"https://api.github.com/repos/it-projects-llc/pos-addons/pulls/733/comments","review_comment_url":"https://api.github.com/repos/it-projects-llc/pos-addons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/it-projects-llc/pos-addons/issues/733/comments","statuses_url":"https://api.github.com/repos/it-projects-llc/pos-addons/statuses/24601baeeac1a392d35b211ef1f238453529ca60","head":{"label":"yelizariev:11.0-wechat","ref":"11.0-wechat","sha":"24601baeeac1a392d35b211ef1f238453529ca60","user":{"login":"yelizariev","id":186131,"node_id":"MDQ6VXNlcjE4NjEzMQ==","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},"repo":{"id":60610322,"node_id":"MDEwOlJlcG9zaXRvcnk2MDYxMDMyMg==","name":"pos-addons","full_name":"yelizariev/pos-addons","owner":{"login":"yelizariev","id":186131,"node_id":"MDQ6VXNlcjE4NjEzMQ==","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},"private":false,"html_url":"https://github.com/yelizariev/pos-addons","description":"Repo is relocated!","fork":true,"url":"https://api.github.com/repos/yelizariev/pos-addons","forks_url":"https://api.github.com/repos/yelizariev/pos-addons/forks","keys_url":"https://api.github.com/repos/yelizariev/pos-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yelizariev/pos-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yelizariev/pos-addons/teams","hooks_url":"https://api.github.com/repos/yelizariev/pos-addons/hooks","issue_events_url":"https://api.github.com/repos/yelizariev/pos-addons/issues/events{/number}","events_url":"https://api.github.com/repos/yelizariev/pos-addons/events","assignees_url":"https://api.github.com/repos/yelizariev/pos-addons/assignees{/user}","branches_url":"https://api.github.com/repos/yelizariev/pos-addons/branches{/branch}","tags_url":"https://api.github.com/repos/yelizariev/pos-addons/tags","blobs_url":"https://api.github.com/repos/yelizariev/pos-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yelizariev/pos-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yelizariev/pos-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/yelizariev/pos-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yelizariev/pos-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/yelizariev/pos-addons/languages","stargazers_url":"https://api.github.com/repos/yelizariev/pos-addons/stargazers","contributors_url":"https://api.github.com/repos/yelizariev/pos-addons/contributors","subscribers_url":"https://api.github.com/repos/yelizariev/pos-addons/subscribers","subscription_url":"https://api.github.com/repos/yelizariev/pos-addons/subscription","commits_url":"https://api.github.com/repos/yelizariev/pos-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/yelizariev/pos-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/yelizariev/pos-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/yelizariev/pos-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/yelizariev/pos-addons/contents/{+path}","compare_url":"https://api.github.com/repos/yelizariev/pos-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yelizariev/pos-addons/merges","archive_url":"https://api.github.com/repos/yelizariev/pos-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yelizariev/pos-addons/downloads","issues_url":"https://api.github.com/repos/yelizariev/pos-addons/issues{/number}","pulls_url":"https://api.github.com/repos/yelizariev/pos-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/yelizariev/pos-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/yelizariev/pos-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yelizariev/pos-addons/labels{/name}","releases_url":"https://api.github.com/repos/yelizariev/pos-addons/releases{/id}","deployments_url":"https://api.github.com/repos/yelizariev/pos-addons/deployments","created_at":"2016-06-07T12:10:32Z","updated_at":"2018-06-28T09:30:21Z","pushed_at":"2018-08-10T15:02:44Z","git_url":"git://github.com/yelizariev/pos-addons.git","ssh_url":"git@github.com:yelizariev/pos-addons.git","clone_url":"https://github.com/yelizariev/pos-addons.git","svn_url":"https://github.com/yelizariev/pos-addons","homepage":"https://github.com/it-projects-llc/pos-addons","size":33609,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":19,"open_issues":0,"watchers":9,"default_branch":"9.0"}},"base":{"label":"it-projects-llc:11.0","ref":"11.0","sha":"00fe9313619eb5c3f145e82085ff23106f66eb83","user":{"login":"it-projects-llc","id":17959306,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTU5MzA2","avatar_url":"https://avatars3.githubusercontent.com/u/17959306?v=4","gravatar_id":"","url":"https://api.github.com/users/it-projects-llc","html_url":"https://github.com/it-projects-llc","followers_url":"https://api.github.com/users/it-projects-llc/followers","following_url":"https://api.github.com/users/it-projects-llc/following{/other_user}","gists_url":"https://api.github.com/users/it-projects-llc/gists{/gist_id}","starred_url":"https://api.github.com/users/it-projects-llc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/it-projects-llc/subscriptions","organizations_url":"https://api.github.com/users/it-projects-llc/orgs","repos_url":"https://api.github.com/users/it-projects-llc/repos","events_url":"https://api.github.com/users/it-projects-llc/events{/privacy}","received_events_url":"https://api.github.com/users/it-projects-llc/received_events","type":"Organization","site_admin":false},"repo":{"id":19878127,"node_id":"MDEwOlJlcG9zaXRvcnkxOTg3ODEyNw==","name":"pos-addons","full_name":"it-projects-llc/pos-addons","owner":{"login":"it-projects-llc","id":17959306,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3OTU5MzA2","avatar_url":"https://avatars3.githubusercontent.com/u/17959306?v=4","gravatar_id":"","url":"https://api.github.com/users/it-projects-llc","html_url":"https://github.com/it-projects-llc","followers_url":"https://api.github.com/users/it-projects-llc/followers","following_url":"https://api.github.com/users/it-projects-llc/following{/other_user}","gists_url":"https://api.github.com/users/it-projects-llc/gists{/gist_id}","starred_url":"https://api.github.com/users/it-projects-llc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/it-projects-llc/subscriptions","organizations_url":"https://api.github.com/users/it-projects-llc/orgs","repos_url":"https://api.github.com/users/it-projects-llc/repos","events_url":"https://api.github.com/users/it-projects-llc/events{/privacy}","received_events_url":"https://api.github.com/users/it-projects-llc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/it-projects-llc/pos-addons","description":"Odoo POS addons ","fork":false,"url":"https://api.github.com/repos/it-projects-llc/pos-addons","forks_url":"https://api.github.com/repos/it-projects-llc/pos-addons/forks","keys_url":"https://api.github.com/repos/it-projects-llc/pos-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/it-projects-llc/pos-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/it-projects-llc/pos-addons/teams","hooks_url":"https://api.github.com/repos/it-projects-llc/pos-addons/hooks","issue_events_url":"https://api.github.com/repos/it-projects-llc/pos-addons/issues/events{/number}","events_url":"https://api.github.com/repos/it-projects-llc/pos-addons/events","assignees_url":"https://api.github.com/repos/it-projects-llc/pos-addons/assignees{/user}","branches_url":"https://api.github.com/repos/it-projects-llc/pos-addons/branches{/branch}","tags_url":"https://api.github.com/repos/it-projects-llc/pos-addons/tags","blobs_url":"https://api.github.com/repos/it-projects-llc/pos-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/it-projects-llc/pos-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/it-projects-llc/pos-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/it-projects-llc/pos-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/it-projects-llc/pos-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/it-projects-llc/pos-addons/languages","stargazers_url":"https://api.github.com/repos/it-projects-llc/pos-addons/stargazers","contributors_url":"https://api.github.com/repos/it-projects-llc/pos-addons/contributors","subscribers_url":"https://api.github.com/repos/it-projects-llc/pos-addons/subscribers","subscription_url":"https://api.github.com/repos/it-projects-llc/pos-addons/subscription","commits_url":"https://api.github.com/repos/it-projects-llc/pos-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/it-projects-llc/pos-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/it-projects-llc/pos-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/it-projects-llc/pos-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/it-projects-llc/pos-addons/contents/{+path}","compare_url":"https://api.github.com/repos/it-projects-llc/pos-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/it-projects-llc/pos-addons/merges","archive_url":"https://api.github.com/repos/it-projects-llc/pos-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/it-projects-llc/pos-addons/downloads","issues_url":"https://api.github.com/repos/it-projects-llc/pos-addons/issues{/number}","pulls_url":"https://api.github.com/repos/it-projects-llc/pos-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/it-projects-llc/pos-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/it-projects-llc/pos-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/it-projects-llc/pos-addons/labels{/name}","releases_url":"https://api.github.com/repos/it-projects-llc/pos-addons/releases{/id}","deployments_url":"https://api.github.com/repos/it-projects-llc/pos-addons/deployments","created_at":"2014-05-17T04:12:37Z","updated_at":"2018-08-10T03:50:26Z","pushed_at":"2018-08-10T15:02:46Z","git_url":"git://github.com/it-projects-llc/pos-addons.git","ssh_url":"git@github.com:it-projects-llc/pos-addons.git","clone_url":"https://github.com/it-projects-llc/pos-addons.git","svn_url":"https://github.com/it-projects-llc/pos-addons","homepage":"https://www.it-projects.info/","size":32228,"stargazers_count":138,"watchers_count":138,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":272,"mirror_url":null,"archived":false,"open_issues_count":79,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":272,"open_issues":79,"watchers":138,"default_branch":"11.0"}},"_links":{"self":{"href":"https://api.github.com/repos/it-projects-llc/pos-addons/pulls/733"},"html":{"href":"https://github.com/it-projects-llc/pos-addons/pull/733"},"issue":{"href":"https://api.github.com/repos/it-projects-llc/pos-addons/issues/733"},"comments":{"href":"https://api.github.com/repos/it-projects-llc/pos-addons/issues/733/comments"},"review_comments":{"href":"https://api.github.com/repos/it-projects-llc/pos-addons/pulls/733/comments"},"review_comment":{"href":"https://api.github.com/repos/it-projects-llc/pos-addons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/it-projects-llc/pos-addons/pulls/733/commits"},"statuses":{"href":"https://api.github.com/repos/it-projects-llc/pos-addons/statuses/24601baeeac1a392d35b211ef1f238453529ca60"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"houndci-bot"}}