Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0025028 | Openbravo ERP | A. Platform | public | 2013-10-25 15:23 | 2013-11-27 13:15 |
|
Reporter | caristu | |
Assigned To | shankarb | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0MP30 | Fixed in Version | 3.0MP30 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 24208 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0025028: Default value applied again after updating a numeric field with a trigger |
Description | If we have a trigger that updates a numeric field and also it has a default value, the default value is applied again after the trigger if the window is not refreshed. |
Steps To Reproduce | 1) Create a trigger that updates a quantity (Attached is an example). For example a trigger that sets the qtyordered of orderline table to 3 before insert. (This column has 1 as default value)
2) Go to the [Sales Order] window. Create one record in the header.
3) Go to the lines tab. Create a new record, notice that the ordered quantity field is filled with 1.
4) Select a product and save. Notice that the field is updated with 3.
5) Save the record. Don't refresh the window.
6) Edit the line, change the lineno field and save. Notice that the default value has been applied again: the ordered quantity is now 1.
7) If we refresh the window in step 5) then, the problem is not happening. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0026395 | | closed | guillermogil | If you create a sales invoice in grid view and save it by losing focus a new empty record appears | related to | defect | 0040463 | | closed | caristu | UI broken when create a new row and before save clear the filter grid |
|
Attached Files | triggerTest (606) 2013-10-25 15:23 https://issues.openbravo.com/file_download.php?file_id=6466&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2013-10-25 15:23 | caristu | New Issue | |
2013-10-25 15:23 | caristu | Assigned To | => AugustoMauch |
2013-10-25 15:23 | caristu | File Added: triggerTest | |
2013-10-25 15:23 | caristu | Modules | => Core |
2013-10-25 15:23 | caristu | OBNetwork customer | => Yes |
2013-10-25 15:23 | caristu | Support ticket | => 24208 |
2013-10-25 15:23 | caristu | Triggers an Emergency Pack | => No |
2013-10-25 15:23 | caristu | Target Version | => 3.0MP30 |
2013-10-25 15:23 | caristu | Issue Monitored: networkb | |
2013-10-25 15:44 | caristu | Description Updated | bug_revision_view_page.php?rev_id=5158#r5158 |
2013-11-20 05:10 | shankarb | Assigned To | AugustoMauch => shankarb |
2013-11-21 12:30 | shankarb | Review Assigned To | => AugustoMauch |
2013-11-21 12:31 | shankarb | Issue Monitored: AugustoMauch | |
2013-11-21 12:45 | hgbot | Checkin | |
2013-11-21 12:45 | hgbot | Note Added: 0062324 | |
2013-11-21 12:45 | hgbot | Status | new => resolved |
2013-11-21 12:45 | hgbot | Resolution | open => fixed |
2013-11-21 12:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/091cc28d75e0fd11049eabfc3fdcc67825783830 [^] |
2013-11-24 16:24 | hudsonbot | Checkin | |
2013-11-24 16:24 | hudsonbot | Note Added: 0062357 | |
2013-11-27 13:15 | AugustoMauch | Note Added: 0062409 | |
2013-11-27 13:15 | AugustoMauch | Status | resolved => closed |
2013-11-27 13:15 | AugustoMauch | Fixed in Version | => 3.0MP30 |
2014-04-28 10:55 | guillermogil | Relationship added | related to 0026395 |
2019-06-11 13:18 | caristu | Relationship added | related to 0040463 |