Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006925Openbravo ERP02. Master data managementpublic2009-01-15 17:052009-04-21 12:36
plujan 
Dowid 
normalminorhave not tried
closedfixed 
30
2.50alpha-r6 
 
Core
No
0006925: It is not possible to import products on a new client because of a mssing default
I am importing a set of products for a client I just created. When importing, I receive a message about tax_category_id as null, but in the window there is not tax related fields.
Later, I found that if I first import taxes and create tax categories, none of this categories is marked as default and that is causing the problems. On previous Openbravo releases, you had an Standard value that prevent this error.
Note: You can follow detailed steps on the QA's Smoke Test for 2.50 at http://tools.openbravo.com:8891/testlink [^]
1. On a recently created client, import taxes
2. Import products. An error message is displayed about tax_category_id missing
3. Go Financial Management > Accounting > Setup > Tax Category
4. Note that none of created categories is marked as default
5. Choose one and mark it as default
6. Import products again. This time the products are imported.
The error message is not clear enough to understand the problem. It has no sense a message "tax category is null" on a window that has not a field named Tax Category. So I can not solve the issue and go on. I should realize that on Product window there are fields that are not on Import Product window.

Solution is to prevent importing by warning that some required preconditions (a Tax Category marked as default) is not present. It is not an error, so it would be not a good solution to show that message as an importing error.
comsup_sprint4, QA_review_pre_beta
has duplicate defect 0006539 closed rafaroda I cannot import Products 
related to feature request 0007031 acknowledged rmorley Improve Import Product process 
Issue History
2009-01-15 17:05plujanNew Issue
2009-01-15 17:05plujanAssigned To => rafaroda
2009-01-15 17:05plujansf_bug_id0 => 2510270
2009-01-15 17:05plujanRegression testing => No
2009-01-15 17:55rafarodaRelationship addedrelated to 0006539
2009-01-15 19:55plujanTag Attached: QA_review_pre_beta
2009-01-19 10:37psarobeRelationship replacedhas duplicate 0006539
2009-01-19 11:27psarobeSeveritymajor => minor
2009-01-19 11:29psarobeStatusnew => scheduled
2009-01-19 11:29psarobeAssigned Torafaroda => Dowid
2009-01-19 11:29psarobefix_in_branch => trunk
2009-01-19 11:34psarobeNote Added: 0012313
2009-01-19 11:34psarobeStatusscheduled => feedback
2009-01-19 12:03psarobeStatusfeedback => scheduled
2009-01-19 12:03psarobeNote Added: 0012319
2009-01-20 16:33DowidRelationship addedrelated to 0007031
2009-01-20 16:46svnbotCheckin
2009-01-20 16:46svnbotNote Added: 0012396
2009-01-20 16:46svnbotStatusscheduled => resolved
2009-01-20 16:46svnbotResolutionopen => fixed
2009-01-20 16:46svnbotsvn_revision => 12063
2009-01-20 16:47DowidTag Attached: comsup_sprint4
2009-04-21 12:36psarobeStatusresolved => closed

Notes
(0012313)
psarobe   
2009-01-19 11:34   
Waiting for Rachel's message suggestion
(0012319)
psarobe   
2009-01-19 12:03   
To import the product(s) you must mark a tax category as default
(0012396)
svnbot   
2009-01-20 16:46   
Repository: openbravo
Revision: 12063
Author: dowid
Date: 2009-01-20 16:46:40 +0100 (Tue, 20 Jan 2009)

bug fixed 0006925: It is not possible to import products on a new client because of a missing default

---
U trunk/src/org/openbravo/erpCommon/ad_process/ImportProduct.java
U trunk/src-db/database/sourcedata/AD_MESSAGE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=12063&sc=1 [^]