Openbravo Issue Tracking System - POS2  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0049920 | POS2 | POS | public | 2022-08-01 11:52 | 2022-08-01 13:04 | 
  | 
| Reporter | jonae |   | 
| Assigned To | jonae |   | 
| Priority | immediate | Severity | major | Reproducibility | have not tried | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |   | 
| Target Version |  | Fixed in Version | 22Q4 |   | 
| Merge Request Status | merged | 
| Review Assigned To |  | 
| OBNetwork customer | No | 
| Support ticket |  | 
| Regression level | QA functional test | 
| Regression date | 2022-08-01 | 
| Regression introduced in release | pi | 
| Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/00881dae80ffe97413da3024690c16ee05643c54 [^] | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0049920: Every time a product button is loaded the system calls the backend to calculate the stock | 
| Description | Every time a product button is loaded the system calls the backend to calculate the stock. The stock needs to be got from the state instead of calling the backend. | 
| Steps To Reproduce | - Load the product keymap 
- Check that the backend manages as much requests as products the product keymap is showing. | 
| Proposed Solution | Get the stock from the state | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | caused by  | feature request  | 0049305 |   | closed  | jonae  | Review the css classes used in the product button content component  |  
  | 
| Attached Files |  | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2022-08-01 11:52 | jonae | New Issue |  | 
| 2022-08-01 11:52 | jonae | Assigned To |  => jonae | 
| 2022-08-01 11:52 | jonae | OBNetwork customer |  => No | 
| 2022-08-01 11:52 | jonae | Regression level |  => QA functional test | 
| 2022-08-01 11:52 | jonae | Regression date |  => 2022-08-01 | 
| 2022-08-01 11:52 | jonae | Regression introduced in release |  => pi | 
| 2022-08-01 11:52 | jonae | Regression introduced by commit |  => https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/00881dae80ffe97413da3024690c16ee05643c54 [^] | 
| 2022-08-01 11:52 | jonae | Triggers an Emergency Pack |  => No | 
| 2022-08-01 12:17 | hgbot | Merge Request Status |  => open | 
| 2022-08-01 12:17 | hgbot | Note Added: 0139762 |  | 
| 2022-08-01 12:56 | hgbot | Resolution | open => fixed | 
| 2022-08-01 12:56 | hgbot | Status | new => resolved | 
| 2022-08-01 12:56 | hgbot | Merge Request Status | open => merged | 
| 2022-08-01 12:56 | hgbot | Note Added: 0139764 |  | 
| 2022-08-01 12:56 | hgbot | Fixed in Version |  => 22Q4 | 
| 2022-08-01 12:56 | hgbot | Note Added: 0139765 |  | 
| 2022-08-01 12:57 | javierRodriguez | Status | resolved => closed | 
| 2022-08-01 13:04 | javierRodriguez | Relationship added | caused by 0049305 |