flectra/addons/web/doc/module/28
flectra-admin 769eafb483 [INIT] Inception of Flectra from Odoo
Flectra is Forked from Odoo v11 commit : (6135e82d73)
2018-01-16 11:45:59 +05:30

14 lines
584 B
Plaintext

Index: web_example/static/src/js/first_module.js
===================================================================
--- web_example.orig/static/src/js/first_module.js
+++ web_example/static/src/js/first_module.js
@@ -66,7 +66,7 @@ openerp.web_example = function (instance
user_id: instance.session.uid,
time: time,
};
- this.model.call('create', [record]).done(function () {
+ return this.model.call('create', [record]).done(function () {
self.display_record(record);
});
},