{"action":"created","comment":{"url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/pulls/comments/47440215","id":47440215,"diff_hunk":"@@ -510,6 +527,7 @@ def import_product(self, sku, product_data=None):\n                 product=product,\n                 channel=self,\n                 product_identifier=sku,\n+                fba_code=sku if is_fba else None,","path":"channel.py","position":42,"original_position":42,"commit_id":"4588b0787520a59229b6d2d6503f04840ef69cb6","original_commit_id":"4588b0787520a59229b6d2d6503f04840ef69cb6","user":{"login":"priyankarani","id":2486079,"avatar_url":"https://avatars.githubusercontent.com/u/2486079?v=3","gravatar_id":"","url":"https://api.github.com/users/priyankarani","html_url":"https://github.com/priyankarani","followers_url":"https://api.github.com/users/priyankarani/followers","following_url":"https://api.github.com/users/priyankarani/following{/other_user}","gists_url":"https://api.github.com/users/priyankarani/gists{/gist_id}","starred_url":"https://api.github.com/users/priyankarani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/priyankarani/subscriptions","organizations_url":"https://api.github.com/users/priyankarani/orgs","repos_url":"https://api.github.com/users/priyankarani/repos","events_url":"https://api.github.com/users/priyankarani/events{/privacy}","received_events_url":"https://api.github.com/users/priyankarani/received_events","type":"User","site_admin":false},"body":"product_data['FulfillmentChannel'] == 'AFN' and sku or None. no need to use different variable","created_at":"2015-12-13T04:34:59Z","updated_at":"2015-12-13T04:34:59Z","html_url":"https://github.com/fulfilio/trytond-amazon-mws/pull/55#discussion_r47440215","pull_request_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/pulls/comments/47440215"},"html":{"href":"https://github.com/fulfilio/trytond-amazon-mws/pull/55#discussion_r47440215"},"pull_request":{"href":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/pulls/55","id":53488825,"html_url":"https://github.com/fulfilio/trytond-amazon-mws/pull/55","diff_url":"https://github.com/fulfilio/trytond-amazon-mws/pull/55.diff","patch_url":"https://github.com/fulfilio/trytond-amazon-mws/pull/55.patch","issue_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/issues/55","number":55,"state":"open","locked":false,"title":"Refactor 'import_product' method to respect FBA","user":{"login":"riteshshrv","id":6908014,"avatar_url":"https://avatars.githubusercontent.com/u/6908014?v=3","gravatar_id":"","url":"https://api.github.com/users/riteshshrv","html_url":"https://github.com/riteshshrv","followers_url":"https://api.github.com/users/riteshshrv/followers","following_url":"https://api.github.com/users/riteshshrv/following{/other_user}","gists_url":"https://api.github.com/users/riteshshrv/gists{/gist_id}","starred_url":"https://api.github.com/users/riteshshrv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riteshshrv/subscriptions","organizations_url":"https://api.github.com/users/riteshshrv/orgs","repos_url":"https://api.github.com/users/riteshshrv/repos","events_url":"https://api.github.com/users/riteshshrv/events{/privacy}","received_events_url":"https://api.github.com/users/riteshshrv/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-12T23:51:24Z","updated_at":"2015-12-13T04:34:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b66f631f3644aa1010e80b80759be1aa8dae4db8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/pulls/55/commits","review_comments_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/pulls/55/comments","review_comment_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/issues/55/comments","statuses_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/statuses/4588b0787520a59229b6d2d6503f04840ef69cb6","head":{"label":"riteshshrv:fba_fbm","ref":"fba_fbm","sha":"4588b0787520a59229b6d2d6503f04840ef69cb6","user":{"login":"riteshshrv","id":6908014,"avatar_url":"https://avatars.githubusercontent.com/u/6908014?v=3","gravatar_id":"","url":"https://api.github.com/users/riteshshrv","html_url":"https://github.com/riteshshrv","followers_url":"https://api.github.com/users/riteshshrv/followers","following_url":"https://api.github.com/users/riteshshrv/following{/other_user}","gists_url":"https://api.github.com/users/riteshshrv/gists{/gist_id}","starred_url":"https://api.github.com/users/riteshshrv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riteshshrv/subscriptions","organizations_url":"https://api.github.com/users/riteshshrv/orgs","repos_url":"https://api.github.com/users/riteshshrv/repos","events_url":"https://api.github.com/users/riteshshrv/events{/privacy}","received_events_url":"https://api.github.com/users/riteshshrv/received_events","type":"User","site_admin":false},"repo":{"id":47574560,"name":"trytond-amazon-mws","full_name":"riteshshrv/trytond-amazon-mws","owner":{"login":"riteshshrv","id":6908014,"avatar_url":"https://avatars.githubusercontent.com/u/6908014?v=3","gravatar_id":"","url":"https://api.github.com/users/riteshshrv","html_url":"https://github.com/riteshshrv","followers_url":"https://api.github.com/users/riteshshrv/followers","following_url":"https://api.github.com/users/riteshshrv/following{/other_user}","gists_url":"https://api.github.com/users/riteshshrv/gists{/gist_id}","starred_url":"https://api.github.com/users/riteshshrv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riteshshrv/subscriptions","organizations_url":"https://api.github.com/users/riteshshrv/orgs","repos_url":"https://api.github.com/users/riteshshrv/repos","events_url":"https://api.github.com/users/riteshshrv/events{/privacy}","received_events_url":"https://api.github.com/users/riteshshrv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/riteshshrv/trytond-amazon-mws","description":"Amazon marketplace integration for Fulfil.IO (Powered by Tryton)","fork":true,"url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws","forks_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/forks","keys_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/keys{/key_id}","collaborators_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/teams","hooks_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/hooks","issue_events_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/issues/events{/number}","events_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/events","assignees_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/assignees{/user}","branches_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/branches{/branch}","tags_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/tags","blobs_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/git/refs{/sha}","trees_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/git/trees{/sha}","statuses_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/statuses/{sha}","languages_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/languages","stargazers_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/stargazers","contributors_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/contributors","subscribers_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/subscribers","subscription_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/subscription","commits_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/commits{/sha}","git_commits_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/git/commits{/sha}","comments_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/comments{/number}","issue_comment_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/issues/comments{/number}","contents_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/contents/{+path}","compare_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/compare/{base}...{head}","merges_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/merges","archive_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/downloads","issues_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/issues{/number}","pulls_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/pulls{/number}","milestones_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/milestones{/number}","notifications_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/labels{/name}","releases_url":"https://api.github.com/repos/riteshshrv/trytond-amazon-mws/releases{/id}","created_at":"2015-12-07T19:34:42Z","updated_at":"2015-12-07T19:34:43Z","pushed_at":"2015-12-13T01:25:11Z","git_url":"git://github.com/riteshshrv/trytond-amazon-mws.git","ssh_url":"git@github.com:riteshshrv/trytond-amazon-mws.git","clone_url":"https://github.com/riteshshrv/trytond-amazon-mws.git","svn_url":"https://github.com/riteshshrv/trytond-amazon-mws","homepage":"","size":208,"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":"develop"}},"base":{"label":"fulfilio:develop","ref":"develop","sha":"ea60bd8888ca46f1e9b8ad0cab66dbcbf88b7832","user":{"login":"fulfilio","id":12905196,"avatar_url":"https://avatars.githubusercontent.com/u/12905196?v=3","gravatar_id":"","url":"https://api.github.com/users/fulfilio","html_url":"https://github.com/fulfilio","followers_url":"https://api.github.com/users/fulfilio/followers","following_url":"https://api.github.com/users/fulfilio/following{/other_user}","gists_url":"https://api.github.com/users/fulfilio/gists{/gist_id}","starred_url":"https://api.github.com/users/fulfilio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fulfilio/subscriptions","organizations_url":"https://api.github.com/users/fulfilio/orgs","repos_url":"https://api.github.com/users/fulfilio/repos","events_url":"https://api.github.com/users/fulfilio/events{/privacy}","received_events_url":"https://api.github.com/users/fulfilio/received_events","type":"Organization","site_admin":false},"repo":{"id":39383509,"name":"trytond-amazon-mws","full_name":"fulfilio/trytond-amazon-mws","owner":{"login":"fulfilio","id":12905196,"avatar_url":"https://avatars.githubusercontent.com/u/12905196?v=3","gravatar_id":"","url":"https://api.github.com/users/fulfilio","html_url":"https://github.com/fulfilio","followers_url":"https://api.github.com/users/fulfilio/followers","following_url":"https://api.github.com/users/fulfilio/following{/other_user}","gists_url":"https://api.github.com/users/fulfilio/gists{/gist_id}","starred_url":"https://api.github.com/users/fulfilio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fulfilio/subscriptions","organizations_url":"https://api.github.com/users/fulfilio/orgs","repos_url":"https://api.github.com/users/fulfilio/repos","events_url":"https://api.github.com/users/fulfilio/events{/privacy}","received_events_url":"https://api.github.com/users/fulfilio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fulfilio/trytond-amazon-mws","description":"Amazon marketplace integration for Fulfil.IO (Powered by Tryton)","fork":false,"url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws","forks_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/forks","keys_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/teams","hooks_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/hooks","issue_events_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/issues/events{/number}","events_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/events","assignees_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/assignees{/user}","branches_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/branches{/branch}","tags_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/tags","blobs_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/git/refs{/sha}","trees_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/statuses/{sha}","languages_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/languages","stargazers_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/stargazers","contributors_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/contributors","subscribers_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/subscribers","subscription_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/subscription","commits_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/commits{/sha}","git_commits_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/git/commits{/sha}","comments_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/comments{/number}","issue_comment_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/issues/comments{/number}","contents_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/contents/{+path}","compare_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/merges","archive_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/downloads","issues_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/issues{/number}","pulls_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/pulls{/number}","milestones_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/milestones{/number}","notifications_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/labels{/name}","releases_url":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/releases{/id}","created_at":"2015-07-20T12:51:47Z","updated_at":"2015-10-09T10:54:50Z","pushed_at":"2015-12-13T01:25:11Z","git_url":"git://github.com/fulfilio/trytond-amazon-mws.git","ssh_url":"git@github.com:fulfilio/trytond-amazon-mws.git","clone_url":"https://github.com/fulfilio/trytond-amazon-mws.git","svn_url":"https://github.com/fulfilio/trytond-amazon-mws","homepage":"","size":215,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/pulls/55"},"html":{"href":"https://github.com/fulfilio/trytond-amazon-mws/pull/55"},"issue":{"href":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/issues/55"},"comments":{"href":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/fulfilio/trytond-amazon-mws/statuses/4588b0787520a59229b6d2d6503f04840ef69cb6"}}}}