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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013265
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajorhave not tried2010-05-07 12:072010-05-18 21:44
ReporterpsarobeView Statuspublic 
Assigned Todalsasua 
PriorityimmediateResolutionfixedFixed in Version2.50MP17
StatusclosedFix in branchFixed in SCM revision15c44cf2da0c
ProjectionnoneETAnoneTarget Version
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

0013265: Not possible to change the quantity in a purchase invoice line

DescriptionThis is the scenario:
1. I have a goods receipt of qty=15
2. I create a purchase invoice based on that Goods receipt but I only want to invoiced 10
3. So I create the header and click the "Create lines from" button. I select the newly created goods receipt. Select the line and click OK
4. Please notice that in the matched invoice window there is still no entry for this. (Correct)
5. Then I move to "lines" tab and change the qty from 15 to 10. I cannot do it. An error message appears. This is not correct

So the logic behind this should be:

1. If the m_inoutline_id is null then there is no problem
2. If the m_inoutline_id is not null then:
   2.1 If not exists the couple c_invoiceline_id/m_inoutline_id in the m_matchinv table then I should be able to change the Qty
   2.2 If exists then I cannot change it

Steps To Reproduce1. Create a goods receipt. Qty 15
2. Create a purchase invoice based on the above goods receipt using create lines from.
3. Move to lines tab and change the qty =10. Save

Current result: An error appears and this is wrong

Expected behaviour: You should be able to change the qty

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0027052)
hgbot (developer)
2010-05-07 13:33

Repository: erp/devel/pi
Changeset: 15c44cf2da0c23c167ae78cd0440a0523c836cb8
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Fri May 07 13:33:13 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/15c44cf2da0c23c167ae78cd0440a0523c836cb8 [^]

Fixes issue 13265: Not possible to change the quantity

---
M src-db/database/model/triggers/C_INVOICELINE_TRG.xml
---
(0027092)
psarobe (manager)
2010-05-10 11:50

Tested working fine
(0027500)
hudsonbot (developer)
2010-05-18 21:44

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/15c44cf2da0c [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^]

- Issue History
Date Modified Username Field Change
2010-05-07 12:07 psarobe New Issue
2010-05-07 12:07 psarobe Assigned To => dalsasua
2010-05-07 12:09 dalsasua Status new => scheduled
2010-05-07 12:09 dalsasua fix_in_branch => pi
2010-05-07 12:11 psarobe fix_in_branch pi =>
2010-05-07 12:11 psarobe Steps to Reproduce Updated View Revisions
2010-05-07 13:33 hgbot Checkin
2010-05-07 13:33 hgbot Note Added: 0027052
2010-05-07 13:33 hgbot Status scheduled => resolved
2010-05-07 13:33 hgbot Resolution open => fixed
2010-05-07 13:33 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/15c44cf2da0c23c167ae78cd0440a0523c836cb8 [^]
2010-05-10 11:50 psarobe Note Added: 0027092
2010-05-10 11:50 psarobe Status resolved => closed
2010-05-10 11:50 psarobe Fixed in Version => 2.50MP16
2010-05-11 00:00 anonymous sf_bug_id 0 => 2999641
2010-05-11 18:20 jpabloae Fixed in Version 2.50MP16 => 2.50MP17
2010-05-18 21:44 hudsonbot Checkin
2010-05-18 21:44 hudsonbot Note Added: 0027500


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker