{"push_id":2348835996,"size":4,"distinct_size":1,"ref":"refs/heads/9.0","head":"a3fe2b973c077f314d3d6e0e1a3a0c89ce7d8740","before":"b6293f7749a6c6ef2e634ae9477e82c7038e43c9","commits":[{"sha":"2120e667b9098a6a74788d8311bd2833a65c6ac8","author":{"name":"Romain Derie","email":"0021a8f956f400ccdaa0730c570fbabda1fd62ab@odoo.com"},"message":"[FIX] website_sale: variants view, currency price and price diff\n\nBefore this commit:\n1. When enabling 'List View of Variants' on a product page, it would not\n   replace the variant normal view as it should since the code being replaced\n   is included in the code replacing it.\n2.The badge specifying the price difference between the variance and the\n  product base price would be calculated by taking the price_extra of the\n  variance attribute and converting it in the user currency which was not\n  correct if a pricelist was set on the product variant because the price diff\n  would then be (the variant price set on the pricelist) - (product base price)\n  Note: this is about the 'List View of Variants' mode, not the normal mode\n        which list variant attribute and not variant itself\n3. The strikethrough amount was not in the user currency\n\nStep to reproduce:\n  - Enable variants & pricelists\n  - Enable multi-currency and activate 'COP' as second currency (you may want\n    to change the currency symbol on edit mode since it is also '$')\n  - Go to iPad Retina Display product page in shop\n  - Enable 'List View of Variants' in 'Customize'\n  - Both Variants selection mode are visible (bug 1)\n  - The third variant shows '+$ 50.40' which is the diff between the\n    strikethrough prices (in fact the sum of the price_extra of the product\n    variant attributes, +50,40 on the 32GO attribute in this case)\n    It should show '+$ 40.32' since the price change from $600 to $640.32.\n    This is bug n°2\n  - Change Public Pricelist currency from USD to COP\n  - Back on iPad page, change between the 3 product variants, you will see\n    the $ price strikedthrough instead of the COP one:\n    Strikedthrough: 750 (it should be 1 714 491,47)\n    Price: 1 371 593,17\n    This is bug 3\n  - You can notice the bug n°2 being more visible since it shows\n    '+$ 115 213,83' instead of '+ 92 171.07'\n  - Remove the iPad Retina from Public Pricelist and add iPad Retina 32Go\n    variant to it with a fix price of $1 000 000.\n  - '32Gb, 2.4GHz, White' variant cost $1 000 000 but shows '+ 115 213.83'\n    instead of '- 714 491.47' since the base price of Retina is\n    '1 714 491.47'.\n  - You can play with the pricelist price for this variant up and down, the\n    diff price shown in the badge will always be 115 213.83 since it will\n    always calculate it by summing all the variant's attribute price_extra\n    and then converting it to the user currency.\n\nThis closes #14094, closes #22553","distinct":false,"url":"https://api.github.com/repos/OCA/OCB/commits/2120e667b9098a6a74788d8311bd2833a65c6ac8"},{"sha":"d6174dd226cff03c84f87b5c6af7024979599023","author":{"name":"Swapnesh Shah","email":"2920fa4a5cd82e55cc9ed1375fa848fc458eca44@gmail.com"},"message":"[Fix]mrp: Removed unused copy_data method","distinct":false,"url":"https://api.github.com/repos/OCA/OCB/commits/d6174dd226cff03c84f87b5c6af7024979599023"},{"sha":"4432e1d5c39551a40ccfba168ed85fe1d3564c28","author":{"name":"Christophe Simonis","email":"84bba2d08f6fd6acde0684f0160e633f516e3b61@odoo.com"},"message":"[FIX] project: do not reset task's partner when changing project if project is not linked to a specific partner","distinct":false,"url":"https://api.github.com/repos/OCA/OCB/commits/4432e1d5c39551a40ccfba168ed85fe1d3564c28"},{"sha":"a3fe2b973c077f314d3d6e0e1a3a0c89ce7d8740","author":{"name":"OCA Git Bot","email":"9a699c83eeeb6a2335413960be0ba1035ef7dea9@odoo-community.org"},"message":"Merge remote-tracking branch 'odoo/9.0' into 9.0","distinct":true,"url":"https://api.github.com/repos/OCA/OCB/commits/a3fe2b973c077f314d3d6e0e1a3a0c89ce7d8740"}]}
{"actor":{"display_login":"OCA-git-bot"}}