| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 704 |
| Technical Name |
ett_inline_form_in_list |
| License | See License tab |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 704 |
| Technical Name |
ett_inline_form_in_list |
| License | See License tab |
Inline Form List View
Revolutionize your Relational Data Management. Direct, seamless editing for One2Many and Many2Many fields within your records.
Core Capabilities
Inline Component Editing
Edit related records directly inside the parent list view. No more multi-step wizards or popup windows slowing you down.
Recursive Nested Forms
Industry-leading support for deep hierarchies. Nest inline forms as deep as your business logic requires without friction.
Smart Collapsible Interface
Maintain information density. Expand specific records for editing and collapse them to keep your workspace clean and organized.
Intelligent Fallback Loading
The widget automatically discovers and loads the optimal form view even if not explicitly defined in the XML bridge.
Native Client-Side Filters
Integrated search bar for instant record filtering. Evaluates domains locally on the client for zero-latency interactions.
Automatic Field Sync
Synchronizes data perfectly by ensuring all fields defined in the sub-form are automatically included in the prefetch logic.
Visual Interface
Developer Integration Guide
1. Component Application
Apply the inline_form_x2many
widget to any One2Many or Many2Many field.
<field name="item_ids"
widget="inline_form_x2many"
options="{'display_name_field': 'name', 'default_expand': True}">
<form>
<group>
<field name="name"/>
<field name="description"/>
</group>
</form>
</field>
2. Global View Reference
Link any existing form view globally via standard context references for maximum reusability.
<field name="item_ids"
widget="inline_form_x2many"
context="{'form_view_ref': 'my_module.my_item_form_view'}"/>
3. Reference with List Override
Pass form references through context while using a local <list>
tag to control limits and record permissions.
<field name="receipt_images" nolabel="1" delete="0"
widget="inline_form_x2many"
options="{'display_name_field': 'txn_id', 'default_expand': True, 'show_filters': true}"
context="{'form_view_ref': 'fuel_dispenser.view_receipt_images_inline_form'}">
<list create="false" delete="false" limit="1000">
</list>
</field>
4. Full Architectural Definition
Define an entire complex sheet architecture directly within the parent field for highly specific use-cases.
<field name="child_ids" widget="inline_form_x2many"
options="{'limit': 1, 'display_name_field':'name'}"
mode="kanban"
context="{'default_type': 'other'}">
<form string="Contact / Address">
<sheet>
<field name="type" required="1" widget="radio" options="{'horizontal': true}"/>
<hr/>
<group>
<group>
<field name="name" string="Contact Name" required="type == 'contact'"/>
<field name="email" widget="email"/>
</group>
<group>
<field name="phone" widget="phone"/>
</group>
</group>
</sheet>
</form>
</field>
5. Automatic View Resolution
Supports empty form view and list view definitions. The widget automatically fetches the most appropriate views, falling back to defaults, while respecting context overrides flawlessly.
<field name="child_ids" mode="kanban" widget="inline_form_x2many"
options="{'limit': 1}"
context="{'default_parent_id': id, 'default_street': street, 'default_city': city}">
</field>
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module