{"action":"created","issue":{"url":"https://api.github.com/repos/OCA/connector-telephony/issues/107","repository_url":"https://api.github.com/repos/OCA/connector-telephony","labels_url":"https://api.github.com/repos/OCA/connector-telephony/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/OCA/connector-telephony/issues/107/comments","events_url":"https://api.github.com/repos/OCA/connector-telephony/issues/107/events","html_url":"https://github.com/OCA/connector-telephony/pull/107","id":181828842,"number":107,"title":"[MIG] Migrated base_phone to v10.0","user":{"login":"sylvain-garancher","id":2804014,"avatar_url":"https://avatars.githubusercontent.com/u/2804014?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvain-garancher","html_url":"https://github.com/sylvain-garancher","followers_url":"https://api.github.com/users/sylvain-garancher/followers","following_url":"https://api.github.com/users/sylvain-garancher/following{/other_user}","gists_url":"https://api.github.com/users/sylvain-garancher/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvain-garancher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvain-garancher/subscriptions","organizations_url":"https://api.github.com/users/sylvain-garancher/orgs","repos_url":"https://api.github.com/users/sylvain-garancher/repos","events_url":"https://api.github.com/users/sylvain-garancher/events{/privacy}","received_events_url":"https://api.github.com/users/sylvain-garancher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-08T14:25:51Z","updated_at":"2016-10-15T09:13:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OCA/connector-telephony/pulls/107","html_url":"https://github.com/OCA/connector-telephony/pull/107","diff_url":"https://github.com/OCA/connector-telephony/pull/107.diff","patch_url":"https://github.com/OCA/connector-telephony/pull/107.patch"},"body":"Some notes about the migration :\r\n- The phone and fax widgets are now extending the email widget in Javascript, to beneft from the prefix attribute.\r\n- In XML, the widgets' templates extend FieldEmail using t-call instead of t-extend because the later doesn't seem to work (maybe a standard Odoo bug).\r\n- Click2dial part still untested."},"comment":{"url":"https://api.github.com/repos/OCA/connector-telephony/issues/comments/253972524","html_url":"https://github.com/OCA/connector-telephony/pull/107#issuecomment-253972524","issue_url":"https://api.github.com/repos/OCA/connector-telephony/issues/107","id":253972524,"user":{"login":"alexis-via","id":1157917,"avatar_url":"https://avatars.githubusercontent.com/u/1157917?v=3","gravatar_id":"","url":"https://api.github.com/users/alexis-via","html_url":"https://github.com/alexis-via","followers_url":"https://api.github.com/users/alexis-via/followers","following_url":"https://api.github.com/users/alexis-via/following{/other_user}","gists_url":"https://api.github.com/users/alexis-via/gists{/gist_id}","starred_url":"https://api.github.com/users/alexis-via/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexis-via/subscriptions","organizations_url":"https://api.github.com/users/alexis-via/orgs","repos_url":"https://api.github.com/users/alexis-via/repos","events_url":"https://api.github.com/users/alexis-via/events{/privacy}","received_events_url":"https://api.github.com/users/alexis-via/received_events","type":"User","site_admin":false},"created_at":"2016-10-15T09:13:29Z","updated_at":"2016-10-15T09:13:29Z","body":"@sylvain-garancher It's great that you found a solution to avoid inheriting the views to add widget=\"phone\" or widget=\"fax\"... something I wanted to do for a long time (or at least since v9).\r\n\r\nI tried your latest code, but when I try to access the form view of a partner, I get a JS error\r\n\"TypeError: phone_num.replace is not a function\""}}
{"actor":{"display_login":"alexis-via"}}