summaryrefslogtreecommitdiff
path: root/addons/barcodes
AgeCommit message (Collapse)Author
2019-03-25[MERGE] forward port branch saas-12.2 up to 230ad8c381eChristophe Simonis
closes odoo/odoo#32088 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-03-19[MERGE] forward port branch 12.0 up to 82c4393fd02Christophe Simonis
2019-03-18[MERGE] forward port branch saas-11.3 up to 4e39328a76aChristophe Simonis
2019-03-18[MERGE] forward port branch 11.0 up to 7e33b547714Christophe Simonis
2019-03-18[FIX] barcodes: let focus in number, password, tel, phone inputsAdrien Dieudonne
Before this commit, users wasn't able to input values in some input elements like password, email and phone in mobile. Steps to reproduce: - Go to user - Select Preferences - Select Change password - Try to input something => The focus was lost and the keyboard disappeared In fact, a hidden input always have the focus when no other fields need it. This input is used to intercept a value from a barcode scanner. So now, we added some input types to avoid to set the focus on the barcode input. The barcode input is now always defined (even if not used in desktop) to be able to mock a Chrome mobile environment in a test. opw-1936712 opw-1948266 closes odoo/odoo#31841 Signed-off-by: Pierre Paridans <pparidans@users.noreply.github.com>
2019-03-13Revert "[FIX] barcodes: let focus in number, password, tel, phone inputs"Adrien Dieudonne
This reverts commit 1cdf2bdaf6fb8de398384b04287e564bfcd063ec. $(':focus') seems not working depending on browser version but we don't know yet exactly why. opw-1948266 closes odoo/odoo#31807 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2019-03-06[REF] barcodes: adapt code after jQuery updateVincent Schippefilt
Part of task 1896658 Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Christophe Matthieu <chm@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by: David Monjoie <dmo@odoo.com> Co-authored-by: Martin Geubelle <mge@odoo.com> Co-authored-by: svs-odoo <svs@odoo.com> Co-authored-by: Vincent Schippefilt <vsc@odoo.com>
2019-03-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-11[FIX] barcodes: let focus in number, password, tel, phone inputsAdrien Dieudonne
Before this commit, users wasn't able to input values in some input elements like password, email and phone in mobile. Steps to reproduce: - Go to user - Select Preferences - Select Change password - Try to input something => The focus was lost and the keyboard disappeared In fact, a hidden input always have the focus when no other fields need it. This input is used to intercept a value from a barcode scanner. So now, we added some input types to avoid to set the focus on the barcode input. It's quite difficult to test this feature because we aren't allow to simultate a keyboard to write in a input field. See https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent Plus, we don't have the focus in mobile except if we have the cursor inside the window. So, we can't test focused elements or input values. opw-1936712 opw-1948266 closes odoo/odoo#31566 Signed-off-by: Pierre Paridans <pparidans@users.noreply.github.com>
2019-03-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-03[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-02-28[I18N] *: remove es_DO translationsgustavovalverde
Include commit 572d628 again, as it was lost with a forward port. closes odoo/odoo#31479
2019-01-14[MERGE] forward port branch 12.0 up to 6a0675d36ddChristophe Simonis
2019-01-09[FIX] barcodes: JS documenter fails to infer BarcodeEventsXavier Morel
As a result, parsing the JS fails and so does the doc compilation. Fixes odoo/odoo#29197 Fixes odoo/odoo#29961 closes odoo/odoo#30057
2019-01-06[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-12[MERGE] forward port branch 12.0 up to 047e2b28de4Christophe Simonis
2018-12-23[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-07[FIX] barcodes: allow special keys input on firefoxlen-odoo
Install stock_barcode. It adds a barcode to the product quantity of the inventory adjustment view. On firefox special characters are ignored (CTRL, BACKSPACE, Fn...) closes odoo/odoo#29245
2018-12-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-05[MERGE] forward port branch 12.0 up to 053bb45706fChristophe Simonis
2018-12-03[REM] barcodes: Remove the field nomenclature_id from the res.company form view.Kinjal Mehta
2018-11-29[MERGE] forward port branch 12.0 up to 82a1e1dcc33Christophe Simonis
2018-11-23[MERGE] forward port branch 12.0 up to b3052b690faChristophe Simonis
2018-11-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-11-19[REF] *: update js test suite to use helpersGéry Debongnie
This rev. introduces robust helpers to use in the JS tests suite to interact with DOM and components, and starts using them (almost) everywhere. All the helpers are exposed though testUtils.js. There are 2 kinds of helpers: 1. Assertions ------------- * assert.containsNone, containsN, containsOnce check that the DOM (or a specific part of the DOM) contains a `selector`. It generates a correct error message automatically. ex: assert.strictEqual(form.$('.o_form_editable'), 1, "msg"); -> assert.containsOnce(form, '.o_form_editable'); * assert.isVisible, isNotVisible check that the DOM has an element visible or not. They also check that the element is actually in the DOM (before most tests didn't verify this). * assert.hasClass, doesNotHaveClass, hasAttrVAlue, check specific properties of a DOM element, and also validate that it is applied on a single existing DOM element (before most tests didn't verify this). ex: assert.notOk(form.$('button').hasClass('btn-primary')); -> assert.doesNotHaveClass(form.$('button'), 'btn-primary'); 2. Utilities ------------ The goal of the utilities is to centralize the definition of many standard components and interactions, ensuring that when we refactor the JS framework, we do not need to change all the tests. Existing mock utilities (addMockEnvironment, intercept, path, patchDate, unpatch and fieldsViewGet) are moved to 'testUtils.mock.*'. Existing DOM utilities are moved to 'testUtils.dom.*'. New dom utilities are created for opendDatePicker, click, clickFirst and clickLast. Helper `click` verifies that there is exactly 1 element visible in the DOM you click on, `clickFirst` and `clickLast` verify that there are more than one element on the DOM. ex: form.$('button').click(); -> testUtils.dom.click(form.$('button')); New Form utilities: (testUtils.form.*) clickEdit, clickSave, clickCreate, clickDiscard, all clicks on the control panel buttons of the form. `reload` reloads the form data. New modal, graph, kanban and pivot utils (testUtils.pivot.*, testUtils.kanban.*, etc.). New fields utils: (testUtils.fields.*) * editInput, editSelect: allow to change the value of a field, using a selector to identify it. They validate that the input exists and trigger the change event automatically. * editAndTrigger: allow to modify a field and trigger specific events after the value change * many2one (testUtils.fields.many2one.*) clickOpenDropdown, clickHighlightedItem, clickItem, searchAndClickItem: use a field name instead of a selector and do all the complex mechanism to open, filter and highlight many2one fields. Joint work with aab, dam, ged, mge, svs and vsc.
2018-11-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-03[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-02-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-02-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-02-03[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-01-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-11-04[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-10-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-10-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-10-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-11-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-10-11[I18N] all: convert remaining model: translation entriesMartin Trigaux
It should be model_terms: Fixes odoo/docker#219 closes odoo/odoo#27664
2018-10-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-09-30[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-02-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-02-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-01-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-30[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-23[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-12-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-11-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-11-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2018-11-11[I18N] Update translation terms from TransifexOdoo Translation Bot