I've linked an action to the action menu of the res.partner model and I'm trying to get all the the selected Ids like the export function when clicking the checkbox in the upper left of the header , but in the active_ids list I only get the visibile ones.
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
How can the export function get all the the ids then, also the ones not in the current page ?
you can load all you contacts in page with help of editing right panel as i shown you in image.
Set total customer number there and you will get all ids.
Also you can search all customer with help of following code.
self.search([]).
Hello Alessandro
You will get ids for only contacts which are visible on the page if you want to take all ids then you need to load all contacts in the page.
you can edit right panel as shown in the image to load number of contacts on the page
Hope this will help you.
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