{"action":"created","issue":{"url":"https://api.github.com/repos/lajayuhniyarsyah/ERP-Supra/issues/29","repository_url":"https://api.github.com/repos/lajayuhniyarsyah/ERP-Supra","labels_url":"https://api.github.com/repos/lajayuhniyarsyah/ERP-Supra/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/lajayuhniyarsyah/ERP-Supra/issues/29/comments","events_url":"https://api.github.com/repos/lajayuhniyarsyah/ERP-Supra/issues/29/events","html_url":"https://github.com/lajayuhniyarsyah/ERP-Supra/issues/29","id":132343952,"number":29,"title":"DN - Location Destination dan Source ID belum dinamis","user":{"login":"lajayuhniyarsyah","id":6639871,"avatar_url":"https://avatars.githubusercontent.com/u/6639871?v=3","gravatar_id":"","url":"https://api.github.com/users/lajayuhniyarsyah","html_url":"https://github.com/lajayuhniyarsyah","followers_url":"https://api.github.com/users/lajayuhniyarsyah/followers","following_url":"https://api.github.com/users/lajayuhniyarsyah/following{/other_user}","gists_url":"https://api.github.com/users/lajayuhniyarsyah/gists{/gist_id}","starred_url":"https://api.github.com/users/lajayuhniyarsyah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lajayuhniyarsyah/subscriptions","organizations_url":"https://api.github.com/users/lajayuhniyarsyah/orgs","repos_url":"https://api.github.com/users/lajayuhniyarsyah/repos","events_url":"https://api.github.com/users/lajayuhniyarsyah/events{/privacy}","received_events_url":"https://api.github.com/users/lajayuhniyarsyah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lajayuhniyarsyah/ERP-Supra/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-09T06:39:42Z","updated_at":"2016-02-09T09:43:36Z","closed_at":null,"body":"@ekachandrasetiawan  : Di sbm_delivery_note.py\r\n\r\n@metdod def create_picking(self, cr, uid, ids, context=None):\r\n```python\r\nmove_id = stock_move.create(cr,uid,{\r\n\t\t\t\t\t'name' : x.name.name,\r\n\t\t\t\t\t'origin':val.prepare_id.sale_id.name,\r\n\t\t\t\t\t'product_uos_qty':x.qty,\r\n\t\t\t\t\t'product_uom':x.product_uom.id,\r\n\t\t\t\t\t'prodlot_id':x.prodlot_id.id,\r\n\t\t\t\t\t'product_qty':x.qty,\r\n\t\t\t\t\t'product_uos':x.product_uom.id,\r\n\t\t\t\t\t'partner_id':val.partner_id.id,\r\n\t\t\t\t\t'product_id':x.name.id,\r\n\t\t\t\t\t'auto_validate':False,\r\n\t\t\t\t\t'location_id' :12,\r\n\t\t\t\t\t'company_id':1,\r\n\t\t\t\t\t'picking_id': picking,\r\n\t\t\t\t\t'state':'draft',\r\n\t\t\t\t\t'location_dest_id' :9\r\n\t\t\t\t\t},context=context)\r\n```\r\n\r\n\r\nlocation_dest_id = 9\r\n\r\n9 == Customer Location\r\n\r\nCustomer Location punya xml_id = stock.stock_location_customers\r\n\r\n\r\n- [ ] \r\n\r\n\r\n@ekachandrasetiawan  : Di method yang sama\r\n\r\n```python\r\n'location_id' :12,\r\n```\r\n\r\n12 == HO\r\nDi ubah menjadi sale.order.material.line.picking_location\r\n\r\n- [ ] \r\n"},"comment":{"url":"https://api.github.com/repos/lajayuhniyarsyah/ERP-Supra/issues/comments/181785143","html_url":"https://github.com/lajayuhniyarsyah/ERP-Supra/issues/29#issuecomment-181785143","issue_url":"https://api.github.com/repos/lajayuhniyarsyah/ERP-Supra/issues/29","id":181785143,"user":{"login":"ekachandrasetiawan","id":5061661,"avatar_url":"https://avatars.githubusercontent.com/u/5061661?v=3","gravatar_id":"","url":"https://api.github.com/users/ekachandrasetiawan","html_url":"https://github.com/ekachandrasetiawan","followers_url":"https://api.github.com/users/ekachandrasetiawan/followers","following_url":"https://api.github.com/users/ekachandrasetiawan/following{/other_user}","gists_url":"https://api.github.com/users/ekachandrasetiawan/gists{/gist_id}","starred_url":"https://api.github.com/users/ekachandrasetiawan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekachandrasetiawan/subscriptions","organizations_url":"https://api.github.com/users/ekachandrasetiawan/orgs","repos_url":"https://api.github.com/users/ekachandrasetiawan/repos","events_url":"https://api.github.com/users/ekachandrasetiawan/events{/privacy}","received_events_url":"https://api.github.com/users/ekachandrasetiawan/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T09:43:36Z","updated_at":"2016-02-09T09:43:36Z","body":"Penyesuaian Location \r\nhttps://github.com/ekachandrasetiawan/ERP-Supra/commit/3fc89fc20b0a74c3bf73fe5b26ca375aec2b1af1"}}