Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Ability to restrict the paging options to users in list views
byhttps://github.com/OCA/web/tree/8.0/web_listview_custom_element_number
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.
Bonne journée
David BEAL - Akretion
Odoo Development / Integration2016-08-26 8:24 GMT+02:00 Wim Audenaert <Wim.Audenaert@ucamco.com>:Hello Jordi,
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.
Regards,
Wim
From: Jordi Ballester Alomar [mailto:jordi.ballester@eficen
t.com ]
Sent: vrijdag 26 augustus 2016 8:08
To: Contributors <contributors@odoo-community.org >
Subject: Ability to restrict the paging options to users in list views
Hi!
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.
Regards,
--
Jordi Ballester Alomar
CEO & Founder | Eficent
Twitter: https://twitter.com/j
beficent_erp | Linkedin: https://www.linkedin.com/in/jordiballesteralomar ______________________________
_________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe ______________________________
_________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe ______________________________
_________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe
Reference
-
Ability to restrict the paging options to users in list views
byForgeFlow, S.L., Jordi Ballester Alomar-
Re: Ability to restrict the paging options to users in list views
byGroupement Régional Alimentaire de Proximité, Sylvain LE GAL -
Re: Ability to restrict the paging options to users in list views
byAkretion France., David BEAL -
Re: Ability to restrict the paging options to users in list views
byForgeFlow, S.L., Aarón Henríquez -
RE: Ability to restrict the paging options to users in list views
byWim Audeneart
-