GitHub PullRequestReviewCommentEvent at 2014-10-01 12:48:24
Repository: odoo
Actor: odony
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/odoo/odoo/pulls/comments/18275681","id":18275681,"diff_hunk":"@@ -0,0 +1,138 @@\n+<?xml version=\"1.0\" encoding=\"utf-8\"?>\n+<openerp>\n+    <data>\n+        <!-- Customer Invoice Form -->\n+        <record id=\"l10n_be_intrastat_xml_decl_cust_invoice_view\" model=\"ir.ui.view\">\n+            <field name=\"name\">l10n_be_intrastat_xml.custinvoice_form</field>\n+            <field name=\"model\">account.invoice</field>\n+            <field name=\"inherit_id\" ref=\"account.invoice_form\"/>\n+            <field name=\"arch\" type=\"xml\">\n+                <xpath expr=\"//field[@name='date_due']\" position=\"after\">\n+                    <field name=\"incoterm_id\" groups=\"l10n_be_intrastat_declaration.intrastat_extended\"/>\n+                </xpath>\n+                <xpath expr=\"//field[@name='move_id']\" position=\"after\">\n+                    <field name=\"intrastat_transaction_id\"/>\n+                    <field name=\"transport_mode_id\" groups=\"l10n_be_intrastat_declaration.intrastat_extended\"/>\n+                    <field name=\"intrastat_country_id\"/>\n+                </xpath>\n+            </field>\n+\n+        </record>\n+\n+        <!-- Transaction Form -->\n+        <record model=\"ir.ui.view\" id=\"intra_view_transaction_form\">\n+            <field name=\"name\">intra.view.transaction_form</field>\n+            <field name=\"model\">l10n_be_intrastat_declaration.transaction</field>\n+            <field name=\"priority\" eval=\"16\"/>\n+            <field name=\"arch\" type=\"xml\">\n+                <form string=\"Intrastat transaction form\">\n+                    <group>\n+                    <field name=\"code\" readonly=\"1\"/>\n+                    <field name=\"description\" readonly=\"1\"/>\n+                </group>\n+                </form>\n+            </field>\n+        </record>\n+\n+        <!-- Transaction List -->\n+        <record model=\"ir.ui.view\" id=\"intra_view_transaction_tree\">\n+            <field name=\"name\">intra.view.transaction_tree</field>\n+            <field name=\"model\">l10n_be_intrastat_declaration.transaction</field>\n+            <field name=\"priority\" eval=\"16\"/>\n+            <field name=\"arch\" type=\"xml\">\n+                <tree string=\"Intrastat transaction types\">\n+                    <field name=\"code\"/>\n+                    <field name=\"description\"/>\n+                </tree>\n+            </field>\n+        </record>\n+\n+        <!-- Transport mode Form -->\n+        <record model=\"ir.ui.view\" id=\"intra_view_transport_mode_form\">\n+            <field name=\"name\">intra.view.transport_mode_form</field>\n+            <field name=\"model\">l10n_be_intrastat_declaration.transport_mode</field>\n+            <field name=\"priority\" eval=\"16\"/>\n+            <field name=\"arch\" type=\"xml\">\n+                <form string=\"Intrastat transpartation mode form\">\n+                    <group>\n+                    <field name=\"code\" readonly=\"1\"/>\n+                    <field name=\"name\" readonly=\"1\"/>\n+                </group>\n+                </form>\n+            </field>\n+        </record>\n+\n+        <!-- Transport mode List -->\n+        <record model=\"ir.ui.view\" id=\"intra_view_transport_mode_tree\">\n+            <field name=\"name\">intra.view.transport_mode_tree</field>\n+            <field name=\"model\">l10n_be_intrastat_declaration.transport_mode</field>\n+            <field name=\"priority\" eval=\"16\"/>\n+            <field name=\"arch\" type=\"xml\">\n+                <tree string=\"Intrastat transportation modes\">\n+                    <field name=\"code\"/>\n+                    <field name=\"name\"/>\n+                </tree>\n+            </field>\n+        </record>\n+\n+        <!-- Category Form -->\n+        <record id=\"l10n_be_intrastat_xml_decl_product_category_view\" model=\"ir.ui.view\">\n+            <field name=\"name\">l10n_be_intrastat_xml.productcategory_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+                <xpath expr=\"//group[@name='parent']\" position=\"inside\">\n+                    <group string=\"Intrastat\" colspan=\"2\">\n+                        <field name=\"intrastat_id\"/>\n+                    </group>\n+                </xpath>\n+            </field>\n+        </record>\n+\n+        <!-- Company -->\n+        <record id=\"l10n_be_intrastat_xml_decl_res_company_form_view\" model=\"ir.ui.view\">\n+            <field name=\"name\">l10n_be_intrastat_xml.rescompany_form</field>\n+            <field name=\"model\">res.company</field>\n+            <field name=\"inherit_id\" ref=\"base.view_company_form\"/>\n+            <field name=\"arch\" type=\"xml\">\n+                <xpath expr=\"//field[@name='company_registry']\" position=\"after\">\n+                    <field name=\"region_id\" attrs=\"{'required': [('country_id', '=', %(base.be)d )]}\" domain=\"[('country_id','=',country_id)]\"/>\n+                    <field name=\"transport_mode_id\" groups=\"l10n_be_intrastat_declaration.intrastat_extended\"/>\n+                    <field name=\"incoterm_id\" groups=\"l10n_be_intrastat_declaration.intrastat_extended\"/>\n+                    <field name=\"kbo\" attrs=\"{'required': [('country_id', '=', %(base.be)d )],'invisible': [('country_id', '!=', %(base.be)d )]}\"/>","path":"addons/l10n_be_intrastat_declaration/l10n_be_intrastat_declaration.xml","position":102,"original_position":102,"commit_id":"677005d1b88ba579e3a303e0ce8006a9eda92c9f","original_commit_id":"677005d1b88ba579e3a303e0ce8006a9eda92c9f","user":{"login":"odony","id":2039870,"avatar_url":"https://avatars.githubusercontent.com/u/2039870?v=2","gravatar_id":"","url":"https://api.github.com/users/odony","html_url":"https://github.com/odony","followers_url":"https://api.github.com/users/odony/followers","following_url":"https://api.github.com/users/odony/following{/other_user}","gists_url":"https://api.github.com/users/odony/gists{/gist_id}","starred_url":"https://api.github.com/users/odony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odony/subscriptions","organizations_url":"https://api.github.com/users/odony/orgs","repos_url":"https://api.github.com/users/odony/repos","events_url":"https://api.github.com/users/odony/events{/privacy}","received_events_url":"https://api.github.com/users/odony/received_events","type":"User","site_admin":false},"body":"Drop the kbo field (replaced by company registry) but do not make the registry number required. Just raise an error with an informative message if the field is missing when generating the declaration.","created_at":"2014-10-01T12:48:24Z","updated_at":"2014-10-01T12:48:24Z","html_url":"https://github.com/odoo/odoo/pull/2247#discussion_r18275681","pull_request_url":"https://api.github.com/repos/odoo/odoo/pulls/2247","_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo/pulls/comments/18275681"},"html":{"href":"https://github.com/odoo/odoo/pull/2247#discussion_r18275681"},"pull_request":{"href":"https://api.github.com/repos/odoo/odoo/pulls/2247"}}},"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/2247","id":20883322,"html_url":"https://github.com/odoo/odoo/pull/2247","diff_url":"https://github.com/odoo/odoo/pull/2247.diff","patch_url":"https://github.com/odoo/odoo/pull/2247.patch","issue_url":"https://api.github.com/repos/odoo/odoo/issues/2247","number":2247,"state":"open","locked":false,"title":"Belgian intrastat report","user":{"login":"nseinlet","id":1022866,"avatar_url":"https://avatars.githubusercontent.com/u/1022866?v=2","gravatar_id":"","url":"https://api.github.com/users/nseinlet","html_url":"https://github.com/nseinlet","followers_url":"https://api.github.com/users/nseinlet/followers","following_url":"https://api.github.com/users/nseinlet/following{/other_user}","gists_url":"https://api.github.com/users/nseinlet/gists{/gist_id}","starred_url":"https://api.github.com/users/nseinlet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nseinlet/subscriptions","organizations_url":"https://api.github.com/users/nseinlet/orgs","repos_url":"https://api.github.com/users/nseinlet/repos","events_url":"https://api.github.com/users/nseinlet/events{/privacy}","received_events_url":"https://api.github.com/users/nseinlet/received_events","type":"User","site_admin":false},"body":"Belgian Intrastat report in 1 module for V8.0","created_at":"2014-09-08T11:24:14Z","updated_at":"2014-10-01T12:48:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"642402b434abdcffc05cf135ef6d4bd39b151169","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/odoo/odoo/pulls/2247/commits","review_comments_url":"https://api.github.com/repos/odoo/odoo/pulls/2247/comments","review_comment_url":"https://api.github.com/repos/odoo/odoo/pulls/comments/{number}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/2247/comments","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/677005d1b88ba579e3a303e0ce8006a9eda92c9f","head":{"label":"odoo-dev:8.0-intrastatreportbe-nse","ref":"8.0-intrastatreportbe-nse","sha":"677005d1b88ba579e3a303e0ce8006a9eda92c9f","user":{"login":"odoo-dev","id":7466976,"avatar_url":"https://avatars.githubusercontent.com/u/7466976?v=2","gravatar_id":"","url":"https://api.github.com/users/odoo-dev","html_url":"https://github.com/odoo-dev","followers_url":"https://api.github.com/users/odoo-dev/followers","following_url":"https://api.github.com/users/odoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/odoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo-dev/subscriptions","organizations_url":"https://api.github.com/users/odoo-dev/orgs","repos_url":"https://api.github.com/users/odoo-dev/repos","events_url":"https://api.github.com/users/odoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/odoo-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":19853934,"name":"odoo","full_name":"odoo-dev/odoo","owner":{"login":"odoo-dev","id":7466976,"avatar_url":"https://avatars.githubusercontent.com/u/7466976?v=2","gravatar_id":"","url":"https://api.github.com/users/odoo-dev","html_url":"https://github.com/odoo-dev","followers_url":"https://api.github.com/users/odoo-dev/followers","following_url":"https://api.github.com/users/odoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/odoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo-dev/subscriptions","organizations_url":"https://api.github.com/users/odoo-dev/orgs","repos_url":"https://api.github.com/users/odoo-dev/repos","events_url":"https://api.github.com/users/odoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/odoo-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odoo-dev/odoo","description":"RD Dev Repository","fork":true,"url":"https://api.github.com/repos/odoo-dev/odoo","forks_url":"https://api.github.com/repos/odoo-dev/odoo/forks","keys_url":"https://api.github.com/repos/odoo-dev/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoo-dev/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoo-dev/odoo/teams","hooks_url":"https://api.github.com/repos/odoo-dev/odoo/hooks","issue_events_url":"https://api.github.com/repos/odoo-dev/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/odoo-dev/odoo/events","assignees_url":"https://api.github.com/repos/odoo-dev/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/odoo-dev/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/odoo-dev/odoo/tags","blobs_url":"https://api.github.com/repos/odoo-dev/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoo-dev/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoo-dev/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoo-dev/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoo-dev/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/odoo-dev/odoo/languages","stargazers_url":"https://api.github.com/repos/odoo-dev/odoo/stargazers","contributors_url":"https://api.github.com/repos/odoo-dev/odoo/contributors","subscribers_url":"https://api.github.com/repos/odoo-dev/odoo/subscribers","subscription_url":"https://api.github.com/repos/odoo-dev/odoo/subscription","commits_url":"https://api.github.com/repos/odoo-dev/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoo-dev/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoo-dev/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoo-dev/odoo/issues/comments/{number}","contents_url":"https://api.github.com/repos/odoo-dev/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/odoo-dev/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoo-dev/odoo/merges","archive_url":"https://api.github.com/repos/odoo-dev/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoo-dev/odoo/downloads","issues_url":"https://api.github.com/repos/odoo-dev/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/odoo-dev/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/odoo-dev/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/odoo-dev/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoo-dev/odoo/labels{/name}","releases_url":"https://api.github.com/repos/odoo-dev/odoo/releases{/id}","created_at":"2014-05-16T11:16:19Z","updated_at":"2014-10-01T08:18:28Z","pushed_at":"2014-10-01T12:48:09Z","git_url":"git://github.com/odoo-dev/odoo.git","ssh_url":"git@github.com:odoo-dev/odoo.git","clone_url":"https://github.com/odoo-dev/odoo.git","svn_url":"https://github.com/odoo-dev/odoo","homepage":"https://www.odoo.com","size":917602,"stargazers_count":34,"watchers_count":34,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":9,"forks":10,"open_issues":9,"watchers":34,"default_branch":"master"}},"base":{"label":"odoo:8.0","ref":"8.0","sha":"5e07658c7dca42fb5ab45e64574d47c4fda41577","user":{"login":"odoo","id":6368483,"avatar_url":"https://avatars.githubusercontent.com/u/6368483?v=2","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"repo":{"id":19745004,"name":"odoo","full_name":"odoo/odoo","owner":{"login":"odoo","id":6368483,"avatar_url":"https://avatars.githubusercontent.com/u/6368483?v=2","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odoo/odoo","description":"Odoo (formerly OpenERP). Open Source Apps To Grow Your Business.","fork":false,"url":"https://api.github.com/repos/odoo/odoo","forks_url":"https://api.github.com/repos/odoo/odoo/forks","keys_url":"https://api.github.com/repos/odoo/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoo/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoo/odoo/teams","hooks_url":"https://api.github.com/repos/odoo/odoo/hooks","issue_events_url":"https://api.github.com/repos/odoo/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/odoo/odoo/events","assignees_url":"https://api.github.com/repos/odoo/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/odoo/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/odoo/odoo/tags","blobs_url":"https://api.github.com/repos/odoo/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoo/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoo/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoo/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/odoo/odoo/languages","stargazers_url":"https://api.github.com/repos/odoo/odoo/stargazers","contributors_url":"https://api.github.com/repos/odoo/odoo/contributors","subscribers_url":"https://api.github.com/repos/odoo/odoo/subscribers","subscription_url":"https://api.github.com/repos/odoo/odoo/subscription","commits_url":"https://api.github.com/repos/odoo/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoo/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoo/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoo/odoo/issues/comments/{number}","contents_url":"https://api.github.com/repos/odoo/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/odoo/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoo/odoo/merges","archive_url":"https://api.github.com/repos/odoo/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoo/odoo/downloads","issues_url":"https://api.github.com/repos/odoo/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/odoo/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/odoo/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/odoo/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoo/odoo/labels{/name}","releases_url":"https://api.github.com/repos/odoo/odoo/releases{/id}","created_at":"2014-05-13T15:38:58Z","updated_at":"2014-10-01T11:55:25Z","pushed_at":"2014-10-01T12:31:38Z","git_url":"git://github.com/odoo/odoo.git","ssh_url":"git@github.com:odoo/odoo.git","clone_url":"https://github.com/odoo/odoo.git","svn_url":"https://github.com/odoo/odoo","homepage":"https://www.odoo.com","size":884483,"stargazers_count":1289,"watchers_count":1289,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":983,"mirror_url":null,"open_issues_count":1099,"forks":983,"open_issues":1099,"watchers":1289,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo/pulls/2247"},"html":{"href":"https://github.com/odoo/odoo/pull/2247"},"issue":{"href":"https://api.github.com/repos/odoo/odoo/issues/2247"},"comments":{"href":"https://api.github.com/repos/odoo/odoo/issues/2247/comments"},"review_comments":{"href":"https://api.github.com/repos/odoo/odoo/pulls/2247/comments"},"review_comment":{"href":"https://api.github.com/repos/odoo/odoo/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/odoo/odoo/pulls/2247/commits"},"statuses":{"href":"https://api.github.com/repos/odoo/odoo/statuses/677005d1b88ba579e3a303e0ce8006a9eda92c9f"}}}}