{"action":"created","issue":{"url":"https://api.github.com/repos/it-projects-llc/odoo-saas-tools/issues/417","repository_url":"https://api.github.com/repos/it-projects-llc/odoo-saas-tools","labels_url":"https://api.github.com/repos/it-projects-llc/odoo-saas-tools/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/it-projects-llc/odoo-saas-tools/issues/417/comments","events_url":"https://api.github.com/repos/it-projects-llc/odoo-saas-tools/issues/417/events","html_url":"https://github.com/it-projects-llc/odoo-saas-tools/issues/417","id":192741714,"number":417,"title":"Need help cannot access to client db","user":{"login":"W360S","id":8590556,"avatar_url":"https://avatars.githubusercontent.com/u/8590556?v=3","gravatar_id":"","url":"https://api.github.com/users/W360S","html_url":"https://github.com/W360S","followers_url":"https://api.github.com/users/W360S/followers","following_url":"https://api.github.com/users/W360S/following{/other_user}","gists_url":"https://api.github.com/users/W360S/gists{/gist_id}","starred_url":"https://api.github.com/users/W360S/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/W360S/subscriptions","organizations_url":"https://api.github.com/users/W360S/orgs","repos_url":"https://api.github.com/users/W360S/repos","events_url":"https://api.github.com/users/W360S/events{/privacy}","received_events_url":"https://api.github.com/users/W360S/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-01T02:52:52Z","updated_at":"2016-12-03T06:53:07Z","closed_at":"2016-12-03T06:39:40Z","body":"Hello i have problems when try to access to client yesterday it work find but when i comeback to day try to access it show message like this plz help.\r\n```\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/http.py\", line 638, in _handle_exception\r\n    return super(JsonRequest, self)._handle_exception(exception)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/http.py\", line 675, in dispatch\r\n    result = self._call_function(**self.params)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/http.py\", line 331, in _call_function\r\n    return checked_call(self.db, *args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/service/model.py\", line 119, in wrapper\r\n    return f(dbname, *args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/http.py\", line 324, in checked_call\r\n    result = self.endpoint(*a, **kw)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/http.py\", line 933, in __call__\r\n    return self.method(*args, **kw)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/http.py\", line 504, in response_wrap\r\n    response = f(*args, **kw)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py\", line 804, in search_read\r\n    return self.do_search_read(model, fields, offset, limit, domain, sort)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py\", line 826, in do_search_read\r\n    offset=offset or 0, limit=limit or False, order=sort or False)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/models.py\", line 4662, in search_read\r\n    result = records.read(fields)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/models.py\", line 3002, in read\r\n    values[name] = field.convert_to_read(record[name], record, use_name_get)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/models.py\", line 5177, in __getitem__\r\n    return self._fields[key].__get__(self, type(self))\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/fields.py\", line 869, in __get__\r\n    self.determine_value(record)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/fields.py\", line 980, in determine_value\r\n    self.compute_value(recs)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/fields.py\", line 935, in compute_value\r\n    self._compute_value(records)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/fields.py\", line 929, in _compute_value\r\n    self.compute(records)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/fields.py\", line 579, in _compute_related\r\n    other, field = self.traverse_related(other)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/fields.py\", line 568, in traverse_related\r\n    record = record[name][:1]\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/models.py\", line 5177, in __getitem__\r\n    return self._fields[key].__get__(self, type(self))\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/fields.py\", line 869, in __get__\r\n    self.determine_value(record)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/fields.py\", line 971, in determine_value\r\n    record._prefetch_field(self)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/models.py\", line 3051, in _prefetch_field\r\n    result = records.read([f.name for f in fs], load='_classic_write')\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/models.py\", line 2991, in read\r\n    self._read_from_database(stored, inherited)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/models.py\", line 3119, in _read_from_database\r\n    cr.execute(query_str, params)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/sql_db.py\", line 141, in wrapper\r\n    return f(self, *args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/odoo/sql_db.py\", line 218, in execute\r\n    res = self._obj.execute(query, params)\r\nProgrammingError: column saas_portal_client.period does not exist\r\nLINE 1: ...t\".\"expiration_datetime\" as \"expiration_datetime\",\"saas_port...\r\n                                                             ^\r\n```"},"comment":{"url":"https://api.github.com/repos/it-projects-llc/odoo-saas-tools/issues/comments/264621963","html_url":"https://github.com/it-projects-llc/odoo-saas-tools/issues/417#issuecomment-264621963","issue_url":"https://api.github.com/repos/it-projects-llc/odoo-saas-tools/issues/417","id":264621963,"user":{"login":"yelizariev","id":186131,"avatar_url":"https://avatars.githubusercontent.com/u/186131?v=3","gravatar_id":"","url":"https://api.github.com/users/yelizariev","html_url":"https://github.com/yelizariev","followers_url":"https://api.github.com/users/yelizariev/followers","following_url":"https://api.github.com/users/yelizariev/following{/other_user}","gists_url":"https://api.github.com/users/yelizariev/gists{/gist_id}","starred_url":"https://api.github.com/users/yelizariev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yelizariev/subscriptions","organizations_url":"https://api.github.com/users/yelizariev/orgs","repos_url":"https://api.github.com/users/yelizariev/repos","events_url":"https://api.github.com/users/yelizariev/events{/privacy}","received_events_url":"https://api.github.com/users/yelizariev/received_events","type":"User","site_admin":false},"created_at":"2016-12-03T06:53:07Z","updated_at":"2016-12-03T06:53:07Z","body":"For terminal command I answered here: https://github.com/it-projects-llc/odoo-saas-tools/issues/417#issuecomment-264621388\r\n\r\nBut you can update module ``saas_client`` via Upgrade Wizard on SaaS/Clients menu"}}
{"actor":{"display_login":"yelizariev"}}