I found some anomalies after the last alignment to version 8.2, this about the css style we use a lot for our customers. I replicated this on the test machine an easy example (test.idempiere.org). In the Business Partner field I added a simple Field Style: color blue if the QtyReserved=0 (qtyReserved is a virtual column). As you can see from the image, only in some cases the Business partner label is colored blue if the QtyReserved=0, in other cases it is not colored even though it is always 0. Why? This is just an example that I wanted to replicate on the test machine to show the matter. Maybe it is due to the updates regarding the display logic?
I tried to reproduce the case in but there it works as expected.
Perhaps, it was introduced in 8.2z.
Best regards,
Diego Ruiz
Diego Ruiz July 19, 2021 at 3:35 PM
The ones from my screenshot were also newly created.
After debugging, I see that the difference is that it fails on completed lines. It is working for draft orders but once you complete them the DisplayLogic always returns false for virtual columns.
Andrea Bellotto July 19, 2021 at 1:54 PM
Hi Diego,
I also noticed that it worked on existing GardenWorld orders, I tried to create a new order and as you can see from the image the text field is not colored blue. Obviously I noticed this thing on my customers' orders, some work and others don't, it seems without a logical sense.
Best Regards,
Andrea Bellotto
Diego Ruiz July 19, 2021 at 11:37 AM
Hi ,
Could you please try to create (again) a test case in the demo server?
I tried to reproduce the issue, but everything seems to be working.
Invoice Net Amount is a virtual column (Grandtotal-Totallines) and the CSS Style has a display Logic = @NetInvoiceAmt@=0.
https://groups.google.com/g/idempiere/c/GZtuwiNr1z8/m/-Ux7Obr3AAAJ
Hi everyone,
I found some anomalies after the last alignment to version 8.2, this about the css style we use a lot for our customers.
I replicated this on the test machine an easy example (test.idempiere.org).
In the Business Partner field I added a simple Field Style: color blue if the QtyReserved=0 (qtyReserved is a virtual column).
As you can see from the image, only in some cases the Business partner label is colored blue if the QtyReserved=0, in other cases it is not colored even though it is always 0. Why?
This is just an example that I wanted to replicate on the test machine to show the matter. Maybe it is due to the updates regarding the display logic?
Thank you very much