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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012651
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajorhave not tried2010-03-11 13:502010-04-08 00:00
ReporterarunkumarView Statuspublic 
Assigned Toadrianromero 
PriorityimmediateResolutionfixedFixed in Version2.50MP14
StatusclosedFix in branchFixed in SCM revision0d511b2d743e
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP13SCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012651: UOM is not updated if we login as user with Material Management role.

DescriptionLogin as a user with Material Management role.Go to Procurement Management -> Transactions -> Goods Receipt.In header enter the required details and in lines select the product. UOM is not updated according to the product. It always retain the value "unit".
Steps To ReproducePrerequisite:

Create a product "Raw Material A" with the UOM "Bag".

Steps:

Login as a user with Material Management role.
Go to Procurement Management -> Transactions -> Goods Receipt.
In header enter the required details
In lines select the product "Raw Material A".

UOM is not updated to "Bag". It always retain the value "unit".
Proposed SolutionUOM should be updated according to the selected product in lines tab.
TagsNo tags attached.
Attached Filesdiff file icon issue-12651-possible-patch.diff [^] (1,736 bytes) 2010-03-11 18:05 [Show Content]
png file icon WindowAccessProduct.png [^] (45,419 bytes) 2010-03-12 07:15

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00126522.50MP14 closedadrianromero Openbravo ERP Proper management of DAL security 
related to defect 0012668pi closededuardo_Argal Openbravo ERP Proper management of DAL security on file: src/org/openbravo/erpCommon/ad_forms/InitialOrgSetup.java 
related to defect 0012999 closedjonalegriaesarte Openbravo ERP Sales Invoice: Error on Update Payment Monitor 
related to defect 0015164 closedsathiyan Modules Error in callout SubsidyPercentageAmountCalc when adding Subsidy and you don't have access to AAM_SUBSIDY class 

-  Notes
(0025248)
rafaroda (viewer)
2010-03-11 18:03

The error shown is:
ERROR org.openbravo.base.exception.OBSecurityException - Entity Product is not directly readable, only id and identifier properties are readable, property Product.attributeSet is neither of these.
org.openbravo.base.exception.OBSecurityException: Entity Product is not directly readable, only id and identifier properties are readable, property Product.attributeSet is neither of these.
(0025249)
rafaroda (viewer)
2010-03-11 18:04

The line affected is https://code.openbravo.com/erp/devel/pi/file/tip/src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java#l114 [^]

The patch proposed resolved the problem (needs to be reviewed by a DAL expert).
(0025251)
rafaroda (viewer)
2010-03-11 18:18

The following tabs are affected by the same problem (callout affected is informed):
   1. Master Data Management > Product > Product > Transactions
   2. Warehouse Management > Transactions > Physical Inventory > Header > Lines src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Product.java
   3. Warehouse Management > Transactions > Goods Movements > Header > Lines src/org/openbravo/erpCommon/ad_callouts/SL_Movement_Product.java
   4. Warehouse Management > Transactions > Bill of Materials Production > BOM Production > Production Plan > I/O Products src/org/openbravo/erpCommon/ad_callouts/SL_Production_Product.java
   5. Warehouse Management > Transactions > Goods Transaction
   6. Warehouse Management > Setup > Warehouse and Storage Bins > Warehouse > Storage Bin > Bin Contents
   7. Warehouse Management > Setup > Warehouse and Storage Bins > Warehouse > Storage Bin > Product Transactions
   8. Production Management > Transactions > Internal Consumption > Header > Lines src/org/openbravo/erpCommon/ad_callouts/SL_Internal_Consumption_Product.java
   9. Production Management > Transactions > Work Effort > Work Effort > Production Run > Product src/org/openbravo/erpCommon/ad_callouts/SL_Production_Product.java
  10. Production Management > Transactions > Work Effort > Work Effort > Global Use src/org/openbravo/erpCommon/ad_callouts/SL_GlobalUse_Product.java
  11. Production Management > Transactions > Periodic Quality Control Data > Test src/org/openbravo/erpCommon/ad_callouts/SL_PC_Case_Product.java
  12. Warehouse Management > Transactions > Incoming Shipment > Shipment in > Shipment in line src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java
  13. Procurement Management > Transactions > Requisition > Header > Lines src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java
  14. Procurement Management > Transactions > Manage Requisitions > Header > Lines src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java
  15. Procurement Management > Transactions > Goods Receipt > Header > Lines src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java
  16. Procurement Management > Transactions > Purchase Order > Header > Lines src/org/openbravo/erpCommon/ad_callouts/SL_Order_Product.java
  17. Sales Management > Transactions > Goods Shipment > Header > Lines src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java
  18. Sales Management > Transactions > Sales Order > Header > Lines src/org/openbravo/erpCommon/ad_callouts/SL_Order_Product.java
  19. Sales Management > Transactions > Sales Invoice > Header > Lines src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java
  20. Financial Management > Assets > Assets src/org/openbravo/erpCommon/ad_callouts/SL_Asset_Product.java
  21. Procurement Management > Transactions > Purchase Invoice > Header > Lines src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java
