Limit number of records
by IT-Projects LLC https://twitter.com/OdooFree , Pavel Romanchenko https://twitter.com/OdooFree
Odoo
$ 32.48
Technical Name |
access_limit_records_number |
License | GPL-3 |
Website | https://twitter.com/OdooFree |
Also available in version | v 10.0 v 14.0 v 11.0 v 9.0 v 12.0 v 13.0 |
Limit number of records
e.g. allow to create maximum 10 users. Similar restriction can be applied to any table.
Version: v1.0.0
Tested and maintained by
IT Projects Labs
Assitance: help@itpp.dev
For example, you can restrict number of vehicles by three.

If users try to create more then three vehicles then exception occurs.

Let our expertise work for you!
(Doors and windows below are clickable)
/itpp-labs-1100.jpg)
/itpp-labs-930.jpg)
/itpp-labs-690.jpg)
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