Browse Source

Jul 25 [UPDT] Updated 'pos_weight_manual'

pull/331/head
AjmalCybro 9 months ago
parent
commit
952627b1f9
  1. 2
      pos_weight_manual/static/src/js/Screens/ProductScreen/ProductScreen.js

2
pos_weight_manual/static/src/js/Screens/ProductScreen/ProductScreen.js

@ -8,7 +8,7 @@ patch(PosStore.prototype, {
async addProductToCurrentOrder(product, options = {}) {
var product = product
var options = options
if(this.env.services.pos.config.is_allow_manual_weight){
if(this.env.services.pos.config.is_allow_manual_weight && product.to_weight){
// Show the ScaleScreen to weigh the product.
const { confirmed, payload } = await this.showTempScreen('ScaleScreen', {
product,

Loading…
Cancel
Save