GitHub PullRequestEvent at 2014-11-15 14:23:09
Repository: odoomrp-wip
Actor: pedrobaeza
Payload: {"action":"closed","number":306,"pull_request":{"url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/306","id":24226206,"html_url":"https://github.com/odoomrp/odoomrp-wip/pull/306","diff_url":"https://github.com/odoomrp/odoomrp-wip/pull/306.diff","patch_url":"https://github.com/odoomrp/odoomrp-wip/pull/306.patch","issue_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/306","number":306,"state":"closed","locked":false,"title":"[MOD] Price adaptation on sale_order_line","user":{"login":"oihane","id":2323616,"avatar_url":"https://avatars.githubusercontent.com/u/2323616?v=3","gravatar_id":"","url":"https://api.github.com/users/oihane","html_url":"https://github.com/oihane","followers_url":"https://api.github.com/users/oihane/followers","following_url":"https://api.github.com/users/oihane/following{/other_user}","gists_url":"https://api.github.com/users/oihane/gists{/gist_id}","starred_url":"https://api.github.com/users/oihane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oihane/subscriptions","organizations_url":"https://api.github.com/users/oihane/orgs","repos_url":"https://api.github.com/users/oihane/repos","events_url":"https://api.github.com/users/oihane/events{/privacy}","received_events_url":"https://api.github.com/users/oihane/received_events","type":"User","site_admin":false},"body":"Resulta que lo de la lista de precios va por product.product, es decir el product.template tiene que tener creado el product.product para poder crear la vista, y en caso de que se cambie el valor crea/actualiza el product.attribute.price\r\n\r\nLo que he hecho en este modulo es que se pueda hacer esto mismo desde el pedido de venta (desde la línea). La verdad, porque no terminaba de ver en que punto se generaba las líneas. Voy a probar a ver si soy capaz de hacer que me saque las líneas aún sin producto, pero la cuestión es que @anajuaristi pedía mostrar ese price_extra en la línea, lo que me pregunto es si lo pongo como readonly, y de ese modo solo desde la configuración de los templates se puede poner el price_extra, o que sea editable y se cambie al confirmar, o solo se cree entonces (si ya existe se obvia). \r\n\r\n@pedrobaeza @anajuaristi que decis?","created_at":"2014-11-11T15:25:50Z","updated_at":"2014-11-15T14:23:09Z","closed_at":"2014-11-15T14:23:09Z","merged_at":"2014-11-15T14:23:09Z","merge_commit_sha":"229f6f5502cbe44e97f5c4832e68b1137d28a69e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/306/commits","review_comments_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/306/comments","review_comment_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/comments/{number}","comments_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/306/comments","statuses_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/statuses/af96d2cff3840b3c4d67188f480ab88c0101d7df","head":{"label":"oihane:8.0-sale_variants","ref":"8.0-sale_variants","sha":"af96d2cff3840b3c4d67188f480ab88c0101d7df","user":{"login":"oihane","id":2323616,"avatar_url":"https://avatars.githubusercontent.com/u/2323616?v=3","gravatar_id":"","url":"https://api.github.com/users/oihane","html_url":"https://github.com/oihane","followers_url":"https://api.github.com/users/oihane/followers","following_url":"https://api.github.com/users/oihane/following{/other_user}","gists_url":"https://api.github.com/users/oihane/gists{/gist_id}","starred_url":"https://api.github.com/users/oihane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oihane/subscriptions","organizations_url":"https://api.github.com/users/oihane/orgs","repos_url":"https://api.github.com/users/oihane/repos","events_url":"https://api.github.com/users/oihane/events{/privacy}","received_events_url":"https://api.github.com/users/oihane/received_events","type":"User","site_admin":false},"repo":{"id":24581200,"name":"odoomrp-wip","full_name":"oihane/odoomrp-wip","owner":{"login":"oihane","id":2323616,"avatar_url":"https://avatars.githubusercontent.com/u/2323616?v=3","gravatar_id":"","url":"https://api.github.com/users/oihane","html_url":"https://github.com/oihane","followers_url":"https://api.github.com/users/oihane/followers","following_url":"https://api.github.com/users/oihane/following{/other_user}","gists_url":"https://api.github.com/users/oihane/gists{/gist_id}","starred_url":"https://api.github.com/users/oihane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oihane/subscriptions","organizations_url":"https://api.github.com/users/oihane/orgs","repos_url":"https://api.github.com/users/oihane/repos","events_url":"https://api.github.com/users/oihane/events{/privacy}","received_events_url":"https://api.github.com/users/oihane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oihane/odoomrp-wip","description":"WIP of OdooMRP","fork":true,"url":"https://api.github.com/repos/oihane/odoomrp-wip","forks_url":"https://api.github.com/repos/oihane/odoomrp-wip/forks","keys_url":"https://api.github.com/repos/oihane/odoomrp-wip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oihane/odoomrp-wip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oihane/odoomrp-wip/teams","hooks_url":"https://api.github.com/repos/oihane/odoomrp-wip/hooks","issue_events_url":"https://api.github.com/repos/oihane/odoomrp-wip/issues/events{/number}","events_url":"https://api.github.com/repos/oihane/odoomrp-wip/events","assignees_url":"https://api.github.com/repos/oihane/odoomrp-wip/assignees{/user}","branches_url":"https://api.github.com/repos/oihane/odoomrp-wip/branches{/branch}","tags_url":"https://api.github.com/repos/oihane/odoomrp-wip/tags","blobs_url":"https://api.github.com/repos/oihane/odoomrp-wip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oihane/odoomrp-wip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oihane/odoomrp-wip/git/refs{/sha}","trees_url":"https://api.github.com/repos/oihane/odoomrp-wip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oihane/odoomrp-wip/statuses/{sha}","languages_url":"https://api.github.com/repos/oihane/odoomrp-wip/languages","stargazers_url":"https://api.github.com/repos/oihane/odoomrp-wip/stargazers","contributors_url":"https://api.github.com/repos/oihane/odoomrp-wip/contributors","subscribers_url":"https://api.github.com/repos/oihane/odoomrp-wip/subscribers","subscription_url":"https://api.github.com/repos/oihane/odoomrp-wip/subscription","commits_url":"https://api.github.com/repos/oihane/odoomrp-wip/commits{/sha}","git_commits_url":"https://api.github.com/repos/oihane/odoomrp-wip/git/commits{/sha}","comments_url":"https://api.github.com/repos/oihane/odoomrp-wip/comments{/number}","issue_comment_url":"https://api.github.com/repos/oihane/odoomrp-wip/issues/comments/{number}","contents_url":"https://api.github.com/repos/oihane/odoomrp-wip/contents/{+path}","compare_url":"https://api.github.com/repos/oihane/odoomrp-wip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oihane/odoomrp-wip/merges","archive_url":"https://api.github.com/repos/oihane/odoomrp-wip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oihane/odoomrp-wip/downloads","issues_url":"https://api.github.com/repos/oihane/odoomrp-wip/issues{/number}","pulls_url":"https://api.github.com/repos/oihane/odoomrp-wip/pulls{/number}","milestones_url":"https://api.github.com/repos/oihane/odoomrp-wip/milestones{/number}","notifications_url":"https://api.github.com/repos/oihane/odoomrp-wip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oihane/odoomrp-wip/labels{/name}","releases_url":"https://api.github.com/repos/oihane/odoomrp-wip/releases{/id}","created_at":"2014-09-29T05:32:26Z","updated_at":"2014-10-10T07:44:04Z","pushed_at":"2014-11-14T10:34:50Z","git_url":"git://github.com/oihane/odoomrp-wip.git","ssh_url":"git@github.com:oihane/odoomrp-wip.git","clone_url":"https://github.com/oihane/odoomrp-wip.git","svn_url":"https://github.com/oihane/odoomrp-wip","homepage":"http://www.odoomrp.com","size":1932,"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":"odoomrp:8.0","ref":"8.0","sha":"6242046540bcdb966c6a0e30d9333358977133d0","user":{"login":"odoomrp","id":7858947,"avatar_url":"https://avatars.githubusercontent.com/u/7858947?v=3","gravatar_id":"","url":"https://api.github.com/users/odoomrp","html_url":"https://github.com/odoomrp","followers_url":"https://api.github.com/users/odoomrp/followers","following_url":"https://api.github.com/users/odoomrp/following{/other_user}","gists_url":"https://api.github.com/users/odoomrp/gists{/gist_id}","starred_url":"https://api.github.com/users/odoomrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoomrp/subscriptions","organizations_url":"https://api.github.com/users/odoomrp/orgs","repos_url":"https://api.github.com/users/odoomrp/repos","events_url":"https://api.github.com/users/odoomrp/events{/privacy}","received_events_url":"https://api.github.com/users/odoomrp/received_events","type":"Organization","site_admin":false},"repo":{"id":22124768,"name":"odoomrp-wip","full_name":"odoomrp/odoomrp-wip","owner":{"login":"odoomrp","id":7858947,"avatar_url":"https://avatars.githubusercontent.com/u/7858947?v=3","gravatar_id":"","url":"https://api.github.com/users/odoomrp","html_url":"https://github.com/odoomrp","followers_url":"https://api.github.com/users/odoomrp/followers","following_url":"https://api.github.com/users/odoomrp/following{/other_user}","gists_url":"https://api.github.com/users/odoomrp/gists{/gist_id}","starred_url":"https://api.github.com/users/odoomrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoomrp/subscriptions","organizations_url":"https://api.github.com/users/odoomrp/orgs","repos_url":"https://api.github.com/users/odoomrp/repos","events_url":"https://api.github.com/users/odoomrp/events{/privacy}","received_events_url":"https://api.github.com/users/odoomrp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odoomrp/odoomrp-wip","description":"WIP of OdooMRP","fork":false,"url":"https://api.github.com/repos/odoomrp/odoomrp-wip","forks_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/forks","keys_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/teams","hooks_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/hooks","issue_events_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/events{/number}","events_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/events","assignees_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/assignees{/user}","branches_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/branches{/branch}","tags_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/tags","blobs_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/statuses/{sha}","languages_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/languages","stargazers_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/stargazers","contributors_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/contributors","subscribers_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/subscribers","subscription_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/subscription","commits_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/comments/{number}","contents_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/contents/{+path}","compare_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/merges","archive_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/downloads","issues_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues{/number}","pulls_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls{/number}","milestones_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/milestones{/number}","notifications_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/labels{/name}","releases_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/releases{/id}","created_at":"2014-07-22T23:29:59Z","updated_at":"2014-10-28T13:52:41Z","pushed_at":"2014-11-15T14:23:09Z","git_url":"git://github.com/odoomrp/odoomrp-wip.git","ssh_url":"git@github.com:odoomrp/odoomrp-wip.git","clone_url":"https://github.com/odoomrp/odoomrp-wip.git","svn_url":"https://github.com/odoomrp/odoomrp-wip","homepage":"http://www.odoomrp.com","size":5575,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":43,"forks":14,"open_issues":43,"watchers":4,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/306"},"html":{"href":"https://github.com/odoomrp/odoomrp-wip/pull/306"},"issue":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/306"},"comments":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/306/comments"},"review_comments":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/306/comments"},"review_comment":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/306/commits"},"statuses":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/statuses/af96d2cff3840b3c4d67188f480ab88c0101d7df"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":14,"review_comments":2,"commits":6,"additions":241,"deletions":13,"changed_files":4}}