Openbravo Issue Tracking System - POS2
View Issue Details
0057338POS2POSpublic2024-12-01 23:202025-01-03 15:55
gaboflash 
gaboflash 
normalminorhave not tried
newopen 
5
 
 
No
0057338: Add configurable restrictions in the External Order API for product deletion, addition, and quantity modification
This feature introduces new fields in the External Order API to control specific actions on external orders, including product deletion, addition, and quantity modification. These restrictions aim to ensure consistency with terminal configurations, reduce operational errors, and maintain order integrity.

1- Disallow product deletion (line level):
Add allowProductDeletion to control whether a product line can be deleted. Deletion depends on terminal settings.

2- Disallow product addition (header level):
Add allowAddProduct to define whether new products can be added to the order.

3- Disallow quantity modification (line level):
Add allowModifyProductQuantity to control whether product quantities can be modified.

Restrictions do not apply to merged orders.
Terminal rules take precedence over API configurations.

Expected Outcome:
Greater control over external order actions through API restrictions.
Consistency with terminal rules and reduced operational errors.
N/A
No tags attached.
Issue History
2024-12-01 23:20gaboflashNew Issue
2024-12-01 23:20gaboflashAssigned To => gaboflash
2024-12-01 23:20gaboflashTriggers an Emergency Pack => No
2024-12-18 05:38hgbotNote Added: 0173404
2024-12-18 05:38hgbotNote Added: 0173405
2024-12-18 05:38hgbotNote Added: 0173406
2025-01-03 15:54hgbotNote Added: 0173838
2025-01-03 15:55hgbotNote Added: 0173839
2025-01-03 15:55hgbotNote Added: 0173840

Notes
(0173404)
hgbot   
2024-12-18 05:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1854 [^]
(0173405)
hgbot   
2024-12-18 05:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3257 [^]
(0173406)
hgbot   
2024-12-18 05:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.orders/-/merge_requests/32 [^]
(0173838)
hgbot   
2025-01-03 15:54   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1854 [^]
(0173839)
hgbot   
2025-01-03 15:55   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3257 [^]
(0173840)
hgbot   
2025-01-03 15:55   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.orders/-/merge_requests/32 [^]