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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010015
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminoralways2009-07-23 12:402011-10-29 19:46
ReportervmromanosView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionunable to reproduceFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Versionpi
OSLinux 32 bitDatabasePostgreSQLJava version1.6
OS VersionUbuntu 8.04Database version8.3.7Ant version1.7.0
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010015: Read only logic does not work with Business Partner fields

DescriptionThe read only logic doesn't work in Business Partner fields and probably in other columns defined as "Search" Reference.

When you define the same read only logic rule for other columns in the same table (with "String", "Amount" or "Tabledir" Reference), the same rule is working fine
Steps To Reproduce1- As system administrator go to any table that has a C_BPartner_ID column
2- Define any checkbox of this table as "Stored in Session"
3- Go to the C_BPartner_ID column and write the following Read Only Logic: @<CheckboxColumn>@='N'
4- Write the same Read Only Logic in other column (just to be sure the rule is working fine)
5- Compile the associated window, deploy and restart tomcat
6- Go to the window and check/uncheck the previous checkbox. Observe the Business Partner field.
TagsNo tags attached.
Attached Filespng file icon readonly.png [^] (217,572 bytes) 2009-09-01 18:22


png file icon readonly1.png [^] (209,235 bytes) 2009-09-01 18:22

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0007964 acknowledgedTriage Platform Base Checkboxes do not take "N" value util they are saved 

-  Notes
(0019342)
rafaroda (developer)
2009-08-31 14:32

Hi VĂ­ctor,

Read only logic does work for business partner field.
1) Create an expense sheet.
2) Create a line and tick Reinvoicing check-box

Business Partner field appears since read only logic behind is: @IsInvoiced@='Y'

Your problem comes because of this issue: 0007964: Checkboxes do not take "N" value until they are saved https://issues.openbravo.com/view.php?id=7964 [^]

Regards.
(0019381)
vmromanos (manager)
2009-09-01 18:21

Rafa,

I think the problem is not the one you comment on your previous note.

In my window, the checkbox that controls the readonly logic is not accessible (it is always readonly), so it's impossible to manually change its value.

I have attached two screenshots, where you can see that the same readonly logic on the other fields is working fine except in the BP field.

The field that controls the readonly logic of the other fields is "Manual". In the readonly.png file you can see that all the fields are readonly logic except the BP one (wrong).
In the readonly1.png file all the files are not read only (OK).
(0019902)
psarobe (manager)
2009-09-14 12:43

As Victor mentions it looks like that read only logic does not work with fields configure as Search.

Take into account the explanation that Victor writes regarding on the screenshot: "The field that controls the readonly logic of the other fields is "Manual". In the readonly.png file you can see that all the fields are readonly logic except the BP one (wrong).
In the readonly1.png file all the files are not read only (OK). "
(0042347)
psarobe (manager)
2011-10-29 19:46

Openbravo provides community support only for the latest Openbravo version, which is Openbravo 3. This version has significantly improved financial flow, filtering, performance, etc and this issue is not present there. Upgrade path from Openbravo 2.50 to latest Openbravo version is available so we recommend to upgrade your instance to get this issue fixed.

Life cycle guarantee (backporting bug fixes to the previos to latest releases (Openbravo 2.40, 2.50)) is available for Professional Edition subscribers only. Please register your ticket through Openbravo Support Portal (http://support.openbravo.com/ [^]) if you have valid Professional subscription.

You can find more details about our Support policy in the following blog post
http://paolojuvara.blogspot.com/2009/12/maintenance-policy-for-openbravo-250.html [^]

- Issue History
Date Modified Username Field Change
2009-07-23 12:40 vmromanos New Issue
2009-07-23 12:40 vmromanos Assigned To => rafaroda
2009-08-31 14:32 rafaroda Status new => closed
2009-08-31 14:32 rafaroda Note Added: 0019342
2009-08-31 14:32 rafaroda Resolution open => no change required
2009-08-31 14:32 rafaroda Relationship added related to 0007964
2009-09-01 00:00 anonymous sf_bug_id 0 => 2848051
2009-09-01 18:21 vmromanos Status closed => new
2009-09-01 18:21 vmromanos Resolution no change required => open
2009-09-01 18:21 vmromanos Note Added: 0019381
2009-09-01 18:22 vmromanos File Added: readonly.png
2009-09-01 18:22 vmromanos File Added: readonly1.png
2009-09-14 12:43 psarobe Note Added: 0019902
2009-09-14 12:43 psarobe Assigned To rafaroda => alostale
2009-09-14 12:43 psarobe Priority normal => high
2009-09-14 12:43 psarobe Status new => scheduled
2009-09-14 12:43 psarobe fix_in_branch => pi
2011-10-29 19:46 psarobe Note Added: 0042347
2011-10-29 19:46 psarobe Status scheduled => closed
2011-10-29 19:46 psarobe Resolution open => unable to reproduce


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker