Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008249Openbravo ERP03. Procurement managementpublic2009-03-24 12:192009-07-09 09:48
networkb 
sathiyan 
immediatemajoralways
closedfixed 
5
2.40MP2 
pi 
Core
No
0008249: The documentno of and order shouldn't change without modify the document type
When you have an order saved but without completed, if you change the organization
the documentno is modified. It shouldn't be modified if the document type is not modified.
Besides, if you select again the original organization (the original document type) the documentno takes the next documentno and it should take the documentno used when the order was saved.
It happens in purchese orders and sales order.
-Create an order (sales or purchase).
-Save it
-Change the organization.
-You will see that the documentno changes and the document type has not change what is bad.
-Select again the organization used when the order was saved.
-The documentno is not changed to the documentno used previously
The behavior has to be the same as it happens in the sales invoice:
1. Only when the document type changes the documentno has to change. In this case when changing the organization the document type doesn't change so it doesn't make sense the current behavior
250 QA
depends on backport 0008292 closed sathiyan The documentno of and order shouldn't change without modify the document type 
depends on backport 0008913 closed vinothbabu The documentno of and order shouldn't change without modify the document type 
Issue History
2009-03-24 12:19networkbNew Issue
2009-03-24 12:19networkbAssigned To => rafaroda
2009-03-24 12:19networkbRegression testing => No
2009-03-25 17:05psarobeNote Added: 0014962
2009-03-25 17:06psarobeStatusnew => scheduled
2009-03-25 17:06psarobefix_in_branch => pi
2009-03-25 17:20psarobefix_in_branchpi =>
2009-03-25 17:20psarobeSteps to Reproduce Updated
2009-03-25 17:33rafarodaAssigned Torafaroda => sathiyan
2009-04-01 17:04psarobeTag Attached: 250 QA
2009-04-03 13:55hgbotCheckin
2009-04-03 13:55hgbotNote Added: 0015165
2009-04-03 13:55hgbotStatusscheduled => resolved
2009-04-03 13:55hgbotResolutionopen => fixed
2009-04-03 13:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/21739fc08fbb96286eca466ca69092924936eb27 [^]
2009-04-03 16:54sureshbabuStatusresolved => closed
2009-04-03 16:54sureshbabuNote Added: 0015175
2009-04-03 16:54sureshbabuFixed in Version => 2.50beta
2009-04-15 12:00anonymoussf_bug_id0 => 2764945
2009-05-05 15:26psarobeStatusclosed => new
2009-05-05 15:26psarobeResolutionfixed => open
2009-05-05 15:26psarobeFixed in Version2.50 =>
2009-05-05 15:26psarobeStatusnew => scheduled
2009-05-05 15:26psarobefix_in_branch => pi
2009-05-05 15:27psarobeStatusscheduled => resolved
2009-05-05 15:27psarobeResolutionopen => fixed
2009-05-05 15:27psarobeStatusresolved => closed
2009-07-03 13:12hgbotCheckin
2009-07-03 13:12hgbotNote Added: 0017826
2009-07-03 13:12hgbotStatusclosed => resolved
2009-07-03 13:12hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/21739fc08fbb96286eca466ca69092924936eb27 [^] => http://code.openbravo.com/erp/devel/pi/rev/d86711549e1bc56ce4d38145f152b4cbf174dfcc [^]
2009-07-09 08:47sureshbabuNote Deleted: 0015175
2009-07-09 09:48sureshbabuStatusresolved => closed
2009-07-09 09:48sureshbabuNote Added: 0018046
2009-07-09 09:48sureshbabuFixed in Version2.50MP1 => pi

Notes
(0014962)
psarobe   
2009-03-25 17:05   
The behavior has to be the same as in purchase invoice and sales invoice
(0015165)
hgbot   
2009-04-03 13:55   
Repository: erp/devel/pi
Changeset: 21739fc08fbb96286eca466ca69092924936eb27
Author: Jayakumar Kasinathan <jayakumar.kasinathan <at> openbravo.com>
Date: Fri Apr 03 05:27:44 2009 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/21739fc08fbb96286eca466ca69092924936eb27 [^]

Fixes bug 8249 The document no of order shouldn't change without modify the document type.

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Order_DocType.java
M src/org/openbravo/erpCommon/ad_callouts/SL_Order_DocType_data.xsql
---
(0017826)
hgbot   
2009-07-03 13:12   
Repository: erp/devel/pi
Changeset: d86711549e1bc56ce4d38145f152b4cbf174dfcc
Author: Jayakumar Kasinathan <jayakumar.kasinathan <at> openbravo.com>
Date: Fri Apr 03 05:27:44 2009 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/d86711549e1bc56ce4d38145f152b4cbf174dfcc [^]

Fixes bug 8249 The document no of order shouldn't change without modify the document type.

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Order_DocType.java
M src/org/openbravo/erpCommon/ad_callouts/SL_Order_DocType_data.xsql
---
(0018046)
sureshbabu   
2009-07-09 09:48   
Right now, the document no changes only when we change the Transaction document type not the BP. (tested working fine)