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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018759
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 03. Procurement managementminoralways2011-10-06 12:372011-11-10 09:50
ReportermaiteView Statuspublic 
Assigned Tomirurita 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revision907e44abf20e
ProjectionnoneETAnoneTarget Version2.50MP36
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

0018759: Should not be possible to create invoice line without product and without glitem but with line amt <>0

DescriptionShould not be possible to create invoice line without product and without glitem but with line amt <>0
Steps To Reproduce1. Go to purchase invoice window and create header for any business partner
2. Add line leaving product field empty. Actually, you are able to set any price <> 0 or tax <> exempt but does not make sense
Proposed Solutioncreate trigger to control that if invoice line does not have account_id nor m_product_id, price fields or tax fields should be zero
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00187083.0MP5 closedjonalegriaesarte Posting Invoice without product, without account and without default product category should use AcctSchema Defaults 
blocks defect 00187183.0MP6 closedmirurita Should not be possible to create invoice line without product and without glitem but with line amt <>0 

-  Notes
(0042709)
hgbot (developer)
2011-11-09 18:37

Repository: erp/stable/2.50
Changeset: 907e44abf20e6480b9877a673954bfc01ada278b
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Wed Nov 09 18:36:03 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/907e44abf20e6480b9877a673954bfc01ada278b [^]

Fixes issue 18759: [trigger] invoice line without product and without glitem but with line amt <>0

---
M src-db/database/model/triggers/C_INVLINE_CHK_RESTRICTIONS_TRG.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0042716)
maite (developer)
2011-11-10 09:50

verified

- Issue History
Date Modified Username Field Change
2011-10-11 16:40 maite Type defect => backport
2011-10-11 16:40 maite fix_in_branch => 2.50
2011-10-11 16:41 maite Relationship added related to 0018708
2011-11-08 12:36 jonalegriaesarte Assigned To jonalegriaesarte => mirurita
2011-11-09 18:37 hgbot Checkin
2011-11-09 18:37 hgbot Note Added: 0042709
2011-11-09 18:37 hgbot Status scheduled => resolved
2011-11-09 18:37 hgbot Resolution open => fixed
2011-11-09 18:37 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/907e44abf20e6480b9877a673954bfc01ada278b [^]
2011-11-10 09:50 maite Note Added: 0042716
2011-11-10 09:50 maite Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker