Allows a developer to trigger a pager to show the previous or next next record in the form view
Project description
This addon allows a developer to return the following action types:
{'type': 'ir.actions.act_window.page.next'}
or:
{'type': 'ir.actions.act_window.page.prev'}
which trigger the form’s controller to page into the requested direction on the client side.
A use case could be the case of a validation flow. As a developer, you set up a tree view with a domain on records to be validated. The user opens the first record in a form view and validates the record. The validation method returns the ‘next’ action type so that the browser window of the user is presented with the next record in the form view.
Table of contents
Usage
See the ‘Previous Partner’ and ‘Next Partner’ buttons that this module’s demo data adds to the partner form view.
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
Holger Brunn <mail@hunki-enterprises.com> (https://hunki-enterprises.com)
Stefan Rijnhart <stefan@opener.amsterdam> (https://opener.amsterdam)
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_web_ir_actions_act_window_page-16.0.1.0.0.8-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_web_ir_actions_act_window_page-16.0.1.0.0.8-py3-none-any.whl
- Upload date:
- Size: 25.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41052a402e29407dfcd32bfa335568a411f254d9f2ed4a246b86b4cd8c1fa769 |
|
MD5 | 7699ee3fcd8b8c9d264d436d2e0f3610 |
|
BLAKE2b-256 | 8f67fd124de26673301134a0457ef9562b88d712edac1514ef73d2c59a8a4da1 |