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
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..
replaced patch for iDempiere 3.1
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.
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.
> 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.