input bpartner by WSearchEditor is not consistent.

Description

1. open sale order window
2. input "GardenAdmin BP", after leaver this field, bpartner info is display with empty result, reason is sale_trx of this window = true.
at now, we can think "GardenAdmin BP" is not allow input at here.

3. clear customer field in bpartner info. requery and select "GardenAdmin BP", it's allow.

2 and 3 make inconsistent

solution:
1. allow user input "GardenAdmin BP" at two where
2. disallow user input "GardenAdmin BP" at two where

WDYT?

Environment

None

Activity

Show:
Carlos Ruiz
June 25, 2014, 5:18 PM

, I think that's ok, by default the info window just show customers (because of the sotrx flag) but the field allows any BP.

The effect would be similar if you set a default on any info window but that default doesn't restrict the referenced table.

Regards,

Carlos Ruiz

Hiep Lq
September 6, 2014, 6:02 PM

this condition will a other case for 2189

Hiep Lq
October 9, 2014, 9:18 AM

in my mind, default value help user select a suitable record, not restrict him.
because my patch will do follow solution 1. when user type GardenAdmin BP,
it's a correct value, because info panel will don't display.
please close this ticket if you don't agree with me. i just use it in local.

Carlos Ruiz
September 10, 2019, 9:36 AM

Hi ,

retested this following your original instructions:

> 1. open sale order window
> 2. input "GardenAdmin BP", after leaver this field, bpartner info is display with empty result,
> reason is sale_trx of this window = true.
> at now, we can think "GardenAdmin BP" is not allow input at here.

right, the info window doesn't show "GardenAdmin BP" because is filtering Customer=Yes

> 3. clear customer field in bpartner info. requery and select "GardenAdmin BP", it's allow.

Yes, this is the expected behavior on a sales window.

_______________

Tried to integrate the patch to test the difference you mention but the patch is not integrable with actual code.

Assignee

Unassigned

Reporter

Hiep Lq

Labels

Tested By

None

Components

Priority

Minor
Configure