Web Widget Sub View
This addon allows us to define list subviews in our forms.
This sets a better handling of this views by adding filters and so on.
Table of contents
Usage
This is a technical module.
You can add this kind of elements by using
<widget
name="sub_view_widget"
model="res.partner"
domain="[('parent_id', '=', id)]"
context="{'search_default_parent_id': id}"
/>
It is necessary to use model. Context is recomended for setting default values and forcing specific views or default searching values.
Also, you can use:
view-type: To force an specific view kind. By default it uses list in desktop and kanban in mobile.
create-action: To force an specific action for creation (it is a xmlid)
open-action: The function to launch to open the record. By default, it uses get_formview_action.
filter: set 0 to hide the filters
group-by: set 0 to hide the group-by
favorite: set 0 to hide the favorite
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Enric Tobella
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/web project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo-addon-web-widget-sub-view 16.0.1.0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoo_addon_web_widget_sub_view-16.0.1.0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo_addon_web_widget_sub_view-16.0.1.0.0.2-py3-none-any.whl
| Download URL | odoo_addon_web_widget_sub_view-16.0.1.0.0.2-py3-none-any.whl |
|---|---|
| Size | 24.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a4c59eac0c46f0a8401700eaa3c8b0fcd8e2695659535e5f28782e07cf9ed2e
|
|
BLAKE2b-256 checksum How to use checksums |
98da814fcda9808dcca1421dbd9cbb78bf25ac723983f844759975c1948b5f89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for odoo-addon-web-widget-sub-view 16.0.1.0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.