Browse Source

[FIX] the polymorphic widget was not correctly rendered

pull/241/head
jbeficent 9 years ago
parent
commit
a718d83a53
  1. 2
      web_polymorphic_many2one/static/src/js/view_form.js

2
web_polymorphic_many2one/static/src/js/view_form.js

@ -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: {

Loading…
Cancel
Save