This odoo app is helpful if you need to customize the + signup page with extra information. + +
+ ++ Easily procure + and + sell your products
++ Easy + configuration + and convivial experience
++ A platform for + educational management
++ Plan, track and + schedule your operations
++ Mobile + friendly, + awe-inspiring product pages
++ Keep track of + services and invoice
++ Run your bar or + restaurant methodically
++ An + all-inclusive + hotel management application
+${_.str.escapeHTML("Enter Valid Number ") || ""}
`, + buttons: [{ text: _t("Ok"), close: true }], + }).open(); + } + } + return; +}, +validateImageFile: function (ev) { + const fileInput = this.$(ev.currentTarget); + const file = fileInput[0].files[0]; + + if (file) { + const allowedExtensions = /(\.jpg|\.jpeg|\.png|\.gif)$/i; + + if (!allowedExtensions.exec(file.name)) { + fileInput.val(''); // Clear the file input + return new Dialog(null, { + title: 'Error:', + size: 'medium', + $content: 'Enter a valid image file (JPEG, JPG, PNG, GIF).
', + buttons: [{ text: 'Ok', close: true }], + }).open(); + } + } + return; +} +}); +}); diff --git a/customize_signup/views/signup_templates.xml b/customize_signup/views/signup_templates.xml new file mode 100644 index 000000000..f4ea428f0 --- /dev/null +++ b/customize_signup/views/signup_templates.xml @@ -0,0 +1,49 @@ + +