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

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  3. :alt: License: AGPL-3
  4. ========================
  5. Web Access Rules Buttons
  6. ========================
  7. This addon disables the Edit button on the form views if the user
  8. cannot edit the current record according to the record access rules.
  9. Usage
  10. =====
  11. When using Odoo, even if a user has no rights to edit a record, the Edit button
  12. is shown. The user can edit the record but won't be able to save his changes.
  13. Now, the user won't be able to click on the Edit button.
  14. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  15. :alt: Try me on Runbot
  16. :target: https://runbot.odoo-community.org/runbot/162/9.0
  17. Known issues / Roadmap
  18. ======================
  19. * Additional requests will be issued when a record is loaded in a form view in
  20. order to check if the user has the access right.
  21. Bug Tracker
  22. ===========
  23. Bugs are tracked on `GitHub Issues
  24. <https://github.com/OCA/web/issues>`_. In case of trouble, please
  25. check there if your issue has already been reported. If you spotted it first,
  26. help us smashing it by providing a detailed and welcomed `feedback
  27. <https://github.com/OCA/
  28. web/issues/new?body=module:%20
  29. web_access_rule_buttons%0Aversion:%20
  30. 9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  31. Credits
  32. =======
  33. Images
  34. ------
  35. * Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
  36. Contributors
  37. ------------
  38. * Guewen Baconnier <guewen.baconnier@camptocamp.com>
  39. Maintainer
  40. ----------
  41. .. image:: https://odoo-community.org/logo.png
  42. :alt: Odoo Community Association
  43. :target: https://odoo-community.org
  44. This module is maintained by the OCA.
  45. OCA, or the Odoo Community Association, is a nonprofit organization whose
  46. mission is to support the collaborative development of Odoo features and
  47. promote its widespread use.
  48. To contribute to this module, please visit https://odoo-community.org.