Contributors mailing list archives
Re: Ability to restrict the paging options to users in list viewsby
my feedbackI don't think there a real reason to have different behavior by group because in rare case you can select 200 ou 500 and 30 is ok if you don't want scroll all the time.On my last project I put a default value limit of 30 records (for a new installed modules) in ir.action.window and update in sql all existing actions. (20 could be sufficient)It's quick dirty because 80 value is still view_list.js and there is a little side effect:You're on 30, OK.If you select 200 or upper, it works fine.But if you select 80 nothing change (80 is in js), it display 30 records, you have to switch to other value before back to 80.But it's very good for bandwith.
David BEAL - Akretion
Odoo Development / Integration2016-08-26 8:24 GMT+02:00 Wim Audenaert <Wim.Audenaert@ucamco.com>:
I agree that it would be a great feature, but I think that it will be quite difficult to achieve as Odoo shows the currently used limit in the url (see screenshot).
<img width="207" height="29" style="width:2.1583in;height:.
3in" id="Picture_x0020_1" src="cid:image002.jpg@01D1FF71 .FA8EE0B0">
If I remember well, we had a customer where we limited the selection box up to 500 records, but some of the just changed the limit directly in the url.
From: Jordi Ballester Alomar [mailto:jordi.ballester@eficen
Sent: vrijdag 26 augustus 2016 8:08
To: Contributors <email@example.com
Subject: Ability to restrict the paging options to users in list views
I'm finding that sometimes letting users select large number of records in a tree view can result in performance issues. I'm refering to the 80, 200, 500, 2000, Unlimited options.
It would be great if there was an option available to restrict the number of records, for a given group "Limited number of records".
So, you could define that by company policy users can only list up to 200 records.
Eficent Business and IT Consulting Services, S.L., Jordi Ballester Alomar