{"action":"created","issue":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2534","labels_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2534/labels{/name}","comments_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2534/comments","events_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2534/events","html_url":"https://github.com/Dolibarr/dolibarr/issues/2534","id":66046021,"number":2534,"title":"Bug: SQL error when editing a supplier invoice line","user":{"login":"marcosgdf","id":168744,"avatar_url":"https://avatars.githubusercontent.com/u/168744?v=3","gravatar_id":"","url":"https://api.github.com/users/marcosgdf","html_url":"https://github.com/marcosgdf","followers_url":"https://api.github.com/users/marcosgdf/followers","following_url":"https://api.github.com/users/marcosgdf/following{/other_user}","gists_url":"https://api.github.com/users/marcosgdf/gists{/gist_id}","starred_url":"https://api.github.com/users/marcosgdf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcosgdf/subscriptions","organizations_url":"https://api.github.com/users/marcosgdf/orgs","repos_url":"https://api.github.com/users/marcosgdf/repos","events_url":"https://api.github.com/users/marcosgdf/events{/privacy}","received_events_url":"https://api.github.com/users/marcosgdf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-03T01:16:18Z","updated_at":"2015-04-07T16:05:05Z","closed_at":"2015-04-07T16:05:05Z","body":"Version: 3.6.2\r\n\r\nSteps to reproduce:\r\n1. Create a supplier invoice\r\n2. Create a line with some discount\r\n3. Edit the line and remove the discount\r\n\r\n```\r\nYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' tva_tx = 21, localtax1_tx = 0, localtax2_tx = 0, localtax1_type = '3', localtax' at line 1\r\n```"},"comment":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/comments/90622452","html_url":"https://github.com/Dolibarr/dolibarr/issues/2534#issuecomment-90622452","issue_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/2534","id":90622452,"user":{"login":"eldy","id":883887,"avatar_url":"https://avatars.githubusercontent.com/u/883887?v=3","gravatar_id":"","url":"https://api.github.com/users/eldy","html_url":"https://github.com/eldy","followers_url":"https://api.github.com/users/eldy/followers","following_url":"https://api.github.com/users/eldy/following{/other_user}","gists_url":"https://api.github.com/users/eldy/gists{/gist_id}","starred_url":"https://api.github.com/users/eldy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eldy/subscriptions","organizations_url":"https://api.github.com/users/eldy/orgs","repos_url":"https://api.github.com/users/eldy/repos","events_url":"https://api.github.com/users/eldy/events{/privacy}","received_events_url":"https://api.github.com/users/eldy/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T16:05:05Z","updated_at":"2015-04-07T16:05:05Z","body":"Fix merged"}}