Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2658 displayType for button fields / find window

R2.6.3
closed
CompiereQA
None
5
2007-10-08
2007-09-25
bitsoftware01
No

In the initFindAdvanced method of the Find.java class (package org.compiere.apps.search) the dislay type for button fields is changed to table or list => a wrong editor is created for this fields. For example the posted/DocAction fields is displayed as a combobox (list) in the GridWindow and not as buttons.
This happens only if the table (ex. Order) of the window is marked as high volume and you switch to the advanced tab of the find window before the main window (ex. Sales Orders) is diplayed.

PS: I attached the Find.java class fixed by me (search for comments: // bit / mk - fix for button display type).

Discussion

1 2 > >> (Page 1 of 2)
  • bitsoftware01
    bitsoftware01
    2007-09-25

     
    Attachments
  • bitsoftware01
    bitsoftware01
    2007-09-25

    Logged In: YES
    user_id=1382052
    Originator: YES

    version 263

     
  • Kathy Pink
    Kathy Pink
    2007-09-27

    • assigned_to: nobody --> kviiksaar
     
  • Kai Egbert
    Kai Egbert
    2007-09-28

    Logged In: YES
    user_id=1784380
    Originator: NO

    Replicated.

    To reproduce in GardenWorld:
    - Start Compiere as System Admin and switch table C_Order to high volume.
    - Start Compiere as User or Admin and open Sales Order Window.
    - On search Window switch to advanced and submit search empty or with values.
    - The Sales Order Window shows the DocAction Button (label Process Order) as drop-down-list instead as button.

     
  • Kai Egbert
    Kai Egbert
    2007-09-28

    • milestone: --> R2.6.3
    • labels: 676693 -->
     
  • Kai Egbert
    Kai Egbert
    2007-09-28

    Logged In: YES
    user_id=1784380
    Originator: NO

    I've tested the attached fix. It solves the problem.

     
  • Kai Egbert
    Kai Egbert
    2007-09-28

    • assigned_to: kviiksaar --> kmpink
     
  • Kathy Pink
    Kathy Pink
    2007-10-02

    • assigned_to: kmpink --> sgosain
     
    • assigned_to: sgosain --> nnayak
     
  • nnayak
    nnayak
    2007-10-08

    Logged In: YES
    user_id=1790252
    Originator: NO

    Fixed in revision 3715

     
1 2 > >> (Page 1 of 2)