Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0017359 | Openbravo ERP | A. Platform | public | 2011-05-25 17:39 | 2011-05-26 16:19 |
|
Reporter | rgoris | |
Assigned To | mtaal | |
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP0 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0017359: Cloned records have missing values |
Description | CLoning a record, creates a new (duplicate) record of the original one. It is logical that not all field values can be copied, so they need to be entered by the user OR they need to be filled in with new values automatically.
There are two issues:
(1) default values
An example is cloning a sales order. The order date and scheduled delivery date of the original are obviously not re-usable. In the current implementation these fields are left empty in the clone. I think this is not good, it is more logical to fill these dates with today´s date, just as you get when creating a new sales order.
(2) save behavior
The clone record seems to be saved the moment it was created. This is odd because there are missing field values. Even when the form view is closed, the record in grid view seems "valid" but in fact it is not as required values are missing.
|
Steps To Reproduce | |
Proposed Solution | Either provide default values in the clone for required fields, or do not make the clone record appear as being saved. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | CloneField.png (152,443) 2011-05-25 17:39 https://issues.openbravo.com/file_download.php?file_id=4107&type=bug
|
|
Issue History |
Date Modified | Username | Field | Change |
2011-05-25 17:39 | rgoris | New Issue | |
2011-05-25 17:39 | rgoris | Assigned To | => alostale |
2011-05-25 17:39 | rgoris | File Added: CloneField.png | |
2011-05-25 17:39 | rgoris | Modules | => Core |
2011-05-25 17:42 | alostale | Status | new => scheduled |
2011-05-25 17:42 | alostale | Assigned To | alostale => mtaal |
2011-05-25 17:42 | alostale | fix_in_branch | => pi |
2011-05-25 18:05 | mtaal | Note Added: 0037451 | |
2011-05-25 18:07 | hgbot | Checkin | |
2011-05-25 18:07 | hgbot | Note Added: 0037452 | |
2011-05-25 18:07 | hgbot | Status | scheduled => resolved |
2011-05-25 18:07 | hgbot | Resolution | open => fixed |
2011-05-25 18:07 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ba368757d42013e2705dac7b0907b6a0390d3e5c [^] |
2011-05-26 07:47 | hudsonbot | Checkin | |
2011-05-26 07:47 | hudsonbot | Note Added: 0037563 | |
2011-05-26 16:19 | rgoris | Status | resolved => closed |
Notes |
|
(0037451)
|
mtaal
|
2011-05-25 18:05
|
|
This is another bug, the dates are also copied but not shown.
It makes sense to save the record on the server as also the order lines are copied (that's why this clone order is so usefull).
To clone without saving we should support a shallow copy, this is a separate feature. You can enter a separate feature request for it. |
|
|
(0037452)
|
hgbot
|
2011-05-25 18:07
|
|
Repository: erp/devel/pi
Changeset: ba368757d42013e2705dac7b0907b6a0390d3e5c
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed May 25 18:06:38 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ba368757d42013e2705dac7b0907b6a0390d3e5c [^]
Fixes issue 17359: Cloned records have missing values
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-clone-order.js
---
|
|
|
|
|