Friday, January 11, 2019
2 changes · master
Enhancements to existing features
This update changes the internal structure of Point of Sale JavaScript classes to better match the rest of Odoo's framework. It should make future Point of Sale add-ons and customizations easier to build and maintain, without introducing a visible feature change for end users.
Original PR description
All JS classes that make use of `Backbone.Model` have been replaced by `web.Class` + `web.mixins.PropertiesMixin`, which, essentially is the same, but makes it much easier to extend, since it now has the `this._super()` and `.include()` facilities, and match the rest of the framework. This should make POS submodules much less painful to write. I wanted to drop backbone, but Odoo still uses `Backbone.Collection`, and I don't really know which core framework alternative would fit there, if any. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr @Tecnativa @ged-odoo @chienandalu
Resolved issues and error corrections
Search results now match words even when users type accented or unaccented characters differently. This makes finding contacts, products, and mail-related content more reliable for users in languages that use accents.
Original PR description
- while searching from the different accent characters result is not found. this commit will fix that issue Task: https://www.odoo.com/web#id=1878513&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.f86081c98054d24d972902f174e14921 I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr