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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018718
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementminoralways2011-10-06 12:372011-12-07 13:22
ReportermaiteView Statuspublic 
Assigned Tomirurita 
PriorityhighResolutionfixedFixed in Version3.0MP6
StatusclosedFix in branchFixed in SCM revision260c5c24d114
ProjectionnoneETAnoneTarget Version3.0MP6
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

0018718: 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 ]
depends on backport 00187592.50MP36 closedmirurita Should not be possible to create invoice line without product and without glitem but with line amt <>0 

-  Notes
(0043212)
hgbot (developer)
2011-11-25 13:31

Repository: erp/devel/pi
Changeset: 260c5c24d114199e36a2fc4070bebc8134c0c810
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Fri Nov 25 09:18:43 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/260c5c24d114199e36a2fc4070bebc8134c0c810 [^]

Fixes issue 18718: [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
---
(0043556)
hudsonbot (developer)
2011-11-30 12:36

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/01809c7b3135 [^]

Maturity status: Test
(0043732)
jonalegriaesarte (reporter)
2011-12-07 13:22

Tested.

- Purchase invoice with product created and completed.
- Purchase invoice with account created and completed.
- Purchase invoice without account and product created.
- Purchase invoice without account and product and lineneamt <>0 created. The error message appears.

- Issue History
Date Modified Username Field Change
2011-10-06 12:37 maite New Issue
2011-10-06 12:37 maite Assigned To => jonalegriaesarte
2011-10-06 12:37 maite Modules => Core
2011-10-06 12:38 maite Resolution time => 1324335600
2011-10-06 12:38 maite Target Version => 2.50MP36
2011-10-06 12:46 maite Issue Monitored: networkb
2011-10-11 16:40 maite Status new => scheduled
2011-10-11 16:40 maite fix_in_branch => pi
2011-10-11 16:40 maite Target Version 2.50MP36 => 3.0MP6
2011-10-11 16:40 maite fix_in_branch pi =>
2011-11-08 12:37 jonalegriaesarte Assigned To jonalegriaesarte => mirurita
2011-11-25 13:31 hgbot Checkin
2011-11-25 13:31 hgbot Note Added: 0043212
2011-11-25 13:31 hgbot Status scheduled => resolved
2011-11-25 13:31 hgbot Resolution open => fixed
2011-11-25 13:31 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/260c5c24d114199e36a2fc4070bebc8134c0c810 [^]
2011-11-30 12:36 hudsonbot Checkin
2011-11-30 12:36 hudsonbot Note Added: 0043556
2011-12-07 13:22 jonalegriaesarte Note Added: 0043732
2011-12-07 13:22 jonalegriaesarte Status resolved => closed
2011-12-07 13:22 jonalegriaesarte Fixed in Version => 3.0MP6


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker