mirror of https://github.com/OCA/web.git
[FIX] the polymorphic widget was not correctly rendered
parent
99935762e4
commit
a718d83a53
|
@ -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…
Reference in New Issue