(0025252)
rafaroda (viewer)
2010-03-11 18:20
edited on: 2010-03-11 18:23

I think that the callouts/windows above (reviewed during the following project [1]), have to be fixed with the higher urgency since they can affect very badly production systems.

[1] http://wiki.openbravo.com/wiki/Projects/Attribute_set_instance_review#Technical_Documentation [^]

(0025258)
rafaroda (viewer)
2010-03-12 07:14

If you are suffering from this issue for any of your roles this is a temporary workaround:
1) With a Client Administrator role, navigate to General Setup || Security || Role
2) Select the role affected by the issue and go to "Window Access" tab.
3) Create a new record for window "Product" and "Editable Field" = N (see screenshot).
4) Log in with this role the UOM of the product will be correctly selected now.
(0025259)
arunkumar (viewer)
2010-03-12 07:19

yes Rafa this workaround is suggested by Pablo Sarobe and I already did that. Thanks.
(0025928)
psarobe (viewer)
2010-04-07 11:36

Tested working fine

- Issue History
Date Modified Username Field Change
2010-03-11 13:50 arunkumar New Issue
2010-03-11 13:50 arunkumar Assigned To => adrianromero
2010-03-11 13:50 arunkumar OBNetwork customer => No
2010-03-11 13:58 rafaroda Issue Monitored: rafaroda
2010-03-11 13:58 psarobe Priority normal => immediate
2010-03-11 13:58 psarobe Status new => scheduled
2010-03-11 14:27 alostale Relationship added related to 0012652
2010-03-11 18:03 rafaroda Note Added: 0025248
2010-03-11 18:04 rafaroda Note Added: 0025249
2010-03-11 18:05 rafaroda File Added: issue-12651-possible-patch.diff
2010-03-11 18:18 rafaroda Note Added: 0025251
2010-03-11 18:20 rafaroda Note Added: 0025252
2010-03-11 18:23 rafaroda Note Edited: 0025252 View Revisions
2010-03-11 22:56 eintelau Issue Monitored: eintelau
2010-03-12 07:14 rafaroda Note Added: 0025258
2010-03-12 07:15 rafaroda File Added: WindowAccessProduct.png
2010-03-12 07:19 arunkumar Note Added: 0025259
2010-03-15 10:52 psarobe Project @27@ => Openbravo ERP
2010-03-15 13:15 adrianromero Relationship added related to 0012668
2010-03-15 13:16 adrianromero Status scheduled => resolved
2010-03-15 13:16 adrianromero Fixed in SCM revision => 0d511b2d743e
2010-03-15 13:16 adrianromero Resolution open => fixed
2010-04-07 11:36 psarobe Category QuickStart Template + Datasets => 00. Application dictionary
2010-04-07 11:36 psarobe version => 2.50MP13
2010-04-07 11:36 psarobe Note Added: 0025928
2010-04-07 11:36 psarobe Status resolved => closed
2010-04-07 11:36 psarobe Fixed in Version => 2.50MP14
2010-04-08 00:00 anonymous sf_bug_id 0 => 2983499
2010-09-23 13:03 rafaroda Relationship added related to 0012999
2010-11-11 14:03 maite Relationship added related to 0015164


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker