{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/12397","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/12397/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/12397/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/12397/events","html_url":"https://github.com/odoo/odoo/pull/12397","id":160011545,"number":12397,"title":"[FIX] Preserve default value for 'name' in product.template's copy()","user":{"login":"StefanRijnhart","id":1033124,"avatar_url":"https://avatars.githubusercontent.com/u/1033124?v=3","gravatar_id":"","url":"https://api.github.com/users/StefanRijnhart","html_url":"https://github.com/StefanRijnhart","followers_url":"https://api.github.com/users/StefanRijnhart/followers","following_url":"https://api.github.com/users/StefanRijnhart/following{/other_user}","gists_url":"https://api.github.com/users/StefanRijnhart/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanRijnhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanRijnhart/subscriptions","organizations_url":"https://api.github.com/users/StefanRijnhart/orgs","repos_url":"https://api.github.com/users/StefanRijnhart/repos","events_url":"https://api.github.com/users/StefanRijnhart/events{/privacy}","received_events_url":"https://api.github.com/users/StefanRijnhart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-13T18:11:23Z","updated_at":"2016-06-13T19:49:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/12397","html_url":"https://github.com/odoo/odoo/pull/12397","diff_url":"https://github.com/odoo/odoo/pull/12397.diff","patch_url":"https://github.com/odoo/odoo/pull/12397.patch"},"body":"Description of the issue/feature this PR addresses:\r\nWhen programmaticaly copying a product template, any specified name in the default dictionary is overwritten by <original name> + (Copy).\r\n\r\nCurrent behavior before PR:\r\nWhen programmaticaly copying a product template, any specified name in the default dictionary is overwritten by <original name> + (Copy).\r\n\r\nDesired behavior after PR is merged:\r\nWhen programmaticaly copying a product template, any specified name in the default dictionary is preserved.\r\n\r\n\r\n--\r\nI confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/225688100","html_url":"https://github.com/odoo/odoo/pull/12397#issuecomment-225688100","issue_url":"https://api.github.com/repos/odoo/odoo/issues/12397","id":225688100,"user":{"login":"Yenthe666","id":6352350,"avatar_url":"https://avatars.githubusercontent.com/u/6352350?v=3","gravatar_id":"","url":"https://api.github.com/users/Yenthe666","html_url":"https://github.com/Yenthe666","followers_url":"https://api.github.com/users/Yenthe666/followers","following_url":"https://api.github.com/users/Yenthe666/following{/other_user}","gists_url":"https://api.github.com/users/Yenthe666/gists{/gist_id}","starred_url":"https://api.github.com/users/Yenthe666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yenthe666/subscriptions","organizations_url":"https://api.github.com/users/Yenthe666/orgs","repos_url":"https://api.github.com/users/Yenthe666/repos","events_url":"https://api.github.com/users/Yenthe666/events{/privacy}","received_events_url":"https://api.github.com/users/Yenthe666/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T19:49:13Z","updated_at":"2016-06-13T19:49:13Z","body":"@mart-e have a look at this one? I like it. The (copy) has no use."}}
{"actor":{"display_login":"Yenthe666"}}