{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/stock-logistics-barcode/pulls/comments/38440308","id":38440308,"diff_hunk":"@@ -0,0 +1,37 @@\n+<?xml version=\"1.0\" encoding=\"utf-8\"?>\n+<openerp>\n+    <data>\n+        \n+        <record id=\"view_product_category_simple_ean_form\" model=\"ir.ui.view\">\n+            <field name=\"name\">product.category.form</field>\n+            <field name=\"model\">product.category</field>\n+            <field name=\"inherit_id\" ref=\"product.product_category_form_view\"/>\n+            <field name=\"arch\" type=\"xml\">\n+                <field name=\"type\" position=\"after\">\n+                    <field name=\"ean_sequence_id\" domain=\"[('barcode_sequence', '=', 1)]\"\n+                        context=\"{'default_name': name and 'EAN ' + name or 'EAN', 'default_barcode_sequence': 1}\"/>\n+                    <newline/>\n+                </field>\n+            </field>\n+        </record>\n+        \n+\t\t<record id=\"view_product_simple_ean_form\" model=\"ir.ui.view\">\n+\t\t\t<field name=\"name\">product.product.form</field>\n+\t\t\t<field name=\"model\">product.product</field>\n+\t\t\t<field name=\"inherit_id\" ref=\"product.product_normal_form_view\"/>\n+\t\t\t<field name=\"arch\" type=\"xml\">\n+\t\t\t\t<field name=\"ean13\" position=\"after\">\n+                    <field name=\"ean_sequence_id\" domain=\"[('barcode_sequence', '=', 1)]\"\n+                        context=\"{'default_name': name and 'EAN ' + name or 'EAN', 'default_barcode_sequence': 1}\"\n+                        class=\"oe_edit_only\"/>","path":"product_barcode_generator/product_view.xml","position":26,"original_position":26,"commit_id":"eb28d33fdbeeea320fe4e790bdbaed56f50676d7","original_commit_id":"eb28d33fdbeeea320fe4e790bdbaed56f50676d7","user":{"login":"lmignon","id":544090,"avatar_url":"https://avatars.githubusercontent.com/u/544090?v=3","gravatar_id":"","url":"https://api.github.com/users/lmignon","html_url":"https://github.com/lmignon","followers_url":"https://api.github.com/users/lmignon/followers","following_url":"https://api.github.com/users/lmignon/following{/other_user}","gists_url":"https://api.github.com/users/lmignon/gists{/gist_id}","starred_url":"https://api.github.com/users/lmignon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmignon/subscriptions","organizations_url":"https://api.github.com/users/lmignon/orgs","repos_url":"https://api.github.com/users/lmignon/repos","events_url":"https://api.github.com/users/lmignon/events{/privacy}","received_events_url":"https://api.github.com/users/lmignon/received_events","type":"User","site_admin":false},"body":"Why oe_edit_only? it's strange having to enter in edit mode to see that the product is linked to a specific sequence.","created_at":"2015-09-01T16:33:54Z","updated_at":"2015-09-01T16:33:54Z","html_url":"https://github.com/OCA/stock-logistics-barcode/pull/17#discussion_r38440308","pull_request_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/OCA/stock-logistics-barcode/pulls/comments/38440308"},"html":{"href":"https://github.com/OCA/stock-logistics-barcode/pull/17#discussion_r38440308"},"pull_request":{"href":"https://api.github.com/repos/OCA/stock-logistics-barcode/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/stock-logistics-barcode/pulls/17","id":43867286,"html_url":"https://github.com/OCA/stock-logistics-barcode/pull/17","diff_url":"https://github.com/OCA/stock-logistics-barcode/pull/17.diff","patch_url":"https://github.com/OCA/stock-logistics-barcode/pull/17.patch","issue_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/issues/17","number":17,"state":"open","locked":false,"title":"8.0 product barcode generator","user":{"login":"damdam-s","id":8102312,"avatar_url":"https://avatars.githubusercontent.com/u/8102312?v=3","gravatar_id":"","url":"https://api.github.com/users/damdam-s","html_url":"https://github.com/damdam-s","followers_url":"https://api.github.com/users/damdam-s/followers","following_url":"https://api.github.com/users/damdam-s/following{/other_user}","gists_url":"https://api.github.com/users/damdam-s/gists{/gist_id}","starred_url":"https://api.github.com/users/damdam-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damdam-s/subscriptions","organizations_url":"https://api.github.com/users/damdam-s/orgs","repos_url":"https://api.github.com/users/damdam-s/repos","events_url":"https://api.github.com/users/damdam-s/events{/privacy}","received_events_url":"https://api.github.com/users/damdam-s/received_events","type":"User","site_admin":false},"body":"add module  \"product_barcode_generator\" in this OCA project thanks to https://github.com/yelizariev and https://github.com/julius-network-solutions","created_at":"2015-09-01T12:02:28Z","updated_at":"2015-09-01T16:33:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad943cc6d4f0451c4e35508abcc926f10594cc92","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/pulls/17/commits","review_comments_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/pulls/17/comments","review_comment_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/issues/17/comments","statuses_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/statuses/eb28d33fdbeeea320fe4e790bdbaed56f50676d7","head":{"label":"damdam-s:8.0-product_barcode_generator","ref":"8.0-product_barcode_generator","sha":"eb28d33fdbeeea320fe4e790bdbaed56f50676d7","user":{"login":"damdam-s","id":8102312,"avatar_url":"https://avatars.githubusercontent.com/u/8102312?v=3","gravatar_id":"","url":"https://api.github.com/users/damdam-s","html_url":"https://github.com/damdam-s","followers_url":"https://api.github.com/users/damdam-s/followers","following_url":"https://api.github.com/users/damdam-s/following{/other_user}","gists_url":"https://api.github.com/users/damdam-s/gists{/gist_id}","starred_url":"https://api.github.com/users/damdam-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damdam-s/subscriptions","organizations_url":"https://api.github.com/users/damdam-s/orgs","repos_url":"https://api.github.com/users/damdam-s/repos","events_url":"https://api.github.com/users/damdam-s/events{/privacy}","received_events_url":"https://api.github.com/users/damdam-s/received_events","type":"User","site_admin":false},"repo":{"id":41735342,"name":"stock-logistics-barcode","full_name":"damdam-s/stock-logistics-barcode","owner":{"login":"damdam-s","id":8102312,"avatar_url":"https://avatars.githubusercontent.com/u/8102312?v=3","gravatar_id":"","url":"https://api.github.com/users/damdam-s","html_url":"https://github.com/damdam-s","followers_url":"https://api.github.com/users/damdam-s/followers","following_url":"https://api.github.com/users/damdam-s/following{/other_user}","gists_url":"https://api.github.com/users/damdam-s/gists{/gist_id}","starred_url":"https://api.github.com/users/damdam-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damdam-s/subscriptions","organizations_url":"https://api.github.com/users/damdam-s/orgs","repos_url":"https://api.github.com/users/damdam-s/repos","events_url":"https://api.github.com/users/damdam-s/events{/privacy}","received_events_url":"https://api.github.com/users/damdam-s/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/damdam-s/stock-logistics-barcode","description":"","fork":true,"url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode","forks_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/forks","keys_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/teams","hooks_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/hooks","issue_events_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/issues/events{/number}","events_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/events","assignees_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/assignees{/user}","branches_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/branches{/branch}","tags_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/tags","blobs_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/git/refs{/sha}","trees_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/statuses/{sha}","languages_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/languages","stargazers_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/stargazers","contributors_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/contributors","subscribers_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/subscribers","subscription_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/subscription","commits_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/commits{/sha}","git_commits_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/git/commits{/sha}","comments_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/comments{/number}","issue_comment_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/issues/comments{/number}","contents_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/contents/{+path}","compare_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/merges","archive_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/downloads","issues_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/issues{/number}","pulls_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/pulls{/number}","milestones_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/milestones{/number}","notifications_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/labels{/name}","releases_url":"https://api.github.com/repos/damdam-s/stock-logistics-barcode/releases{/id}","created_at":"2015-09-01T11:47:43Z","updated_at":"2015-09-01T11:47:43Z","pushed_at":"2015-09-01T12:54:59Z","git_url":"git://github.com/damdam-s/stock-logistics-barcode.git","ssh_url":"git@github.com:damdam-s/stock-logistics-barcode.git","clone_url":"https://github.com/damdam-s/stock-logistics-barcode.git","svn_url":"https://github.com/damdam-s/stock-logistics-barcode","homepage":null,"size":2010,"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":"159b82ec387ccf0eb4f9a81fadf1b74b94368f9e","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":20891020,"name":"stock-logistics-barcode","full_name":"OCA/stock-logistics-barcode","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/stock-logistics-barcode","description":"","fork":false,"url":"https://api.github.com/repos/OCA/stock-logistics-barcode","forks_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/forks","keys_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/teams","hooks_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/hooks","issue_events_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/events","assignees_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/tags","blobs_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/languages","stargazers_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/stargazers","contributors_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/contributors","subscribers_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/subscribers","subscription_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/subscription","commits_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/merges","archive_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/downloads","issues_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/labels{/name}","releases_url":"https://api.github.com/repos/OCA/stock-logistics-barcode/releases{/id}","created_at":"2014-06-16T15:58:49Z","updated_at":"2015-06-02T13:35:43Z","pushed_at":"2015-09-01T12:54:59Z","git_url":"git://github.com/OCA/stock-logistics-barcode.git","ssh_url":"git@github.com:OCA/stock-logistics-barcode.git","clone_url":"https://github.com/OCA/stock-logistics-barcode.git","svn_url":"https://github.com/OCA/stock-logistics-barcode","homepage":null,"size":2333,"stargazers_count":13,"watchers_count":13,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":7,"forks":18,"open_issues":7,"watchers":13,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/stock-logistics-barcode/pulls/17"},"html":{"href":"https://github.com/OCA/stock-logistics-barcode/pull/17"},"issue":{"href":"https://api.github.com/repos/OCA/stock-logistics-barcode/issues/17"},"comments":{"href":"https://api.github.com/repos/OCA/stock-logistics-barcode/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/stock-logistics-barcode/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/stock-logistics-barcode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/stock-logistics-barcode/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/stock-logistics-barcode/statuses/eb28d33fdbeeea320fe4e790bdbaed56f50676d7"}}}}