You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
2.1 KiB

10 years ago
10 years ago
  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :target: https://www.gnu.org/licenses/agpl
  3. :alt: License: AGPL-3
  4. ==================
  5. Client side paging
  6. ==================
  7. This addon allows a developer to return the following action types::
  8. {'type': 'ir.actions.act_window.page.next'}
  9. or::
  10. {'type': 'ir.actions.act_window.page.prev'}
  11. which trigger the form's controller to page into the requested direction on the
  12. client side.
  13. 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.
  14. Usage
  15. =====
  16. See the 'Previous Partner' and 'Next Partner' buttons that this module's demo data adds to the partner form view.
  17. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  18. :alt: Try me on Runbot
  19. :target: https://runbot.odoo-community.org/runbot/162/10.0
  20. Bug Tracker
  21. ===========
  22. Bugs are tracked on `GitHub Issues
  23. <https://github.com/OCA/web/issues>`_. In case of trouble, please
  24. check there if your issue has already been reported. If you spotted it first,
  25. help us smash it by providing detailed and welcomed feedback.
  26. Credits
  27. =======
  28. Images
  29. ------
  30. * Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
  31. Contributors
  32. ------------
  33. * Holger Brunn <hbrunn@therp.nl>
  34. * Stefan Rijnhart <stefan@opener.amsterdam>
  35. Do not contact contributors directly about support or help with technical issues.
  36. Maintainer
  37. ----------
  38. .. image:: https://odoo-community.org/logo.png
  39. :alt: Odoo Community Association
  40. :target: https://odoo-community.org
  41. This module is maintained by the OCA.
  42. OCA, or the Odoo Community Association, is a nonprofit organization whose
  43. mission is to support the collaborative development of Odoo features and
  44. promote its widespread use.
  45. To contribute to this module, please visit https://odoo-community.org.