+ This odoo app is helpful if you need to customize the signup page with extra information. +
++ Key Highlights +
++ Customize Signup With Extra Information. +
+Button to Show the Extra Information.
+Button to Hide the Extra Information.
+The Extra Information will be Created Inside the Related Partner of the Signup User.
++ Initial Commit for Customize Signup.
++ Related Products
++ Our Services
+ +Odoo + Customization
+Odoo + Implementation
+Odoo + Support
+Hire + Odoo Developer
+Odoo + Integration
+Odoo + Migration
+Odoo + Consultancy
+Odoo + Implementation
+Odoo + Licensing Consultancy
++ Our Industries
+ +Trading
+Easily procure and sell your products
+POS
+Easy configuration and convivial experience
++ Education
+A platform for educational management
++ Manufacturing
+Plan, track and schedule your operations
+E-commerce & + Website
+Mobile friendly, awe-inspiring product pages
+Service + Management
+Keep track of services and invoice
++ Restaurant
+Run your bar or restaurant methodically
+Hotel + Management
+An all-inclusive hotel management application
++ Support
+Got + questions or need help? Get in touch.
+Say hi to + us on WhatsApp!
+Enter a valid number.
`, + buttons: [{ text: _t("Ok"), close: true }], + }).open(); + } + } + return; + }, + /** + * this method is used to validate File field given in the + * signup form + */ + 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(''); + 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_template.xml b/customize_signup/views/signup_template.xml new file mode 100644 index 000000000..d2780e34e --- /dev/null +++ b/customize_signup/views/signup_template.xml @@ -0,0 +1,49 @@ + +