Browse Source

Merge pull request #326 from lambda-is/11.0-fix-tests-pos_loyalty

[11.0][FIX] frontend tests
pull/327/head
Pedro M. Baeza 5 years ago
committed by GitHub
parent
commit
c28a6362ab
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      pos_lot_selection/README.rst
  2. 3
      pos_lot_selection/static/src/js/chrome.js

1
pos_lot_selection/README.rst

@ -62,6 +62,7 @@ Contributors
* David <david.vidal@tecnativa.com>
* (https://www.tecnativa.com)
* Ignacio Ales <ignacio.ales@guadaltech.es>
* Kiril Vangelovski <kiril@lambda-is.com>
Do not contact contributors directly about support or help with technical issues.

3
pos_lot_selection/static/src/js/chrome.js

@ -1,4 +1,5 @@
/* Copyright 2018 Tecnativa - David Vidal
Copyright 2019 Lambda IS DOOEL <https://www.lambda-is.com>
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). */
odoo.define("pos_lot_selection.chrome", function (require) {
@ -14,7 +15,7 @@ odoo.define("pos_lot_selection.chrome", function (require) {
var events = {
"change .packlot-line-select": "lot_to_input",
};
packlotline.events = Object.assign(
packlotline.events = _.extend(
packlotline.events, events
);
// Add methods over instanced popup

Loading…
Cancel
Save