Openbravo Issue Tracking System - POS2
View Issue Details
0054941POS2POSpublic2024-03-13 12:212024-11-20 09:57
frank_gonzalez 
sreehari 
normalmajoralways
closedfixed 
5
 
25Q1 
No
0054941: Services out of sync with related line if line is split and the quantity are deleted
The following case applies when adding a product with a service configured with quantityRule set to "As per product" and the main product line is split:

If one/more of the split lines are deleted (i.e. the total quantity of the original product changes), the quantity of the service line isn't updated. However, if the quantity of the "original" product line is modified, the quantity of the service line changes.
POS2:
- Log in to the POS as "vallblanca"
- Add a product with a service configured with quantity rule "As per product"
- Increment the quantity of the main product line
- Split the main product line
- Delete one of the new lines
No tags attached.
related to feature request 0054623 closed frank_gonzalez Management of contributions (including Eco-Tax) 
depends on backport 005719824Q4 closed sreehari Services out of sync with related line if line is split and the quantity are deleted 
depends on backport 005719924Q3.3 closed sreehari Services out of sync with related line if line is split and the quantity are deleted 
blocks defect 0056386 new radhakrishnan Contribution Module - No contribution recalculation after a line split or deletion 
Issue History
2024-03-13 12:21frank_gonzalezNew Issue
2024-03-13 12:21frank_gonzalezAssigned To => Retail
2024-03-13 12:21frank_gonzalezTriggers an Emergency Pack => No
2024-03-13 12:22frank_gonzalezRelationship addedrelated to 0054623
2024-03-13 12:40frank_gonzalezNote Added: 0162080
2024-10-14 10:38frank_gonzalezRelationship addedblocks 0056386
2024-10-28 13:41marvintmStatusnew => acknowledged
2024-11-05 10:08jorgewederagoAssigned ToRetail => jorgewederago
2024-11-05 12:22sreehariAssigned Tojorgewederago => sreehari
2024-11-05 12:22sreehariStatusacknowledged => scheduled
2024-11-06 14:02hgbotNote Added: 0171550
2024-11-14 17:43javietxeIssue Monitored: javietxe
2024-11-20 07:49hgbotResolutionopen => fixed
2024-11-20 07:49hgbotStatusscheduled => closed
2024-11-20 07:49hgbotFixed in Version => 25Q1
2024-11-20 07:49hgbotNote Added: 0172260
2024-11-20 07:49hgbotNote Added: 0172261
2024-11-20 07:49hgbotNote Added: 0172262
2024-11-20 09:57marvintmStatusclosed => new
2024-11-20 09:57marvintmResolutionfixed => open
2024-11-20 09:57marvintmFixed in Version25Q1 =>
2024-11-20 09:57marvintmNote Added: 0172304
2024-11-20 09:57marvintmSeverityminor => major
2024-11-20 09:57marvintmStatusnew => scheduled
2024-11-20 09:57marvintmStatusscheduled => resolved
2024-11-20 09:57marvintmFixed in Version => 25Q1
2024-11-20 09:57marvintmResolutionopen => fixed
2024-11-20 09:57marvintmStatusresolved => closed

Notes
(0162080)
frank_gonzalez   
2024-03-13 12:40   
This also affects contributions (https://issues.openbravo.com/view.php?id=54623 [^]), hence the relation to 54623.
(0171550)
hgbot   
2024-11-06 14:02   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3065 [^]
(0172260)
hgbot   
2024-11-20 07:49   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: f3e3b413963a2ad78f4c7a646bf80185be4687b7
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 20-11-2024 06:32:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/f3e3b413963a2ad78f4c7a646bf80185be4687b7 [^]

Fixes ISSUE-54941: Disabled SplitLine when Ticket has service product
*fixed case similar to enyo pos

---
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/SplitLines.js
---
(0172261)
hgbot   
2024-11-20 07:49   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3065 [^]
(0172262)
hgbot   
2024-11-20 07:49   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: dffc6d8bc414d0d5903bc5966cd85d050069b5fa
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 20-11-2024 06:32:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/dffc6d8bc414d0d5903bc5966cd85d050069b5fa [^]

Fixes ISSUE-54941: Code Review Changes

---
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/SplitLines.js
---
(0172304)
marvintm   
2024-11-20 09:57   
Changed to major as this issue causes problems with the generated data