{"action":"created","issue":{"url":"https://api.github.com/repos/OCA/product-attribute/issues/95","labels_url":"https://api.github.com/repos/OCA/product-attribute/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/OCA/product-attribute/issues/95/comments","events_url":"https://api.github.com/repos/OCA/product-attribute/issues/95/events","html_url":"https://github.com/OCA/product-attribute/pull/95","id":105543021,"number":95,"title":"8.0 port product standard price vat incl","user":{"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},"labels":[{"url":"https://api.github.com/repos/OCA/product-attribute/labels/8.0","name":"8.0","color":"000000"},{"url":"https://api.github.com/repos/OCA/product-attribute/labels/needs%20review","name":"needs review","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-09T08:26:52Z","updated_at":"2015-09-11T08:03:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OCA/product-attribute/pulls/95","html_url":"https://github.com/OCA/product-attribute/pull/95","diff_url":"https://github.com/OCA/product-attribute/pull/95.diff","patch_url":"https://github.com/OCA/product-attribute/pull/95.patch"},"body":"I propose in OCA a module that add a standard_price_vat_incl field, based on standard_price and taxes_id fields.\r\nThis is a port of a custom module in V7 (https://github.com/grap/odoo-addons-misc/tree/7.0).\r\n\r\nThis module is usefull in the below setting  \r\n- You set your taxes with VAT included;\r\n- You want to have pricelist based on standard price ; (standard_price + 10%)\r\n\r\nwithout this module, the computed price will be bad, because it will not take into account the vat, so you will sale : standard_price + 10% - VAT ratio. \r\n\r\nReview welcome."},"comment":{"url":"https://api.github.com/repos/OCA/product-attribute/issues/comments/139478568","html_url":"https://github.com/OCA/product-attribute/pull/95#issuecomment-139478568","issue_url":"https://api.github.com/repos/OCA/product-attribute/issues/95","id":139478568,"user":{"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},"created_at":"2015-09-11T08:03:36Z","updated_at":"2015-09-11T08:03:36Z","body":"Hi @pedrobaeza. Thanks a lot for taking time to review my use case.\r\nFor me :\r\n\r\n1. the 'list_price' can be vat excl or var incl depending of taxes configuration. (vat incl used by B2C companies, and vat excl used by B2B companies);\r\n2. the 'standard_price' is for me **allways** vat exc : because :  \r\n    * stock valuation are allways vat exc, and stock valuation are based on standard_price ; \r\n    * by definition, a Cost is vat exc ; (it is what my users say);\r\n    * This kind of module [product_standard_margin] (https://github.com/OCA/margin-analysis/blob/8.0/product_standard_margin/models/product_product.py#L43) should be fixed, if my PoV is wrong. (with replenishment_cost = standard_price [Ref](https://github.com/OCA/margin-analysis/blob/8.0/product_replenishment_cost/models/product_product.py#L34) )\r\n\r\nDid I missed something about that point ?\r\n\r\nBut even I missed something, and it's possible to have standard_price vat incl, it is not my setting.\r\n* All my sale vat are VAT INCL;\r\n* All my purchase vat are VAT EXCL;\r\nThat is for me a valid configuration, and this module allow to use pricelist based on cost (standard_price) in this configuration."}}