hi guys, I want to limit records listing in many2one field ,according to a number from a field inside settings menu?how can i do that?can anyone have a code snippet,thanks in advance
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
2622
Views
Hi,
You can use this OCA module: web_m2x_options
Once this is installed:
New options
create boolean (Default: depends if user have create rights)
Whether to display the "Create..." entry in dropdown panel.
create_edit boolean (Default: depends if user have create rights)
Whether to display "Create and Edit..." entry in dropdown panel
m2o_dialog boolean (Default: depends if user have create rights)
Whether to display the many2one dialog in case of validation error.
limit int (Default: openerp default value is 7)
Number of displayed record in drop-down panel
Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up