[FIX] readme sample

This commit is contained in:
KKamaa
2022-04-15 14:05:47 +03:00
parent 6c5cf35974
commit 65e4a41a89
7 changed files with 167 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ odoo.define("report_async.ActionMenus", function (require) {
function validate_email(email) {
const res = email.match(
/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
);
if (!res) {
return false;
@@ -25,7 +25,7 @@ odoo.define("report_async.ActionMenus", function (require) {
async _executeAction(action) {
const self = this;
const _super = this._super;
const args = arguments; // Dict action
const args = arguments;
const records = this.props.activeIds;
var $content = $(QWeb.render("ReportAsyncConfiguration", {}));