{"action":"created","issue":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/3032","labels_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/3032/labels{/name}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/3032/comments","events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/3032/events","html_url":"https://github.com/PrestaShop/PrestaShop/pull/3032","id":77572834,"number":3032,"title":"[+] PDF: Keep invoice and delivery address for invoicing","user":{"login":"julienbourdeau","id":1525636,"avatar_url":"https://avatars.githubusercontent.com/u/1525636?v=3","gravatar_id":"","url":"https://api.github.com/users/julienbourdeau","html_url":"https://github.com/julienbourdeau","followers_url":"https://api.github.com/users/julienbourdeau/followers","following_url":"https://api.github.com/users/julienbourdeau/following{/other_user}","gists_url":"https://api.github.com/users/julienbourdeau/gists{/gist_id}","starred_url":"https://api.github.com/users/julienbourdeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienbourdeau/subscriptions","organizations_url":"https://api.github.com/users/julienbourdeau/orgs","repos_url":"https://api.github.com/users/julienbourdeau/repos","events_url":"https://api.github.com/users/julienbourdeau/events{/privacy}","received_events_url":"https://api.github.com/users/julienbourdeau/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-18T09:10:59Z","updated_at":"2015-09-05T16:17:49Z","closed_at":"2015-05-18T09:59:23Z","pull_request":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/3032","html_url":"https://github.com/PrestaShop/PrestaShop/pull/3032","diff_url":"https://github.com/PrestaShop/PrestaShop/pull/3032.diff","patch_url":"https://github.com/PrestaShop/PrestaShop/pull/3032.patch"},"body":"If the customer update his address after order were placed. We will keep using his old (and correct) address for invoicing.\r\nThis is a legal requirement since addresses matter for tax calculation.\r\n\r\nSee related commit https://github.com/PrestaShop/PrestaShop/commit/d4bd0a0bf45e98b0dacfc2d41607a14105e92f67"},"comment":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/comments/137972167","html_url":"https://github.com/PrestaShop/PrestaShop/pull/3032#issuecomment-137972167","issue_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/3032","id":137972167,"user":{"login":"Smiles-v","id":14138585,"avatar_url":"https://avatars.githubusercontent.com/u/14138585?v=3","gravatar_id":"","url":"https://api.github.com/users/Smiles-v","html_url":"https://github.com/Smiles-v","followers_url":"https://api.github.com/users/Smiles-v/followers","following_url":"https://api.github.com/users/Smiles-v/following{/other_user}","gists_url":"https://api.github.com/users/Smiles-v/gists{/gist_id}","starred_url":"https://api.github.com/users/Smiles-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smiles-v/subscriptions","organizations_url":"https://api.github.com/users/Smiles-v/orgs","repos_url":"https://api.github.com/users/Smiles-v/repos","events_url":"https://api.github.com/users/Smiles-v/events{/privacy}","received_events_url":"https://api.github.com/users/Smiles-v/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T16:17:49Z","updated_at":"2015-09-05T16:17:49Z","body":"Tnx, yeah i would love to remove this commit but i dont have the knowhow to do that... It is a good sugestion to let invoices be generated after shipment but this is not ideal as explained before and partly removes the need to get this properly solved. \r\n\r\nIndeed it is also a waste of space in the DB. Every address with an order is a new one with a customer while it might be a not existing address. \r\n\r\nEven worse i found out that customers can also see those addresses. As example: \r\nA customer calls me, I change the address for him. Then a extra adres is made. Causing the customer to see the wrong and updated address! Making it possible for the customer to make this error agian.\r\n\r\nNot sure if this problem is introduced with this solution or it was there already.... \r\n\r\n"}}