Browse Source

[REF] change frequency of the check from 10 sec to 60 sec;

pull/34/head^2
Sylvain LE GAL 10 years ago
parent
commit
56b5401fb6
  1. 4
      pos_check_session_state/static/src/js/pos_check_session_state.js

4
pos_check_session_state/static/src/js/pos_check_session_state.js

@ -24,12 +24,12 @@ openerp.pos_check_session_state = function (instance) {
Define : New ErrorClosedSessionPopupWidget Widget. Define : New ErrorClosedSessionPopupWidget Widget.
This pop up will be shown if the current pos.session of the PoS is not This pop up will be shown if the current pos.session of the PoS is not
in an 'open' state; in an 'open' state;
The check will be down each 10 seconds;
The check will be down each 60 seconds;
*/ */
module.ErrorClosedSessionPopupWidget = module.ErrorPopupWidget.extend({ module.ErrorClosedSessionPopupWidget = module.ErrorPopupWidget.extend({
template:'ErrorClosedSessionPopupWidget', template:'ErrorClosedSessionPopupWidget',
check_session_frequency: 10000,
check_session_frequency: 60000,
session_name: '', session_name: '',
init: function(parent, options) { init: function(parent, options) {

Loading…
Cancel
Save