Openbravo Issue Tracking System - POS2
View Issue Details
0054849POS2POSpublic2024-03-05 16:112024-03-13 10:32
igor_trebol 
igor_trebol 
normalminorhave not tried
closedfixed 
5
 
24Q2 
No
0054849: Add stock not available for cross store sales in warehouses for store stock grid in Stock API
In the Store Stock Grid, we need to make the ADD PRODUCT FROM THIS STORE button disabled if each of its warehouses have a flag marking it as not available. This flag will only be read from store stock api and will not be configurable in backoffice.

  - The flag will be “isCSAllowed”.
  - The flag will be at warehouse level.
  - The ADD PRODUCT FROM THIS STORE button will be disabled if all the warehouses in a store are FALSE.
N/A
No tags attached.
Issue History
2024-03-05 16:11igor_trebolNew Issue
2024-03-05 16:11igor_trebolAssigned To => igor_trebol
2024-03-05 16:11igor_trebolTriggers an Emergency Pack => No
2024-03-05 16:11igor_trebolStatusnew => scheduled
2024-03-06 08:24hgbotNote Added: 0161737
2024-03-13 08:17hgbotNote Added: 0162050
2024-03-13 10:30hgbotNote Added: 0162062
2024-03-13 10:30hgbotResolutionopen => fixed
2024-03-13 10:30hgbotStatusscheduled => closed
2024-03-13 10:30hgbotNote Added: 0162063
2024-03-13 10:32hgbotFixed in Version => 24Q2
2024-03-13 10:32hgbotNote Added: 0162064
2024-03-13 10:32hgbotNote Added: 0162065

Notes
(0161737)
hgbot   
2024-03-06 08:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2475 [^]
(0162050)
hgbot   
2024-03-13 08:17   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.stock/-/merge_requests/7 [^]
(0162062)
hgbot   
2024-03-13 10:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.stock/-/merge_requests/7 [^]
(0162063)
hgbot   
2024-03-13 10:30   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.stock [^]
Changeset: b5bc5044903bf9d722e3bd542248aa50927cf797
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 13-03-2024 10:27:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.stock/-/commit/b5bc5044903bf9d722e3bd542248aa50927cf797 [^]

Fixes FR-54849: Add stock not available for cross store sales in warehouses for store stock grid in Stock API

MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.stock/-/merge_requests/7 [^]

---
M web-jspack/org.openbravo.events.stock/src/components/Stock/StoreStockAPIDataSource.js
M web/org.openbravo.events.stock/source/stocksimulator/SampleStockSimulator.js
---
(0162064)
hgbot   
2024-03-13 10:32   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 3ad9718bad2b850bafd084d8dbbb0735e16ae0fb
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 13-03-2024 10:31:41
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/3ad9718bad2b850bafd084d8dbbb0735e16ae0fb [^]

Fixes FR-54849: Add stock not available for cross store sales in warehouses for store stock grid in Stock API

MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2475 [^]

---
M web-jspack/org.openbravo.pos2/src/components/ProductButton/StoreStockPopup/StoreStockCrossStorePopoverButton.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductButton/StoreStockPopup/StoreStockDialog.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductButton/StoreStockPopup/StoreStockDialog.scss
M web-jspack/org.openbravo.pos2/src/components/ProductButton/StoreStockPopup/StoreStockGrid.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductButton/StoreStockPopup/__test__/StoreStockGrid.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductButton/StoreStockPopup/__test__/StoreStockRows.js
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLineDeliveryMode/TicketLineDeliveryModePopover/TicketLineDeliveryModePopover.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketLineDeliveryMode/TicketLineDeliveryModePopover/TicketLineDeliveryModePopover.test.jsx
---
(0162065)
hgbot   
2024-03-13 10:32   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2475 [^]