{"action":"created","issue":{"url":"https://api.github.com/repos/OCA/pos/issues/39","labels_url":"https://api.github.com/repos/OCA/pos/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/OCA/pos/issues/39/comments","events_url":"https://api.github.com/repos/OCA/pos/issues/39/events","html_url":"https://github.com/OCA/pos/pull/39","id":94562487,"number":39,"title":"[8.0] Improve pos_pricelist","user":{"login":"ah-taktik","id":462805,"avatar_url":"https://avatars.githubusercontent.com/u/462805?v=3","gravatar_id":"","url":"https://api.github.com/users/ah-taktik","html_url":"https://github.com/ah-taktik","followers_url":"https://api.github.com/users/ah-taktik/followers","following_url":"https://api.github.com/users/ah-taktik/following{/other_user}","gists_url":"https://api.github.com/users/ah-taktik/gists{/gist_id}","starred_url":"https://api.github.com/users/ah-taktik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ah-taktik/subscriptions","organizations_url":"https://api.github.com/users/ah-taktik/orgs","repos_url":"https://api.github.com/users/ah-taktik/repos","events_url":"https://api.github.com/users/ah-taktik/events{/privacy}","received_events_url":"https://api.github.com/users/ah-taktik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OCA/pos/labels/need%20review","name":"need review","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/OCA/pos/milestones/2","html_url":"https://github.com/OCA/pos/milestones/8.0","labels_url":"https://api.github.com/repos/OCA/pos/milestones/2/labels","id":885090,"number":2,"title":"8.0","description":null,"creator":{"login":"legalsylvain","id":3407482,"avatar_url":"https://avatars.githubusercontent.com/u/3407482?v=3","gravatar_id":"","url":"https://api.github.com/users/legalsylvain","html_url":"https://github.com/legalsylvain","followers_url":"https://api.github.com/users/legalsylvain/followers","following_url":"https://api.github.com/users/legalsylvain/following{/other_user}","gists_url":"https://api.github.com/users/legalsylvain/gists{/gist_id}","starred_url":"https://api.github.com/users/legalsylvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legalsylvain/subscriptions","organizations_url":"https://api.github.com/users/legalsylvain/orgs","repos_url":"https://api.github.com/users/legalsylvain/repos","events_url":"https://api.github.com/users/legalsylvain/events{/privacy}","received_events_url":"https://api.github.com/users/legalsylvain/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":17,"state":"open","created_at":"2014-11-30T22:37:13Z","updated_at":"2015-07-23T17:35:05Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-07-12T12:40:26Z","updated_at":"2015-07-24T11:26:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OCA/pos/pulls/39","html_url":"https://github.com/OCA/pos/pull/39","diff_url":"https://github.com/OCA/pos/pull/39.diff","patch_url":"https://github.com/OCA/pos/pull/39.patch"},"body":"**[IMP]**: improve JS indentation\r\n\r\n**[IMP]**: remove _super method from Backbone.Model. Never manipulate the native Backbone.Model entity like this way because it is considered as bad practice.\r\n\r\n**[ADD]**: Add support for price with taxes, new option is introduced in the POS config to let the user show price with taxes in product widget.\r\nThe UI is updated when we change the customer in order to adapt the prices\r\nThe computation take in account the pricelist and the fiscal position of the customer\r\nThe idea is based on what is done in this PR : #33 by @antespi  \r\n\r\n**[IMP]**: simplify JS for price computation (get_all_prices)\r\n\r\n**[ADD]**: When we mouseover the price tag, a tooltip is shown to indicate the computation depending on the quantity like this output :\r\n- 1x -> 100 €\r\n- 3x -> 70 €\r\n- 5x -> 50 €\r\n\r\n![ui-prices](https://cloud.githubusercontent.com/assets/462805/8637787/cd763dee-28a3-11e5-8196-62f9c53f50ee.png)\r\n\r\n**[IMP]** : update readme to indicate the new improvements"},"comment":{"url":"https://api.github.com/repos/OCA/pos/issues/comments/124488714","html_url":"https://github.com/OCA/pos/pull/39#issuecomment-124488714","issue_url":"https://api.github.com/repos/OCA/pos/issues/39","id":124488714,"user":{"login":"antespi","id":1881111,"avatar_url":"https://avatars.githubusercontent.com/u/1881111?v=3","gravatar_id":"","url":"https://api.github.com/users/antespi","html_url":"https://github.com/antespi","followers_url":"https://api.github.com/users/antespi/followers","following_url":"https://api.github.com/users/antespi/following{/other_user}","gists_url":"https://api.github.com/users/antespi/gists{/gist_id}","starred_url":"https://api.github.com/users/antespi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antespi/subscriptions","organizations_url":"https://api.github.com/users/antespi/orgs","repos_url":"https://api.github.com/users/antespi/repos","events_url":"https://api.github.com/users/antespi/events{/privacy}","received_events_url":"https://api.github.com/users/antespi/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T11:26:42Z","updated_at":"2015-07-24T11:26:42Z","body":"@ah-taktik , @pablocm-aserti I'm working on it. I'll do a pull request to your branch. I've done before, it's just copy-paste for me. Wait me some time"}}