From 3f09889dc5d0c822bb3cc21b275cc962f926c153 Mon Sep 17 00:00:00 2001 From: Leonardo Donelli Date: Mon, 25 Sep 2017 11:31:02 +0200 Subject: [PATCH] Update README: link to runbot and other small improvements --- attachment_attach_non_editable/README.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/attachment_attach_non_editable/README.rst b/attachment_attach_non_editable/README.rst index 564ed991..b8b87a25 100644 --- a/attachment_attach_non_editable/README.rst +++ b/attachment_attach_non_editable/README.rst @@ -12,13 +12,21 @@ is set as not editable (``edit='false'`` in the form tag) This module adds a new form view attribute, ``attach=``, which lets you enable attachment uploads even in non-editable forms. +Keep in mind: users still won't be able to attach documents +to records they don't have write access to (according to ACL and record rules); +this module does not bypass odoo' security rules! + Usage ===== -Add the ``attach=true`` attribute to the form view tag which of uneditable views +Add the ``attach="true"`` attribute to the form view tag which of uneditable views (normal editable views already allow attaching a document and there is no need for this attribute). +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/118/10.0 + Bug Tracker ===========