Merge pull request #241 from Eficent/7.0-web_polymorphic_many2one_fix

[FIX] the polymorphic widget was not correctly rendered
This commit is contained in:
Pedro M. Baeza
2016-07-25 11:14:10 +02:00
committed by GitHub

View File

@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
openerp.web_polymorphic = function (instance) {
openerp.web_polymorphic_many2one = function (instance) {
instance.web.form.FieldPolymorphic = instance.web.form.FieldMany2One.extend( {
template: "FieldMany2One",
events: {