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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011989
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2010-01-18 11:402010-03-10 18:28
ReporternetworkbView Statuspublic 
Assigned Toharikrishnan 
PriorityimmediateResolutionfixedFixed in Version2.50MP12
StatusclosedFix in branchFixed in SCM revision01c1c4ece669
ProjectionnoneETAnoneTarget Version2.50MP12
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP9SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011989: The organization of a sales invoice can be modified after insert invoice lines

DescriptionThe organization of a sales invoice can be modified after insert invoice lines. This is not correct because after change the organization of the header can happen that the tax rate selected on the lines does not exist for the organization on the header.
Steps To Reproduce-Create a sales invoice for organization A
-Create a invoice line for organization A
-Go to the header and change the organization to organization B.

Proposed SolutionThe fix must be:

Create a trigger (Update action) or use a current one that prevents to change the org if exists at least one line where the corresponding organization does not belong to the tree org the new org of the header

Message has to be: "Header organization can not be changed to an organization that does not belong to the organization tree of the lines."
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0024381)
hgbot (developer)
2010-02-16 08:59

Repository: erp/devel/pi
Changeset: 01c1c4ece669534711d80df4756e92b0d5963766
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Tue Feb 16 13:28:56 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/01c1c4ece669534711d80df4756e92b0d5963766 [^]

Fixes Issue 11989: The organization of a sales invoice can be modified after insert invoice lines.

---
M src-db/database/model/triggers/C_INVOICE_TRG.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0024391)
harikrishnan (reporter)
2010-02-16 10:51

Steps to test

*Create a new Sales Invoice (Sales Management || Transactions || Sales Invoice || Header ) with Organization A.
*Create a new line with organization A1.Now go to Header and try to change the organization to B.Error message will be thrown "Header organization can not be changed to an organization that does not belong to the organization tree of the lines.".And if the organization is set to A2 or A1 or A then the header can be saved.
(0024397)
sureshbabu (reporter)
2010-02-16 11:29

Tested working fine
(0024524)
hudsonbot (developer)
2010-02-18 00:30

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/01c1c4ece669 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7c1b489fb0a0 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16459.obx [^]

- Issue History
Date Modified Username Field Change
2010-01-18 11:40 networkb New Issue
2010-01-18 11:40 networkb Assigned To => rafaroda
2010-02-10 13:12 psarobe Proposed Solution updated
2010-02-10 13:12 psarobe Status new => scheduled
2010-02-10 13:12 psarobe fix_in_branch => pi
2010-02-15 10:29 rafaroda fix_in_branch pi =>
2010-02-15 10:29 rafaroda Description Updated View Revisions
2010-02-15 10:29 rafaroda Proposed Solution updated
2010-02-16 08:59 harikrishnan Assigned To rafaroda => harikrishnan
2010-02-16 08:59 hgbot Checkin
2010-02-16 08:59 hgbot Note Added: 0024381
2010-02-16 08:59 hgbot Status scheduled => resolved
2010-02-16 08:59 hgbot Resolution open => fixed
2010-02-16 08:59 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/01c1c4ece669534711d80df4756e92b0d5963766 [^]
2010-02-16 10:51 harikrishnan Note Added: 0024391
2010-02-16 11:29 sureshbabu Note Added: 0024397
2010-02-16 11:29 sureshbabu Status resolved => closed
2010-02-16 11:29 sureshbabu Fixed in Version => 2.50MP12
2010-02-17 00:00 anonymous sf_bug_id 0 =>
2010-02-18 00:30 hudsonbot Checkin
2010-02-18 00:30 hudsonbot Note Added: 0024524
2010-03-10 18:28 anonymous sf_bug_id => 2967983


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker