{"action":"created","issue":{"url":"https://api.github.com/repos/clouder-community/clouder/issues/57","labels_url":"https://api.github.com/repos/clouder-community/clouder/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/clouder-community/clouder/issues/57/comments","events_url":"https://api.github.com/repos/clouder-community/clouder/issues/57/events","html_url":"https://github.com/clouder-community/clouder/issues/57","id":115855504,"number":57,"title":"Error when deploy odoo container","user":{"login":"ChristopherPa","id":15728123,"avatar_url":"https://avatars.githubusercontent.com/u/15728123?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristopherPa","html_url":"https://github.com/ChristopherPa","followers_url":"https://api.github.com/users/ChristopherPa/followers","following_url":"https://api.github.com/users/ChristopherPa/following{/other_user}","gists_url":"https://api.github.com/users/ChristopherPa/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopherPa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopherPa/subscriptions","organizations_url":"https://api.github.com/users/ChristopherPa/orgs","repos_url":"https://api.github.com/users/ChristopherPa/repos","events_url":"https://api.github.com/users/ChristopherPa/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopherPa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-11-09T11:16:47Z","updated_at":"2015-11-13T14:27:37Z","closed_at":null,"body":"Hi,\r\n\r\nI get this error when i try to deploy the odoo or clouder container:\r\n\r\n> ValidateError\r\n>Error while validating constraint\r\n>Data error!\r\n>You need to specify a link to Clouder for the container local-clouder.\r\n\r\nThe Logfile shows:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/opt/odoo/odoo/openerp/http.py\", line 537, in _handle_exception\r\n    return super(JsonRequest, self)._handle_exception(exception)\r\n  File \"/opt/odoo/odoo/openerp/http.py\", line 574, in dispatch\r\n    result = self._call_function(**self.params)\r\n  File \"/opt/odoo/odoo/openerp/http.py\", line 310, in _call_function\r\n    return checked_call(self.db, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/openerp/service/model.py\", line 113, in wrapper\r\n    return f(dbname, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/openerp/http.py\", line 307, in checked_call\r\n    return self.endpoint(*a, **kw)\r\n  File \"/opt/odoo/odoo/openerp/http.py\", line 803, in __call__\r\n    return self.method(*args, **kw)\r\n  File \"/opt/odoo/odoo/openerp/http.py\", line 403, in response_wrap\r\n    response = f(*args, **kw)\r\n  File \"/opt/odoo/odoo/addons/web/controllers/main.py\", line 948, in call_kw\r\n    return self._call_kw(model, method, args, kwargs)\r\n  File \"/opt/odoo/odoo/addons/web/controllers/main.py\", line 940, in _call_kw\r\n    return checked_call(request.db, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/openerp/service/model.py\", line 113, in wrapper\r\n    return f(dbname, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/addons/web/controllers/main.py\", line 939, in checked_call\r\n    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/openerp/api.py\", line 250, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/openerp/api.py\", line 345, in old_api\r\n    result = method(recs, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/addons/clouder/clouder_model.py\", line 307, in create\r\n    res = super(ClouderModel, self).create(vals)\r\n  File \"/opt/odoo/odoo/openerp/api.py\", line 248, in wrapper\r\n    return new_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/openerp/models.py\", line 4092, in create\r\n    record = self.browse(self._create(old_vals))\r\n  File \"/opt/odoo/odoo/openerp/api.py\", line 248, in wrapper\r\n    return new_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/openerp/api.py\", line 481, in new_api\r\n    result = method(self._model, cr, uid, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/openerp/models.py\", line 4277, in _create\r\n    result += self._columns[field].set(cr, self, id_new, field, vals[field], user, rel_context) or []\r\n  File \"/opt/odoo/odoo/openerp/osv/fields.py\", line 801, in set\r\n    id_new = obj.create(cr, user, act[2], context=context)\r\n  File \"/opt/odoo/odoo/openerp/api.py\", line 250, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/openerp/api.py\", line 345, in old_api\r\n    result = method(recs, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/addons/clouder/clouder_model.py\", line 307, in create\r\n    res = super(ClouderModel, self).create(vals)\r\n  File \"/opt/odoo/odoo/openerp/api.py\", line 248, in wrapper\r\n    return new_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/openerp/models.py\", line 4092, in create\r\n    record = self.browse(self._create(old_vals))\r\n  File \"/opt/odoo/odoo/openerp/api.py\", line 248, in wrapper\r\n    return new_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/openerp/api.py\", line 481, in new_api\r\n    result = method(self._model, cr, uid, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/openerp/models.py\", line 4283, in _create\r\n    recs._validate_fields(vals)\r\n  File \"/opt/odoo/odoo/openerp/api.py\", line 248, in wrapper\r\n    return new_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/odoo/openerp/models.py\", line 1282, in _validate_fields\r\n    raise ValidationError(\"Error while validating constraint\\n\\n%s\" % tools.ustr(e))\r\nValidationError: ('ValidateError', u'Error while validating constraint\\n\\nData error!\\nYou need to specify a link to Clouder for the container local-clouder')\r\n```\r\n\r\nthx for your help.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/clouder-community/clouder/issues/comments/156446880","html_url":"https://github.com/clouder-community/clouder/issues/57#issuecomment-156446880","issue_url":"https://api.github.com/repos/clouder-community/clouder/issues/57","id":156446880,"user":{"login":"ErrafayM","id":12828456,"avatar_url":"https://avatars.githubusercontent.com/u/12828456?v=3","gravatar_id":"","url":"https://api.github.com/users/ErrafayM","html_url":"https://github.com/ErrafayM","followers_url":"https://api.github.com/users/ErrafayM/followers","following_url":"https://api.github.com/users/ErrafayM/following{/other_user}","gists_url":"https://api.github.com/users/ErrafayM/gists{/gist_id}","starred_url":"https://api.github.com/users/ErrafayM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErrafayM/subscriptions","organizations_url":"https://api.github.com/users/ErrafayM/orgs","repos_url":"https://api.github.com/users/ErrafayM/repos","events_url":"https://api.github.com/users/ErrafayM/events{/privacy}","received_events_url":"https://api.github.com/users/ErrafayM/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T14:27:37Z","updated_at":"2015-11-13T14:27:37Z","body":"Are you sure you did this ? Remove Shinken from Odoo Application & also same on Clouder ? \r\nBecause i did it and worked for me .\r\n![removefromapplication](https://cloud.githubusercontent.com/assets/12828456/11148112/92add872-8a12-11e5-8fe9-a128ba20f16a.png)\r\n"}}