434fa814db7eadd86908403bc218a81976ede4d2
Apple devices have a patented feature called rubberbanding that allows the user to scroll past the end (or beginning) of a document. Browsers on IOS have this same feature. This is not an issue most of the time. But sometimes the rubberbanding happens to the entire document.body of the POS, which is not ideal. Rubberbanding is already disabled partially by Chrome.disable_rubberbanding(). But it is not perfect. The most important issue that remained is what happens when a scrollable element is either at it's top or bottom and the user *initiates* a scroll past its beginning or end. So scrolling an element all the way to the top and then continuing to scroll did not trigger the problem. If however the element was already at the top and you would initiate a scroll up the scroll would fall through to the document instead and the entire POS would scroll. What aggrevates the issue from a UI point of view is that as long as the rubberbanding animation is not finished, any subsequent scrolls will target the entire document as well. Normal treatment of scrolling resumes only when the animation has finished and the document is in the center of the screen again. Stopping this behavior is not trivial. The only know solutions are all built around stopping touchmove events, which we already did. This patch makes it so that we also stop all touchmove events that trigger the unwanted behavior described above. It ensures that we stop touchmove events that would scroll an element above it's top or below it's bottom. To do this we have to manually determine whether or not the element is scrolled all the way to the top or bottom and we have to manually determine the direction the user is swiping.
…
…
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/master/odoo.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./odoo.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./odoo.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%