[FIX] the polymorphic widget was not correctly rendered

pull/241/head
jbeficent 2015-10-15 15:50:02 +02:00
parent 99935762e4
commit a718d83a53
1 changed files with 1 additions and 1 deletions

View File

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