isSoTrx from menu should pass also to infowindow

Description

at the moment, isSoTrx of menu item only pass to process and report.
it also help full for info window, so i can create two menu for sale transaction and non-sale transaction with only on info window define.

isSoTrx also should add to view item, fav menu

Environment

None

Attachments

1

Activity

Show:

Carlos Ruiz September 25, 2017 at 9:10 AM

, the patch looks like a hack.

I'm wondering if we can create a more elegant and wide solution allowing to set context from menu. I think we have suggested this in past, very draft idea is like adding a column AD_Menu.SetCtx and allow to define there pairs of context=value.

That approach can allow to have one window that can be called in different menu entries with different behaviors.
Example, payment/receipt window - at this moment there is just one payment window for payments and receipts.
If you want to split it you need to create a new window and replicate all the tabs there.
With the AD_Menu.SetCtx we could use same window and drive the behavior (displaylogic, callouts, mandatorylogic, reference filters) based on a context set from the menu.

Duplicate

Details

Assignee

Reporter

Labels

Priority

Created September 24, 2017 at 4:44 AM
Updated November 1, 2017 at 11:51 AM
Resolved September 26, 2017 at 2:04 AM