Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017359
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2011-05-25 17:392011-05-26 16:19
ReporterrgorisView Statuspublic 
Assigned Tomtaal 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionba368757d420
ProjectionnoneETAnoneTarget Version3.0MP0
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017359: Cloned records have missing values

DescriptionCLoning 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.
Proposed SolutionEither provide default values in the clone for required fields, or do not make the clone record appear as being saved.
TagsNo tags attached.
Attached Filespng file icon CloneField.png [^] (152,443 bytes) 2011-05-25 17:39

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0037451)
mtaal (manager)
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 (developer)
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
---
(0037563)
hudsonbot (developer)
2011-05-26 07:47

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/728387046be6 [^]

Maturity status: Test

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker