Browse Source

[FIX] Bug Fix

pull/298/head
Ajmal Cybro 4 years ago
parent
commit
00c66d1e69
  1. 2
      pos_discount_manager/__manifest__.py
  2. 3
      pos_discount_manager/static/src/js/ValidateManager.js

2
pos_discount_manager/__manifest__.py

@ -21,7 +21,7 @@
############################################################################# #############################################################################
{ {
'name': "POS Discount Manager Approval", 'name': "POS Discount Manager Approval",
'version': '14.0.1.0.1', 'version': '14.0.1.0.2',
'summary': """Discount limit for each employee in every point of sale""", 'summary': """Discount limit for each employee in every point of sale""",
'description': """"This module helps you to set a discount limit for each employee in every point of sale. 'description': """"This module helps you to set a discount limit for each employee in every point of sale.
It facilitate the manager approval when discount over the limit of employee""", It facilitate the manager approval when discount over the limit of employee""",

3
pos_discount_manager/static/src/js/ValidateManager.js

@ -61,7 +61,6 @@ odoo.define('pos_discount_manager.ValidateManager', function(require) {
} }
this.currentOrder.initialize_validation_date(); this.currentOrder.initialize_validation_date();
this.currentOrder.finalized = true;
let syncedOrderBackendIds = []; let syncedOrderBackendIds = [];
@ -145,6 +144,8 @@ odoo.define('pos_discount_manager.ValidateManager', function(require) {
} }
this.currentOrder.finalized = true;
this.showScreen(this.nextScreen); this.showScreen(this.nextScreen);
// If we succeeded in syncing the current order, and // If we succeeded in syncing the current order, and

Loading…
Cancel
Save