{"action":"created","issue":{"url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/1049","labels_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/1049/labels{/name}","comments_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/1049/comments","events_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/1049/events","html_url":"https://github.com/odoomrp/odoomrp-wip/issues/1049","id":115457296,"number":1049,"title":"purchase_product_variants error","user":{"login":"Softdil","id":11627953,"avatar_url":"https://avatars.githubusercontent.com/u/11627953?v=3","gravatar_id":"","url":"https://api.github.com/users/Softdil","html_url":"https://github.com/Softdil","followers_url":"https://api.github.com/users/Softdil/followers","following_url":"https://api.github.com/users/Softdil/following{/other_user}","gists_url":"https://api.github.com/users/Softdil/gists{/gist_id}","starred_url":"https://api.github.com/users/Softdil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Softdil/subscriptions","organizations_url":"https://api.github.com/users/Softdil/orgs","repos_url":"https://api.github.com/users/Softdil/repos","events_url":"https://api.github.com/users/Softdil/events{/privacy}","received_events_url":"https://api.github.com/users/Softdil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-06T08:08:19Z","updated_at":"2015-11-06T08:29:16Z","closed_at":null,"body":"Hello,\r\n\r\nI'm having an issue when trying to access to a purchase.order.line with purchase_product_variants module installed:\r\n\r\n`File \"/opt/bitnami/apps/odoo/lib/odoo-8.0_a2115ef-py2.7.egg/openerp/addons/purchase_product_variants/models/purchase_order.py\", line 187, in onchange_product_id\r\n    state=state)\r\nTypeError: onchange_product_id() takes at least 9 arguments (12 given)`\r\n\r\nThe error is in the call to the inherited function:\r\n\r\n`res = super(PurchaseOrderLine, self).onchange_product_id(\r\n    pricelist_id, product_id, qty, uom_id, partner_id,\r\n    date_order=date_order, fiscal_position_id=fiscal_position_id,\r\n    date_planned=date_planned, name=name, price_unit=price_unit,\r\n    state=state)`"},"comment":{"url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/comments/154343558","html_url":"https://github.com/odoomrp/odoomrp-wip/issues/1049#issuecomment-154343558","issue_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/1049","id":154343558,"user":{"login":"Softdil","id":11627953,"avatar_url":"https://avatars.githubusercontent.com/u/11627953?v=3","gravatar_id":"","url":"https://api.github.com/users/Softdil","html_url":"https://github.com/Softdil","followers_url":"https://api.github.com/users/Softdil/followers","following_url":"https://api.github.com/users/Softdil/following{/other_user}","gists_url":"https://api.github.com/users/Softdil/gists{/gist_id}","starred_url":"https://api.github.com/users/Softdil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Softdil/subscriptions","organizations_url":"https://api.github.com/users/Softdil/orgs","repos_url":"https://api.github.com/users/Softdil/repos","events_url":"https://api.github.com/users/Softdil/events{/privacy}","received_events_url":"https://api.github.com/users/Softdil/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T08:29:16Z","updated_at":"2015-11-06T08:29:16Z","body":"Installing warning seems to stop this error... Maybe it should be added as a dependency?"}}