summaryrefslogtreecommitdiff
path: root/addons/barcodes/static/src/js/inherited_form_widget_button.js
AgeCommit message (Collapse)Author
2017-04-11[REF] barcode, *: update code to new JS frameworkChristophe Matthieu
With the new views, the barcode mechanisms were completely broken, because the view and widget JS code was totally changed. This commit update and refactor all that code to make it work with the new design philosophy. Also, it update the coding style.
2017-04-11[REF] web, *: redesign all JS viewsGéry Debongnie
This commit introduce a full redesign of all JS views. We started basically from scratch. The goal was to unify all the various views under a common framework, to make them testable, to make then usable in different conditions (in studio, or in the frontend), and to make our lives easier. Some important points are: - we introduced new coding guidelines (camelCase, 80 chars width, ...) - we have a brand new testing framework (still QUnit based) - kanban view moved to the web addon - calendar view (formerly web_calender) moved to web as well - the tree view was removed - all new code should be documented We hope that this code is the start of a new era for the Odoo web client, we want to have a high quality codebase, well documented, well tested, well designed. Work done by the framework team: mostly aab, ged, chm, dmo, qsm
2016-08-16[FIX] stock_barcode: correctly check when to execute "O-BTN"Simon Lejeune
It's possible to trigger click on form view's button with the help of the "barcode_trigger" attributes. However, we don't want to be able to execute clicks on items that aren't clickable by the user. That's why we wrote the following condition: if the elem is visible OR is a child of a .dropdown-menu, we trigger the click. The second condition was always true since we used the jquery's parent function which return an empty list when no result, and an empty list is truthy.
2016-05-10[FIX] barcodes: also allow barcodes triggering buttons in dropdownsJoren Van Onder
On smaller screens some buttons will be hidden. An example of this is the 'Validate' button in the stock.picking form view. It is not :visible but it should still be possible to trigger through scanning a 'O-BTN.validate' barcode. opw-676741
2015-09-03[IMP] barcodes: BarcodeEvents uses reserved barcodes prefixesArthur Maniet
Export a list of barcodes prefixes used for software functionss
2015-09-01[ADD] barcodes/web: element button can use attribute barcode_triggerArthur Maniet
A button can be triggered when a barcode corresponding to its attribute 'barcode_trigger' is scanned