Skip to content

Commit

Permalink
Add entry in ROADMAP.rst
Browse files Browse the repository at this point in the history
Remove debug JS logs
  • Loading branch information
alexis-via committed Jun 20, 2023
1 parent 4a9bf93 commit aba5ff2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions pos_customer_display/readme/ROADMAP.rst
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* Re-implement display of Close message on customer display
* Support other format, for exemple, 4 lines of 30 characters, for the Bixolon BCD-2000.
9 changes: 3 additions & 6 deletions pos_customer_display/static/src/js/chrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,10 @@ odoo.define("pos_customer_display.Chrome", function (require) {
const PosCustomerDisplay = (Chrome) =>
class extends Chrome {
async _closePos() {
console.log("CLOSE POS START this=");
console.log(this);
var msg = this.env.pos.proxy.customer_display_proxy._prepare_message_close();
console.log(msg);
// TODO find a way to display the msg
// Var msg = this.env.pos.proxy.customer_display_proxy._prepare_message_close();
// console.log(msg);
// TODO find a way to display the msg upon POS closing
await super._closePos();
console.log("CLOSE POS DONE");
}
};

Expand Down

0 comments on commit aba5ff2

Please sign in to comment.