{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/l10n-spain/pulls/comments/23759176","id":23759176,"diff_hunk":"@@ -109,7 +109,8 @@ def redsys_form_generate_values(self, id, partner_values, tx_values):\n                     ['redsys_form_url']),\n             'Ds_Merchant_Amount': int(tx_values['amount'] * 100),\n             'Ds_Merchant_Currency': acquirer.redsys_currency or '978',\n-            'Ds_Merchant_Order': tx_values['reference'][:12],\n+            'Ds_Merchant_Order': tx_values['reference'] and\n+                tx_values['reference'][:12] or False,","path":"payment_redsys/models/redsys.py","position":6,"original_position":6,"commit_id":"8c3904017726a0081df0a7117548707961695660","original_commit_id":"8c3904017726a0081df0a7117548707961695660","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":"OK, me parece correcto lo que dices.","created_at":"2015-01-29T10:41:23Z","updated_at":"2015-01-29T10:41:23Z","html_url":"https://github.com/OCA/l10n-spain/pull/108#discussion_r23759176","pull_request_url":"https://api.github.com/repos/OCA/l10n-spain/pulls/108","_links":{"self":{"href":"https://api.github.com/repos/OCA/l10n-spain/pulls/comments/23759176"},"html":{"href":"https://github.com/OCA/l10n-spain/pull/108#discussion_r23759176"},"pull_request":{"href":"https://api.github.com/repos/OCA/l10n-spain/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/l10n-spain/pulls/108","id":28265597,"html_url":"https://github.com/OCA/l10n-spain/pull/108","diff_url":"https://github.com/OCA/l10n-spain/pull/108.diff","patch_url":"https://github.com/OCA/l10n-spain/pull/108.patch","issue_url":"https://api.github.com/repos/OCA/l10n-spain/issues/108","number":108,"state":"open","locked":false,"title":"[FIX] payment_redsys: Error reference False","user":{"login":"sergio-incaser","id":7689807,"avatar_url":"https://avatars.githubusercontent.com/u/7689807?v=3","gravatar_id":"","url":"https://api.github.com/users/sergio-incaser","html_url":"https://github.com/sergio-incaser","followers_url":"https://api.github.com/users/sergio-incaser/followers","following_url":"https://api.github.com/users/sergio-incaser/following{/other_user}","gists_url":"https://api.github.com/users/sergio-incaser/gists{/gist_id}","starred_url":"https://api.github.com/users/sergio-incaser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergio-incaser/subscriptions","organizations_url":"https://api.github.com/users/sergio-incaser/orgs","repos_url":"https://api.github.com/users/sergio-incaser/repos","events_url":"https://api.github.com/users/sergio-incaser/events{/privacy}","received_events_url":"https://api.github.com/users/sergio-incaser/received_events","type":"User","site_admin":false},"body":"Corregido error en caso de que refence no este informado, al renderizar la plantilla del boton de pago.","created_at":"2015-01-29T09:52:30Z","updated_at":"2015-01-29T10:41:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a154c3554240146239e9a8b5dba35c5e9afd0b97","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/l10n-spain/pulls/108/commits","review_comments_url":"https://api.github.com/repos/OCA/l10n-spain/pulls/108/comments","review_comment_url":"https://api.github.com/repos/OCA/l10n-spain/pulls/comments/{number}","comments_url":"https://api.github.com/repos/OCA/l10n-spain/issues/108/comments","statuses_url":"https://api.github.com/repos/OCA/l10n-spain/statuses/8c3904017726a0081df0a7117548707961695660","head":{"label":"incaser:8.0","ref":"8.0","sha":"8c3904017726a0081df0a7117548707961695660","user":{"login":"incaser","id":9299916,"avatar_url":"https://avatars.githubusercontent.com/u/9299916?v=3","gravatar_id":"","url":"https://api.github.com/users/incaser","html_url":"https://github.com/incaser","followers_url":"https://api.github.com/users/incaser/followers","following_url":"https://api.github.com/users/incaser/following{/other_user}","gists_url":"https://api.github.com/users/incaser/gists{/gist_id}","starred_url":"https://api.github.com/users/incaser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incaser/subscriptions","organizations_url":"https://api.github.com/users/incaser/orgs","repos_url":"https://api.github.com/users/incaser/repos","events_url":"https://api.github.com/users/incaser/events{/privacy}","received_events_url":"https://api.github.com/users/incaser/received_events","type":"Organization","site_admin":false},"repo":{"id":29602602,"name":"l10n-spain","full_name":"incaser/l10n-spain","owner":{"login":"incaser","id":9299916,"avatar_url":"https://avatars.githubusercontent.com/u/9299916?v=3","gravatar_id":"","url":"https://api.github.com/users/incaser","html_url":"https://github.com/incaser","followers_url":"https://api.github.com/users/incaser/followers","following_url":"https://api.github.com/users/incaser/following{/other_user}","gists_url":"https://api.github.com/users/incaser/gists{/gist_id}","starred_url":"https://api.github.com/users/incaser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incaser/subscriptions","organizations_url":"https://api.github.com/users/incaser/orgs","repos_url":"https://api.github.com/users/incaser/repos","events_url":"https://api.github.com/users/incaser/events{/privacy}","received_events_url":"https://api.github.com/users/incaser/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/incaser/l10n-spain","description":"Spain Localization","fork":true,"url":"https://api.github.com/repos/incaser/l10n-spain","forks_url":"https://api.github.com/repos/incaser/l10n-spain/forks","keys_url":"https://api.github.com/repos/incaser/l10n-spain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/incaser/l10n-spain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/incaser/l10n-spain/teams","hooks_url":"https://api.github.com/repos/incaser/l10n-spain/hooks","issue_events_url":"https://api.github.com/repos/incaser/l10n-spain/issues/events{/number}","events_url":"https://api.github.com/repos/incaser/l10n-spain/events","assignees_url":"https://api.github.com/repos/incaser/l10n-spain/assignees{/user}","branches_url":"https://api.github.com/repos/incaser/l10n-spain/branches{/branch}","tags_url":"https://api.github.com/repos/incaser/l10n-spain/tags","blobs_url":"https://api.github.com/repos/incaser/l10n-spain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/incaser/l10n-spain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/incaser/l10n-spain/git/refs{/sha}","trees_url":"https://api.github.com/repos/incaser/l10n-spain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/incaser/l10n-spain/statuses/{sha}","languages_url":"https://api.github.com/repos/incaser/l10n-spain/languages","stargazers_url":"https://api.github.com/repos/incaser/l10n-spain/stargazers","contributors_url":"https://api.github.com/repos/incaser/l10n-spain/contributors","subscribers_url":"https://api.github.com/repos/incaser/l10n-spain/subscribers","subscription_url":"https://api.github.com/repos/incaser/l10n-spain/subscription","commits_url":"https://api.github.com/repos/incaser/l10n-spain/commits{/sha}","git_commits_url":"https://api.github.com/repos/incaser/l10n-spain/git/commits{/sha}","comments_url":"https://api.github.com/repos/incaser/l10n-spain/comments{/number}","issue_comment_url":"https://api.github.com/repos/incaser/l10n-spain/issues/comments/{number}","contents_url":"https://api.github.com/repos/incaser/l10n-spain/contents/{+path}","compare_url":"https://api.github.com/repos/incaser/l10n-spain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/incaser/l10n-spain/merges","archive_url":"https://api.github.com/repos/incaser/l10n-spain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/incaser/l10n-spain/downloads","issues_url":"https://api.github.com/repos/incaser/l10n-spain/issues{/number}","pulls_url":"https://api.github.com/repos/incaser/l10n-spain/pulls{/number}","milestones_url":"https://api.github.com/repos/incaser/l10n-spain/milestones{/number}","notifications_url":"https://api.github.com/repos/incaser/l10n-spain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/incaser/l10n-spain/labels{/name}","releases_url":"https://api.github.com/repos/incaser/l10n-spain/releases{/id}","created_at":"2015-01-21T17:44:26Z","updated_at":"2015-01-29T09:50:41Z","pushed_at":"2015-01-29T09:50:41Z","git_url":"git://github.com/incaser/l10n-spain.git","ssh_url":"git@github.com:incaser/l10n-spain.git","clone_url":"https://github.com/incaser/l10n-spain.git","svn_url":"https://github.com/incaser/l10n-spain","homepage":"http://odoospain.odoo.com","size":35472,"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":"OCA:8.0","ref":"8.0","sha":"4d5dd8c61712ec9f9a006e1926670dfd2370a3b1","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":20920616,"name":"l10n-spain","full_name":"OCA/l10n-spain","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/l10n-spain","description":"Spain Localization","fork":false,"url":"https://api.github.com/repos/OCA/l10n-spain","forks_url":"https://api.github.com/repos/OCA/l10n-spain/forks","keys_url":"https://api.github.com/repos/OCA/l10n-spain/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/l10n-spain/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/l10n-spain/teams","hooks_url":"https://api.github.com/repos/OCA/l10n-spain/hooks","issue_events_url":"https://api.github.com/repos/OCA/l10n-spain/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/l10n-spain/events","assignees_url":"https://api.github.com/repos/OCA/l10n-spain/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/l10n-spain/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/l10n-spain/tags","blobs_url":"https://api.github.com/repos/OCA/l10n-spain/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/l10n-spain/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/l10n-spain/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/l10n-spain/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/l10n-spain/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/l10n-spain/languages","stargazers_url":"https://api.github.com/repos/OCA/l10n-spain/stargazers","contributors_url":"https://api.github.com/repos/OCA/l10n-spain/contributors","subscribers_url":"https://api.github.com/repos/OCA/l10n-spain/subscribers","subscription_url":"https://api.github.com/repos/OCA/l10n-spain/subscription","commits_url":"https://api.github.com/repos/OCA/l10n-spain/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/l10n-spain/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/l10n-spain/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/l10n-spain/issues/comments/{number}","contents_url":"https://api.github.com/repos/OCA/l10n-spain/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/l10n-spain/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/l10n-spain/merges","archive_url":"https://api.github.com/repos/OCA/l10n-spain/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/l10n-spain/downloads","issues_url":"https://api.github.com/repos/OCA/l10n-spain/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/l10n-spain/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/l10n-spain/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/l10n-spain/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/l10n-spain/labels{/name}","releases_url":"https://api.github.com/repos/OCA/l10n-spain/releases{/id}","created_at":"2014-06-17T11:21:27Z","updated_at":"2015-01-21T19:41:34Z","pushed_at":"2015-01-28T17:00:18Z","git_url":"git://github.com/OCA/l10n-spain.git","ssh_url":"git@github.com:OCA/l10n-spain.git","clone_url":"https://github.com/OCA/l10n-spain.git","svn_url":"https://github.com/OCA/l10n-spain","homepage":"http://odoospain.odoo.com","size":38223,"stargazers_count":20,"watchers_count":20,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":8,"forks":46,"open_issues":8,"watchers":20,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/l10n-spain/pulls/108"},"html":{"href":"https://github.com/OCA/l10n-spain/pull/108"},"issue":{"href":"https://api.github.com/repos/OCA/l10n-spain/issues/108"},"comments":{"href":"https://api.github.com/repos/OCA/l10n-spain/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/l10n-spain/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/l10n-spain/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/OCA/l10n-spain/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/l10n-spain/statuses/8c3904017726a0081df0a7117548707961695660"}}}}