El 21/05/15 a les 17:05, Cédric Krier ha escrit:
On 21 May 16:27, Sergi Almacellas Abellana wrote:
Hi,

We have a model which has a type (selection) field. On this model we have
two action windows filtered by domain on type field. So from the user
prespective it seems that there are two diferent models.

We need to print two diferent reports on each of the actions. The main
concern we have is that both report actions are shown i both action windows
but only one is aplicable for each action.

It it's possible to filter on which action the report it's shown?

No by definition because action can be run on a set of records which
will not necessary have the same properties. So report must always works
for any records.

If not, do you think it may be a good improvement?

No I don't think because this behaviour comes from the UI design.
But there is a way arround by using buttons with states. The client
shows only the buttons visible for all the records selected. But I don't
think it is a good user experience.
Probably the best solution, will be to manage both layout inside a
unique report.

You gave me a nice idea. I can use a wizard that will decide which is the type of the report based on the context, as every action have a diferent type value for type field.

Thanks!

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

Reply via email to