web icon indicating copy to clipboard operation
web copied to clipboard

[ADD] web_widget_model_disable_nbrecords_computation

Open wouitmil opened this issue 2 years ago • 1 comments

This module allows disabling the nbrecords computation on widget domain fields

You'll then get this: Screenshot 2023-10-28 at 13 16 11

Instead of this: Screenshot 2023-10-28 at 13 15 05

Once installed, the domain widget won't compute the number of records by default for domain fields.

The default behaviour can be changed in settings The default behaviour can be overridden on specific fields by adding {'autoFetch':true|false} on domain fields attrs attribute.

Screenshot 2023-10-28 at 13 13 52

wouitmil avatar Oct 28 '23 11:10 wouitmil

Hi @wouitmil, looks like extra commits slipped in

guewen avatar Nov 01 '23 09:11 guewen

FYI, in 16.0, now this computation is optimized, showing 10.000+ if the number is higher for not having delays there. Maybe you can backport that feature for continuity (or migrate to 16 :wink:). Just a suggestion though. Nothing blocking, and I'm already in upper versions.

pedrobaeza avatar Oct 31 '24 07:10 pedrobaeza