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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020504
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2012-05-15 13:232012-05-30 18:13
ReportermaiteView Statuspublic 
Assigned Tojecharri 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision475e5dd573e7
ProjectionnoneETAnoneTarget Version3.0MP12
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

0020504: "Copy Lines" process should shown proper error message instead of "Process failed during execution"

DescriptionProblem is that tax can not be calculated, so when trying to save copied invoice line "c_invoiceline_check2" restriction is raised.

Proper error should be raised indicating what is missed configuration causing this problem so user can correct it.
Steps To Reproduce1. Create new tax category "tc"
2. Go to GL Item window and create new gl item. Check "Enable in financial invoice" and set tax category= tc
3. Create new purchase invoice for any partner. Add line checking "Financial Invoice Line" and choosing your gl item. Set any price and tax and complete invoice.
4. Create new purchase invoice for same partner and press "Copy lines" button. Select invoice created previously and run process.

Error "Process failed during execution" will be raised.

If you have a look to log you can verify that "c_invoiceline_check2" restriction has been raised.

Possible missing configurations:
- tax category associated to product/glitem does not have tax rate associated

In that case, problem is that tax category "tc" associated to glitem does not have any tax rate associated.

Proper error should be raised indicating what is missed configuration causing this problem so user can correct it.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0049448)
hgbot (developer)
2012-05-29 18:46

Repository: erp/devel/pi
Changeset: 475e5dd573e7bb4d616613ab493d2f59d718c987
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue May 29 18:41:57 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/475e5dd573e7bb4d616613ab493d2f59d718c987 [^]

Fixes issue 20504: "Copy Lines" process should
should shown proper error message instead of "Process failed during execution".
Issue 20336: Should not be possible to create several periods for same date range in different years. I have updated the message with id 0FF0EC6915A04F4EA5FB2FD09DA82F14, because now the previous message was incomplete to new code

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.java
---
(0049485)
maite (developer)
2012-05-30 13:11

verified
(0049511)
hudsonbot (developer)
2012-05-30 18:13

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/3752a665362c [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-05-15 13:23 maite New Issue
2012-05-15 13:23 maite Assigned To => mirurita
2012-05-15 13:23 maite Modules => Core
2012-05-15 13:29 maite Steps to Reproduce Updated View Revisions
2012-05-15 13:29 maite Issue Monitored: networkb
2012-05-15 13:37 mirurita Assigned To mirurita => jonalegriaesarte
2012-05-21 13:01 jonalegriaesarte Assigned To jonalegriaesarte => jecharri
2012-05-29 18:46 hgbot Checkin
2012-05-29 18:46 hgbot Note Added: 0049448
2012-05-29 18:46 hgbot Status new => resolved
2012-05-29 18:46 hgbot Resolution open => fixed
2012-05-29 18:46 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/475e5dd573e7bb4d616613ab493d2f59d718c987 [^]
2012-05-30 13:11 maite Note Added: 0049485
2012-05-30 13:11 maite Status resolved => closed
2012-05-30 18:13 hudsonbot Checkin
2012-05-30 18:13 hudsonbot Note Added: 0049511


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker