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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
3024
Widoki
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się