Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0048361 | Retail Modules | Web POS | public | 2022-01-07 10:45 | 2022-01-12 17:59 |
Reporter | javietxe | ||||
Assigned To | jorge-garcia | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR22Q2 | |||
Merge Request Status | approved | ||||
Review Assigned To | |||||
OBNetwork customer | OBPS | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0048361: "fin_trans_amounts_chk" Error in errors while importing while doing a cashup | ||||
Description | When creating a cashup, a check is done to know if a transaction has to be created or not. If the transaction is 0, some times it still created. In this case, the cashup stays in errors while importing with the error: new row for relation "fin_finacc_transaction" violates check constraint "fin_trans_amounts_chk" | ||||
Steps To Reproduce | Configure the credit notes to use in the till. Do a cashup and close the till. Open the till. Create a credit card by the till. Use the the whole value of the credit card to pay an order. Do a cashup. Check that the cashup is in the errors while importing. | ||||
Proposed Solution | Change the amount comparison: if (amount == BigDecimal.ZERO) { Substitute it by if (amount.compareTo(BigDecimal.ZERO) == 0) { | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2022-01-07 10:45 | javietxe | New Issue | |||
2022-01-07 10:45 | javietxe | Assigned To | => Retail | ||
2022-01-07 10:45 | javietxe | OBNetwork customer | => OBPS | ||
2022-01-07 10:45 | javietxe | Triggers an Emergency Pack | => No | ||
2022-01-07 10:50 | hgbot | Merge Request Status | => open | ||
2022-01-07 10:50 | hgbot | Note Added: 0134149 | |||
2022-01-07 10:54 | javietxe | Summary | Error comparing bigdecimals => "fin_trans_amounts_chk" Error in errors while importing while doing a cashup | ||
2022-01-07 10:54 | javietxe | Description Updated | bug_revision_view_page.php?rev_id=23491#r23491 | ||
2022-01-07 10:54 | javietxe | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=23493#r23493 | ||
2022-01-07 10:54 | javietxe | Proposed Solution updated | |||
2022-01-07 11:18 | jorge-garcia | Assigned To | Retail => jorge-garcia | ||
2022-01-07 11:19 | jorge-garcia | Status | new => scheduled | ||
2022-01-12 17:58 | hgbot | Merge Request Status | open => approved | ||
2022-01-12 17:59 | hgbot | Resolution | open => fixed | ||
2022-01-12 17:59 | hgbot | Status | scheduled => closed | ||
2022-01-12 17:59 | hgbot | Fixed in Version | => RR22Q2 | ||
2022-01-12 17:59 | hgbot | Note Added: 0134278 | |||
2022-01-12 17:59 | hgbot | Note Added: 0134279 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|