{"push_id":715120845,"size":1,"distinct_size":1,"ref":"refs/heads/master-xml-id-delete-jov","head":"5b431ec7c6f1ce8f3d46fab62663f5c9dd6bd21a","before":"cdba0ecb5979232b759cab829d54777e1b0a762c","commits":[{"sha":"5b431ec7c6f1ce8f3d46fab62663f5c9dd6bd21a","author":{"email":"8c699a05c38304827cff61803bc9687ef59fcf8f@odoo.com","name":"Joren Van Onder"},"message":"[IMP] models: add function that checks for associated xml_id before unlinking\n\nUsed when unlinking from web.DataSet. The issue is that some users\ndelete records that are later required by other modules. So although\nduring module installation all dependencies are satisfied, issues will\nstill arise because the modules will be incomplete.\n\nIn order to fix this, we do not allow users to delete records with an\nassociated xml id, because those can be referenced from other modules.","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/5b431ec7c6f1ce8f3d46fab62663f5c9dd6bd21a"}]}