Openbravo Issue Tracking System - POS2 | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0057278 | POS2 | POS | public | 2024-09-05 17:07 | 2024-11-26 11:38 | ||||||||||||||
Reporter | hbrasme | ||||||||||||||||||
Assigned To | radhakrishnan | ||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | 24Q3 | ||||||||||||||||||
Target Version | 24Q3.3 | Fixed in Version | 24Q3.3 | ||||||||||||||||
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 | 0057278: 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 | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2024-11-26 10:44 | jonae | Type | defect => backport | ||||||||||||||||
2024-11-26 10:44 | jonae | Target Version | => 24Q3.3 | ||||||||||||||||
2024-11-26 11:12 | hgbot | Note Added: 0172594 | |||||||||||||||||
2024-11-26 11:38 | hgbot | Resolution | open => fixed | ||||||||||||||||
2024-11-26 11:38 | hgbot | Status | scheduled => closed | ||||||||||||||||
2024-11-26 11:38 | hgbot | Fixed in Version | => 24Q3.3 | ||||||||||||||||
2024-11-26 11:38 | hgbot | Note Added: 0172598 | |||||||||||||||||
2024-11-26 11:38 | hgbot | Note Added: 0172599 | |||||||||||||||||
2024-11-26 11:39 | frank_gonzalez | Relationship added | related to 0057277 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|