Openbravo Issue Tracking System - POS2 | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0056386 | POS2 | POS | public | 2024-09-05 17:07 | 2024-11-22 12:28 | |||||||
Reporter | hbrasme | |||||||||||
Assigned To | radhakrishnan | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | new | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | 24Q3 | |||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0056386: Contribution Module - No contribution recalculation after a line split or deletion | |||||||||||
Description | When a product with contribution is splitted, the contribution line is not recalculate | |||||||||||
Steps To Reproduce | Use a contribution (Product subtype) defined like as follow : Checkbox Linkable To Product selected Checkbox Forced in returns selected Price Calculation > By Product multiplicator Quantity Rule > As per product Allocation Type > mandatory --------- This contribution is assigned to a product ---- Select product with quantity of 3 When the line is splitted the contribution line is not recalculate ---- When 2 of the previous lines are deleted, the contribution is not recalculated for the only line present. The result shlould be a contribution (Gestion APE) with an 6.02 € like amount | |||||||||||
Proposed Solution | 1. Include property 'preventSplit' at line level for the main product line when adding a contribution to the ticket 2. Modify the conditional to check for contributions similar to how ticket.hasServices is used in https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3065/diffs?file=02be15b3fb317b5ce80c75e279ae19fd221914ca#02be15b3fb317b5ce80c75e279ae19fd221914ca_41_49 [^] I think solution 1 is the better option. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | image-20240809-081015.png (106,021) 2024-09-05 17:07 https://issues.openbravo.com/file_download.php?file_id=20139&type=bug image-20240809-081356.png (41,817) 2024-09-05 17:08 https://issues.openbravo.com/file_download.php?file_id=20140&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2024-09-05 17:07 | hbrasme | New Issue | ||||||||||
2024-09-05 17:07 | hbrasme | Assigned To | => Retail | |||||||||
2024-09-05 17:07 | hbrasme | File Added: image-20240809-081015.png | ||||||||||
2024-09-05 17:07 | hbrasme | Triggers an Emergency Pack | => No | |||||||||
2024-09-05 17:08 | hbrasme | File Added: image-20240809-081356.png | ||||||||||
2024-10-09 17:07 | aferraz | Assigned To | Retail => Triage Omni OMS | |||||||||
2024-10-09 17:14 | javietxe | Issue Monitored: javietxe | ||||||||||
2024-10-14 10:38 | frank_gonzalez | Relationship added | depends on 0054941 | |||||||||
2024-10-16 07:34 | jonae | Assigned To | Triage Omni OMS => kousalya_r | |||||||||
2024-10-16 07:34 | jonae | Note Added: 0170467 | ||||||||||
2024-10-28 13:49 | aferraz | Assigned To | kousalya_r => frank_gonzalez | |||||||||
2024-11-20 11:49 | frank_gonzalez | Proposed Solution updated | ||||||||||
2024-11-22 12:22 | aferraz | Assigned To | frank_gonzalez => radhakrishnan | |||||||||
2024-11-22 12:28 | hgbot | Note Added: 0172471 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|