Commit b9bdac40 by François C.

Update screens.js

parent 4fd64ff9
...@@ -7,7 +7,7 @@ odoo.define("lacagette_custom_pos.screens", function (require) { ...@@ -7,7 +7,7 @@ odoo.define("lacagette_custom_pos.screens", function (require) {
var dataModel = require('web.DataModel'); var dataModel = require('web.DataModel');
var lacagette_products = new dataModel('lacagette.products'); var lacagette_products = new dataModel('lacagette.products');
var _t = core._t; var _t = core._t;
const interval = 5 * 60 * 1000; // used for last_price_change call const interval = 60 * 60 * 1000; // used for last_price_change call
var reload_on_prices_change = false; var reload_on_prices_change = false;
models.load_fields("pos.config", ['reload_on_prices_change']); models.load_fields("pos.config", ['reload_on_prices_change']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment