Allow to change m_inout_candidate_v's name as Sys Config

Description

The view m_inout_candidate_v is used much and changed quite often in own installations. These changes can be destroyed through migration scripts. It would be nice to allow to change this name's view with a System Configurator

Reference: http://wiki.idempiere.org/en/IDempiere_workshop_2015/transcript#configuring_of_views_in_system_configurator

Environment

None

Activity

Show:
Gabriel Strozi Schneider
November 26, 2015, 1:34 PM
Edited

Patch for allow change the view of the forms of generating the invoice and inout.

Its was not created parameter in the System Configurator. Parameter should be created the organization level..

Gabriel Strozi Schneider
December 8, 2015, 6:08 PM

replaced patch for iDempiere 3.1

Carlos Ruiz
February 6, 2019, 2:56 PM

Thanks

I think the patch is wrong as must be breaking the security access, look at the comment:
// use C_Order instead of M_InOut_Candidate_v for access purposes, will be replaced later
So, I think the query initially is constructed with C_Order - then security access applied, and then C_Order is replaced by the view.

Also, please change the SysConfig to be client configurable, not org.
And we need a migration script to add the initial configuration on System.

Regards,

Carlos Ruiz

Martin Schönbeck
May 11, 2020, 9:35 PM

Hi ,

I read this patch suggestion. I would prefer another solution, but it’s a bit more effort. The idea is to have such entries as ‘Generate Shipments (manual)’ or ‘Generate Invoices (manual)’ configurable as info windows are. And for ‘Generate Shipments’ the view could be a simple text parameter which is only visible and preset with the name of the view. This way there could easily be two or more calls to ‘Generate Shipments’ with different views if one needs it.

Regards,
Martin

Carlos Ruiz
May 12, 2020, 12:23 PM

> The idea is to have such entries as ‘Generate Shipments (manual)’ or ‘Generate Invoices (manual)’
> configurable as info windows are.

That idea has been proposed in and - but still have not been completed.

Assignee

Unassigned

Reporter

Diego Ruiz

Tested By

None

Priority

Minor
Configure