Browse Source

Merge pull request #241 from Eficent/7.0-web_polymorphic_many2one_fix

[FIX] the polymorphic widget was not correctly rendered
pull/421/head
Pedro M. Baeza 8 years ago
committed by GitHub
parent
commit
ecaa4f7baf
  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/>.
*
******************************************************************************/
openerp.web_polymorphic = function (instance) {
openerp.web_polymorphic_many2one = function (instance) {
instance.web.form.FieldPolymorphic = instance.web.form.FieldMany2One.extend( {
template: "FieldMany2One",
events: {

Loading…
Cancel
Save