Openbravo Issue Tracking System - Modules
View Issue Details
0052837ModulesAdvanced Warehouse Operationspublic2023-06-23 01:502023-06-23 09:42
axelmercado 
Triage Omni WMS 
highmajoralways
closedduplicate 
5
 
 
67167
OBPS
0052837: Problem with "Blind Count" button and error in "tap" function.
Reviewing the problem reported by Practics in its client which is in version 21Q4 (See video:https://www.youtube.com/watch?v=-eRC96ZILS4 [^]) and comparing with the updated Livebuilds code, since in the latest version the problem is not reproduced, not because it has been solved, but because there is a bug in the code that allows the workflow to continue.

In the asdasdsd.js file in the "tap" function of the "blindCountOption" button in the different versions is as follows:

- In 21Q4:
tap: function() {
                this.setChecked(!this.getChecked());
                if (this.getChecked()) {
                    this.owner.owner.owner.$.initializeCountOptionFooter.hide();
                this.owner.owner.owner.$.blindCountOptionFooter.setValue(false);
                } else {
                    this.owner.owner.owner.$.initializeCountOptionFooter.show();
                }
            }

this.owner.owner.owner.$.blindCountOptionFooter.setValue(false); IN THIS LINE IS THE PROBLEM, AS IT LEAVES THE CHECK ALWAYS FALSE.

- In 23Q2:
tap: function () {
          this.setChecked(!this.getChecked());
          if (this.getChecked()) {
            this.owner.owner.owner.$.initializeCountOptionFooter.hide();
      this.$.footer.$.countUserSelectorFooter.$.blindCountOptionFooter.setValue(false);
          } else {
            this.owner.owner.owner.$.initializeCountOptionFooter.show();
          }
        }

this.$.footer.$.countUserSelectorFooter.$.blindCountOptionFooter.setValue(false); AND HERE IS THE OTHER PROBLEM, IN THE LATEST VERSION IT DOES NOT FAIL AS THIS LINE EVERY TIME THE BUTTON IS TAPPED DOES NOT EXIST (See: https://www.awesomescreenshot.com/video/18569271?key=b64bc898a3b7397f24864ffa5be031b5 [^]).
- In BO, have the preference "Force Blind Inventory Count" with value "N"-.
- Log in to AWO POS.
- Open the menu and select the Count function.
- Open the browser developer console and verify that every time you hit the "Blind Count" check the error is generated.
No tags attached.
duplicate of defect 0052811 closed mtaal Error in browser console when check Bind Count in AWO 
Issue History
2023-06-23 01:50axelmercadoNew Issue
2023-06-23 01:50axelmercadoAssigned To => Triage Omni WMS
2023-06-23 01:50axelmercadoSupport ticket => 67167
2023-06-23 01:50axelmercadoOBNetwork customer => OBPS
2023-06-23 09:42mtaalRelationship addedduplicate of 0052811
2023-06-23 09:42mtaalStatusnew => closed
2023-06-23 09:42mtaalResolutionopen => duplicate

There are no notes attached to this issue.