{"action":"opened","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/26026","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/26026/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/26026/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/26026/events","html_url":"https://github.com/odoo/odoo/issues/26026","id":345304285,"node_id":"MDU6SXNzdWUzNDUzMDQyODU=","number":26026,"title":"[11.0] RecursionError: maximum recursion depth exceeded on Pricelist miss-configuration","user":{"login":"sswapnesh","id":16624719,"node_id":"MDQ6VXNlcjE2NjI0NzE5","avatar_url":"https://avatars1.githubusercontent.com/u/16624719?v=4","gravatar_id":"","url":"https://api.github.com/users/sswapnesh","html_url":"https://github.com/sswapnesh","followers_url":"https://api.github.com/users/sswapnesh/followers","following_url":"https://api.github.com/users/sswapnesh/following{/other_user}","gists_url":"https://api.github.com/users/sswapnesh/gists{/gist_id}","starred_url":"https://api.github.com/users/sswapnesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sswapnesh/subscriptions","organizations_url":"https://api.github.com/users/sswapnesh/orgs","repos_url":"https://api.github.com/users/sswapnesh/repos","events_url":"https://api.github.com/users/sswapnesh/events{/privacy}","received_events_url":"https://api.github.com/users/sswapnesh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-27T17:20:24Z","updated_at":"2018-07-27T17:20:24Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Impacted versions: 11.0  (Probably all)\r\n\r\nSteps to reproduce: Create Pricelist A Depends on B\r\nEdit Pricelist B and make it depends on A\r\n![p2](https://user-images.githubusercontent.com/16624719/43336202-23358738-91ee-11e8-9154-32c44ae465a0.png)\r\n\r\n![](https://image.prntscr.com/image/3tM4fnD8Thu_VTF8JIsCKg.png)\r\n\r\n\r\nAssign it to Customer (or Calculate Price using it)\r\nCurrent behaviour:\r\nIn Quotation\r\n![p3](https://user-images.githubusercontent.com/16624719/43336408-745ad4e2-91ee-11e8-9f9f-a9da5e758616.png)\r\n\r\nOn `/shop` page\r\n```\r\nRecursionError: maximum recursion depth exceeded\r\nTemplate: website_sale.products_item\r\nPath: /templates/t/form/div/section/div/b/t\r\nNode: <t t-if=\"product.website_price_difference and website.get_current_pricelist().discount_policy=='without_discount'\">\r\n                                <del class=\"text-danger mr8\" style=\"white-space: nowrap;\" t-esc=\"compute_currency(product.website_public_price)\" t-options=\"{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}\"/>\r\n                            </t>\r\n\r\n```                          \r\n\r\nExpected behavior:\r\nMiss-configuration should not be allowed. (should be Validation Error in such cases)\r\nVideo/Screenshot link (optional):\r\n\r\n"}}
{"actor":{"display_login":"sswapnesh"}}