Monday, October 21, 2019
6 changes · master
Enhancements to existing features
Abandoned ecommerce orders that remain in draft for several days now automatically release any applied coupon. This makes unused coupons available again for other customers or future purchases, reducing unnecessary coupon lockups.
Original PR description
With this commit, when an ecommerce order is judged abandonned (more than 3 days draft), we remove its coupon so it is available again. task-2058666
User profile pages now show clear calls to action when certain learning or certification sections are empty. This helps users understand what to do next instead of seeing blank areas, improving engagement with eLearning and survey-related content.
Original PR description
Before this task, when the user arrived on his profile, some empty sections didn't had any call to actions task-2080615 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Documentation course cards no longer show a progress bar. This makes documentation pages clearer by avoiding progress indicators that are not relevant for that type of content.
Original PR description
[IMP] website_slides: remove the progress bar on "course_card" if the channel type is "documentation" Task #2080594
Odoo Community will now show the desktop interface on mobile devices instead of attempting a partially responsive layout. This clarifies that mobile-responsive web behavior is supported in Enterprise, while also preventing unwanted mobile keyboard behavior during navigation.
Original PR description
Before this commit, some views appeared broken on mobile. We don't consider this as a bug because Odoo is not supposed to be responsive in Community edition. This feature is only available on…
Before this commit, some views appeared broken on mobile. We don't consider this as a bug because Odoo is not supposed to be responsive in Community edition. This feature is only available on Enterprise. This commit aims at clarifying this situation by clearly moving the base requirements to support browsers' responsive to the Enterprise edition and stating that the Community edition only targets desktop. It's important to note that, for technical reasons, some responsive-related JS/CSS code may still be present in the Community codebase but they are not meant to provide any explicit or implicit support for responsive/mobile devices. Technically speaking, this commit removes the viewport meta tag. This change will then force the "desktop-like" rendering even on small screens for the Community edition and will keep the current behavior (scaling/zooming on small screens) for the Enterprise edition. By doing this we do not let the users think that something is broken and must be fixed. So, in Community edition, desktop is always displayed; In Enterprise edition, Responsive Web Design is available. We also had to adapt a test to be able to apply XPath adding viewport meta tag in enterprise. Task ID: 2090202
Survey test data is now prepared once for the full test class instead of being recreated before every individual test. This reduces repeated setup work and helps make the survey test suite run more efficiently without changing user-facing behavior.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Enterprise users keep the mobile-friendly web experience on phones and small screens, while Community edition is clarified as desktop-focused. Mobile device detection was also cleaned up for timesheet synchronization, helping behavior that depends on virtual keyboards work more reliably.
Original PR description
Related to: > [IMP] web: force desktop mode on mobile > > Before this commit, some views appeared broken on mobile. > We don't consider this as a bug because Odoo is not supposed > to be responsive…
Related to: > [IMP] web: force desktop mode on mobile > > Before this commit, some views appeared broken on mobile. > We don't consider this as a bug because Odoo is not supposed > to be responsive in Community edition. This feature is only > available on Enterprise. > > This commit aims at clarifying this situation by clearly moving > the base requirements to support browsers' responsive to the > Enterprise edition and stating that the Community edition only > targets desktop. > > It's important to note that, for technical reasons, some > responsive-related JS/CSS code may still be present in the > Community codebase but they are not meant to provide any > explicit or implicit support for responsive/mobile devices. > > Technically speaking, this commit removes the viewport meta tag. > This change will then force the "desktop-like" rendering even on > small screens for the Community edition and will keep the current > behavior (scaling/zooming on small screens) for the Enterprise edition. > > By doing this we do not let the users think that something is broken > and must be fixed. > > So, > in Community edition, desktop is always displayed; > In Enterprise edition, Responsive Web Design is available. > > [...] Note that it seems better to add metadata on the top. It's why we use "after" operation instead of "inside". Task ID: 2090202