{"push_id":873673208,"size":3,"distinct_size":1,"ref":"refs/heads/master-weight-reporting-2-yti","head":"9c5d4cd60cc414a52c52b0f3d0048be535769838","before":"10959ac867cf7de39bb4a34101738dce73d12539","commits":[{"sha":"1ecba213f4f188ba7a235e0cf4fc029535f0bdba","author":{"email":"200a91eb0e5cc4726d6a3430713b580138f34298@odoo.com","name":"Yannick Tivisse"},"message":"[IMP] Newly created users get all manager access right\n\nComing from a bug in web_settings_dashboard. Invited user didn't have any rights\nwhen created from the dashboard, which was leading to an error.\n\nThis bug leaded to a new discussion. Better to have basic employee having user\nrights for all main applications. For bigger entreprises there is an admin that\nwill carefully remove extra rights, if necessary. The target is small businesses,\nit makes sense that every way to create a user gives the same result.\n\nIn conclusion, each new user has a full access to the applications by default\n\nHow is it implemented ?\nWe added an inactive default user which original access right to the groups\n'base.group_user' and 'base.group_partner_manager' in base. Each\napplication will extend the default user's access right by adding the maximal\naccess right for this application.\n\nOn user creation, we will use by default the 'group_id' field from the default\nuser. We will in the same time remove the ugly 'default_groups_ref' key which\nwas passed sometimes in the context for some fields in some views, and sometimes\nnothing.\n\nSo, the user can modify the access rights for the default user, but he should be\naware that removing project user access rights for a default user will prevent\na *created on the fly in a task* user will not be able to access the task.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/1ecba213f4f188ba7a235e0cf4fc029535f0bdba"},{"sha":"abf30a7f15eea2589d9f5c65668667efb0dff472","author":{"email":"200a91eb0e5cc4726d6a3430713b580138f34298@odoo.com","name":"Yannick Tivisse"},"message":"[REM] Get rid of the ugly 'default_groups_ref' context key\n\nBecause it is useless now with the new behavior brought by the previous commit.\nAll the necessary details are explained in this one.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/abf30a7f15eea2589d9f5c65668667efb0dff472"},{"sha":"9c5d4cd60cc414a52c52b0f3d0048be535769838","author":{"email":"200a91eb0e5cc4726d6a3430713b580138f34298@odoo.com","name":"Yannick Tivisse"},"message":"[IMP] sale,account,mrp_operations,purchase: Add weight and volume on reports","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/9c5d4cd60cc414a52c52b0f3d0048be535769838"}]}