Expand One2many Record Limit in Odoo: Load All Related Records on a Single Page

Buy Now


Why Odoo's default One2many record limit creates a real problem

Anyone who has worked with large sales orders, purchase orders, or invoices in Odoo has encountered the same frustration: your One2many field the tab that shows order lines, invoice items, stock moves, or any related records only displays a limited number of rows before cutting off. The rest are hidden behind a pagination control or a "Load More" interaction that breaks your workflow every time you need to review, print, or process a record in full.

For businesses handling orders with dozens or hundreds of lines manufacturing BOMs, bulk purchase orders, large sales quotes, or complex invoices this default behaviour is not just inconvenient, it is a genuine operational problem. Scrolling through pages of records to verify a single order, or exporting data that does not include all lines because not all were loaded, adds friction and introduces the risk of errors every single time. The Expand One2many Record Limit module by Creyox removes this constraint. It lets administrators set a custom loading limit for One2many fields on a model-by-model basis so you can display exactly as many records as your team needs, on a single page, every time a record is opened.


Overview

The Creyox Expand One2many Record Limit module extends Odoo 15.0 with a dedicated configuration interface that gives administrators full control over how many One2many field records are loaded per page, for each model individually. Rather than applying a global change across the entire system, the configuration is model-specific: you can set a limit of 75 order lines for Sales Orders, a different limit for Purchase Orders, and leave other models at their default all managed from a single configuration menu.

The module adds a new menu item One2many Configuration under Technical User Interface in Odoo Settings. From there, administrators select the target model, enter the desired record loading limit, and save. The next time a user opens a record on that model, the One2many field loads up to the configured number of records in a single view no pagination, no extra clicks, no incomplete data on screen. For use cases that require it, the limit can be set high enough to effectively display all records on one page regardless of volume.


Features

  • User can set up loading limit model wise for the one2many field records.
  • User can load all or limited one2many field records in single page.
  • User can load all one2many field records in single page.


One2many Records Loading Limit

  • User can see a menu named One2Many Configuration under Technical >> User Interface menu.
  • Suppose, user has to load 75 sale order line in single page then user has to set limit 75 in Sales Order model (As shown below).
  • Before Configuration

  • After Configuration


Sign in to leave a comment