Daily updates from Odoo
Wednesday, February 27, 2019
2 changes
Code cleanup and technical improvements
This change makes common website interaction tools available across more customer-facing areas such as portals, surveys, sign-up, payments, and sales pages. It simplifies the underlying setup so these pages can use consistent interactive behavior without requiring the full Website app, improving maintainability and consistency for future customer experiences.
Original PR description
* web, im_livechat, survey, web_editor, website_forum, account, auth_signup, payment, portal, project, sale, sale_management, web_unsplash, website_mail, website_rating, website_sale, website_blog, website_crm_partner_assign, website_event_track, website_links, website_slides, website_mail_channel, website_mass_mailing, website_sale_comparison, website_sale_delivery, website_sale_wishlist, website_event, website_form, website_sale_stock, website_twitter When website is installed, the JavaScript code has access to utilities to define improved widgets which are automatically attached to existing DOM elements on page load. Those mechanics are more and more needed in portal which does not depend on website (as it is website which depends on portal). This moves part of website JS to web, so that it can be used by all 'frontend' apps whose only common dependency is web (portal, survey, ...). See sub-commits for details. task-1932066
This update standardizes how several website-related Odoo apps load their browser scripts, making those features available consistently on frontend pages. It mainly cleans up the underlying implementation so customer-facing pages such as subscriptions, helpdesk, calendar, salary package, coupons, and Twitter wall behave more reliably.
Original PR description
* hr_contract_salary, sale_subscription, website_calendar, website_helpdesk, website_twitter_wall See sub-commits for details. See https://github.com/odoo/odoo/pull/29442 task-1932066