Limit number of records
e.g. allow to create maximum 10 users. Similar restriction can be applied to any table.
For example, you can restrict number of vehicles by three.
If users try to create more then three vehicles then exception occurs.
Need our service?
Contact us by email or fill out request form
- it@it-projects.info
- https://www.it-projects.info/page/website.contactus
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Technical Name |
itp_access_limit_records_number |
| License | LGPL-3 |
| Website | https://it-projects.info |
Limit number of records
Usage
- In debug mode open Settings / Users / Groups
- Find there Limit records number / Control limits on records number group and add your user in the group.
- Open Settings / Technical / Security / Records Number Limits menu
- Create new record. For example:
- Model: Information on a vehicle
- Domain: []
- Maximum Records: 3
- Save the record
- Try to create more than three vehicles from Fleet / Vehicles / Vehicles. When you try to create more than three vehicles then you see an exception message. The system doesn't allow you create more than three records.
Please log in to comment on this module