{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/24067","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/24067/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/24067/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/24067/events","html_url":"https://github.com/odoo/odoo/issues/24067","id":311653379,"number":24067,"title":"[10.0] Custom financial report actions/menu's are deleted after updating Odoo","user":{"login":"Yenthe666","id":6352350,"avatar_url":"https://avatars3.githubusercontent.com/u/6352350?v=4","gravatar_id":"","url":"https://api.github.com/users/Yenthe666","html_url":"https://github.com/Yenthe666","followers_url":"https://api.github.com/users/Yenthe666/followers","following_url":"https://api.github.com/users/Yenthe666/following{/other_user}","gists_url":"https://api.github.com/users/Yenthe666/gists{/gist_id}","starred_url":"https://api.github.com/users/Yenthe666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yenthe666/subscriptions","organizations_url":"https://api.github.com/users/Yenthe666/orgs","repos_url":"https://api.github.com/users/Yenthe666/repos","events_url":"https://api.github.com/users/Yenthe666/events{/privacy}","received_events_url":"https://api.github.com/users/Yenthe666/received_events","type":"User","site_admin":false},"labels":[{"id":712046916,"url":"https://api.github.com/repos/odoo/odoo/labels/10.0","name":"10.0","color":"f1d91f","default":false},{"id":620800387,"url":"https://api.github.com/repos/odoo/odoo/labels/Accounting","name":"Accounting","color":"ac0000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-05T15:15:02Z","updated_at":"2018-04-05T15:16:46Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Impacted versions: 10.0 atleast\r\n\r\nSteps to reproduce:\r\n1. Create a new database and install an accounting chart, for example `l10n_nl`\r\n2. Make sure the option \"Get dynamic accounting reports\" is checked on under `Accounting > Configuration > Settings`\r\n3. Go to `Accounting > Configuration > Management > Financial reports`\r\n4. Create a new financial report, for example `P&L 2018`:\r\n![image](https://user-images.githubusercontent.com/6352350/38374430-e2667daa-38f3-11e8-8c69-875a014143d9.png)\r\n5. Refresh your Odoo and behold the new menu automatically being added (with the correct menuitem and action created in the Odoo database automatically):\r\n![image](https://user-images.githubusercontent.com/6352350/38374525-26383b72-38f4-11e8-9590-c77af12f0a33.png)\r\n6. Update your whole database from the command line with `-u all`\r\n7. Go back to `Accounting` and have a look at the menuitem, the menu is now gone all of a sudden:\r\n![image](https://user-images.githubusercontent.com/6352350/38374736-b8659436-38f4-11e8-8df3-464a523d106d.png)\r\n\r\nCurrent behavior:\r\nThe action and the menuitem are dropped automatically by Odoo when you do a `-u all`, the report itself is kept in the database but is no longer linked to anything so that it shows up to the enduser.\r\n\r\nExpected behavior:\r\nBoth the action and the menuitem are no longer deleted and protected by the system for future use.\r\n"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/378972369","html_url":"https://github.com/odoo/odoo/issues/24067#issuecomment-378972369","issue_url":"https://api.github.com/repos/odoo/odoo/issues/24067","id":378972369,"user":{"login":"Yenthe666","id":6352350,"avatar_url":"https://avatars3.githubusercontent.com/u/6352350?v=4","gravatar_id":"","url":"https://api.github.com/users/Yenthe666","html_url":"https://github.com/Yenthe666","followers_url":"https://api.github.com/users/Yenthe666/followers","following_url":"https://api.github.com/users/Yenthe666/following{/other_user}","gists_url":"https://api.github.com/users/Yenthe666/gists{/gist_id}","starred_url":"https://api.github.com/users/Yenthe666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yenthe666/subscriptions","organizations_url":"https://api.github.com/users/Yenthe666/orgs","repos_url":"https://api.github.com/users/Yenthe666/repos","events_url":"https://api.github.com/users/Yenthe666/events{/privacy}","received_events_url":"https://api.github.com/users/Yenthe666/received_events","type":"User","site_admin":false},"created_at":"2018-04-05T15:16:46Z","updated_at":"2018-04-05T15:16:46Z","author_association":"CONTRIBUTOR","body":"Official ticket created. OPW 1834222"}}
{"actor":{"display_login":"Yenthe666"}}