Public bug reported: Hi,
When entering purchase orders we get osv.except_osv raised because of some refactoring regression in the onchange_product_id function which mistakenly searches for the product_id in the table 'product.supplierinfo' which has a link to 'product.template' and NOT a 'product.product'. (See http://bazaar.launchpad.net/~openerp/openobject- addons/6.1/view/head:/purchase/purchase.py#L780 ) If you are not using product variants the error will not be easily spotted. Note that this bug seemed to have fallen between test scenarios ? Regression occurred in : [email protected] ** Affects: openobject-addons Importance: Undecided Status: New ** Description changed: Hi, - When entering purchase orders we get errors because of some refactoring - regression in the onchange_product_id function which mistakenly searches - for the product_id in the table 'product.supplierinfo' which has a link - to 'product.template' and NOT a 'product.product'. (See - http://bazaar.launchpad.net/~openerp/openobject- + When entering purchase orders we get osv.except_osv raised because of + some refactoring regression in the onchange_product_id function which + mistakenly searches for the product_id in the table + 'product.supplierinfo' which has a link to 'product.template' and NOT a + 'product.product'. (See http://bazaar.launchpad.net/~openerp/openobject- addons/6.1/view/head:/purchase/purchase.py#L780 ) If you are not using product variants the error will not be easily spotted. Note that this bug seemed to have fallen between test scenarios ? Regression occurred in : [email protected] -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/1048547 Title: [6.1] purchase: changing a product uses wrong supplier info data Status in OpenERP Addons (modules): New Bug description: Hi, When entering purchase orders we get osv.except_osv raised because of some refactoring regression in the onchange_product_id function which mistakenly searches for the product_id in the table 'product.supplierinfo' which has a link to 'product.template' and NOT a 'product.product'. (See http://bazaar.launchpad.net/~openerp /openobject-addons/6.1/view/head:/purchase/purchase.py#L780 ) If you are not using product variants the error will not be easily spotted. Note that this bug seemed to have fallen between test scenarios ? Regression occurred in : [email protected] To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/1048547/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

