33< head >
44< meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 " />
55< meta name ="generator " content ="Docutils: https://docutils.sourceforge.io/ " />
6- < title > Restrict Deletion of Attachments </ title >
6+ < title > README.rst </ title >
77< style type ="text/css ">
88
99/*
1010:Author: David Goodger ([email protected] ) 11- :Id: $Id: html4css1.css 8954 2022 -01-20 10:10:25Z milde $
11+ :Id: $Id: html4css1.css 9511 2024 -01-13 09:50:07Z milde $
1212:Copyright: This stylesheet has been placed in the public domain.
1313
1414Default cascading style sheet for the HTML output of Docutils.
15+ Despite the name, some widely supported CSS2 features are used.
1516
1617See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1718customize this style sheet.
274275 margin-left : 2em ;
275276 margin-right : 2em }
276277
277- pre .code .ln { color : grey ; } /* line numbers */
278+ pre .code .ln { color : gray ; } /* line numbers */
278279pre .code , code { background-color : # eeeeee }
279280pre .code .comment , code .comment { color : # 5C6576 }
280281pre .code .keyword , code .keyword { color : # 3B0D06 ; font-weight : bold }
300301span .pre {
301302 white-space : pre }
302303
303- span .problematic {
304+ span .problematic , pre . problematic {
304305 color : red }
305306
306307span .section-subtitle {
359360</ style >
360361</ head >
361362< body >
362- < div class ="document " id ="restrict-deletion-of-attachments ">
363- < h1 class ="title "> Restrict Deletion of Attachments</ h1 >
363+ < div class ="document ">
364364
365+
366+ < a class ="reference external image-reference " href ="https://odoo-community.org/get-involved?utm_source=readme ">
367+ < img alt ="Odoo Community Association " src ="https://odoo-community.org/readme-banner-image " />
368+ </ a >
369+ < div class ="section " id ="restrict-deletion-of-attachments ">
370+ < h1 > Restrict Deletion of Attachments</ h1 >
365371<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
366372!! This file is generated by oca-gen-addon-readme !!
367373!! changes will be overwritten. !!
368374!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369375!! source digest: sha256:f29bf33d2719e11ecbc0e7a7341f424b412b08c775dd2d391818da5f939ff65d
370376!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371- < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/agpl-3.0-standalone.html "> < img alt ="License: AGPL-3 " src ="https://img.shields.io/badge/licence-AGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/server-tools/tree/18.0/attachment_delete_restrict "> < img alt ="OCA/server-tools " src ="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/server-tools-18-0/server-tools-18-0-attachment_delete_restrict "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=18.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
377+ < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/agpl-3.0-standalone.html "> < img alt ="License: AGPL-3 " src ="https://img.shields.io/badge/license-AGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/server-tools/tree/19.0/attachment_delete_restrict "> < img alt ="OCA/server-tools " src ="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/server-tools-19-0/server-tools-19-0-attachment_delete_restrict "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=19.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
372378< p > This module provides the ability to restrict the deletion of the
373379attachments at different levels.</ p >
374380< p > < strong > Table of contents</ strong > </ p >
@@ -390,17 +396,17 @@ <h1 class="title">Restrict Deletion of Attachments</h1>
390396</ ul >
391397</ div >
392398< div class ="section " id ="configuration ">
393- < h1 > < a class ="toc-backref " href ="#toc-entry-1 "> Configuration</ a > </ h1 >
399+ < h2 > < a class ="toc-backref " href ="#toc-entry-1 "> Configuration</ a > </ h2 >
394400< div class ="section " id ="select-level ">
395- < h2 > < a class ="toc-backref " href ="#toc-entry-2 "> Select level:</ a > </ h2 >
401+ < h3 > < a class ="toc-backref " href ="#toc-entry-2 "> Select level:</ a > </ h3 >
396402< ol class ="arabic simple ">
397403< li > Go to < em > Settings > General Settings> Permission section</ em > .</ li >
398404< li > Choose the level of < em > Restrict Delete Attachment</ em > for all models by
399405default or for models with “default” restriction level.</ li >
400406</ ol >
401407</ div >
402408< div class ="section " id ="five-levels ">
403- < h2 > < a class ="toc-backref " href ="#toc-entry-3 "> Five levels:</ a > </ h2 >
409+ < h3 > < a class ="toc-backref " href ="#toc-entry-3 "> Five levels:</ a > </ h3 >
404410< ul class ="simple ">
405411< li > Default : Use global configuration</ li >
406412< li > Owner : Owner and admins only</ li >
@@ -412,7 +418,7 @@ <h2><a class="toc-backref" href="#toc-entry-3">Five levels:</a></h2>
412418< p > Only Custom and Owner + Custom need specific configuration on models.</ p >
413419</ div >
414420< div class ="section " id ="for-custom-and-owner-custom-levels ">
415- < h2 > < a class ="toc-backref " href ="#toc-entry-4 "> For Custom and Owner + Custom levels:</ a > </ h2 >
421+ < h3 > < a class ="toc-backref " href ="#toc-entry-4 "> For Custom and Owner + Custom levels:</ a > </ h3 >
416422< ol class ="arabic simple ">
417423< li > Go to < em > Settings > Technical > Database Structure > Models</ em > .</ li >
418424< li > Open a model for which attachment deletion should be restricted.</ li >
@@ -426,43 +432,46 @@ <h2><a class="toc-backref" href="#toc-entry-4">For Custom and Owner + Custom lev
426432</ div >
427433</ div >
428434< div class ="section " id ="bug-tracker ">
429- < h1 > < a class ="toc-backref " href ="#toc-entry-5 "> Bug Tracker</ a > </ h1 >
435+ < h2 > < a class ="toc-backref " href ="#toc-entry-5 "> Bug Tracker</ a > </ h2 >
430436< p > Bugs are tracked on < a class ="reference external " href ="https://github.com/OCA/server-tools/issues "> GitHub Issues</ a > .
431437In case of trouble, please check there if your issue has already been reported.
432438If you spotted it first, help us to smash it by providing a detailed and welcomed
433- < a class ="reference external " href ="https://github.com/OCA/server-tools/issues/new?body=module:%20attachment_delete_restrict%0Aversion:%2018 .0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** "> feedback</ a > .</ p >
439+ < a class ="reference external " href ="https://github.com/OCA/server-tools/issues/new?body=module:%20attachment_delete_restrict%0Aversion:%2019 .0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** "> feedback</ a > .</ p >
434440< p > Do not contact contributors directly about support or help with technical issues.</ p >
435441</ div >
436442< div class ="section " id ="credits ">
437- < h1 > < a class ="toc-backref " href ="#toc-entry-6 "> Credits</ a > </ h1 >
443+ < h2 > < a class ="toc-backref " href ="#toc-entry-6 "> Credits</ a > </ h2 >
438444< div class ="section " id ="authors ">
439- < h2 > < a class ="toc-backref " href ="#toc-entry-7 "> Authors</ a > </ h2 >
445+ < h3 > < a class ="toc-backref " href ="#toc-entry-7 "> Authors</ a > </ h3 >
440446< ul class ="simple ">
441447< li > Quartile</ li >
442448< li > Akretion</ li >
443449</ ul >
444450</ div >
445451< div class ="section " id ="contributors ">
446- < h2 > < a class ="toc-backref " href ="#toc-entry-8 "> Contributors</ a > </ h2 >
452+ < h3 > < a class ="toc-backref " href ="#toc-entry-8 "> Contributors</ a > </ h3 >
447453< ul class ="simple ">
448454< li > Yoshi Tashiro << a class ="reference external " href ="mailto:tashiro@quartile.co "> tashiro@quartile.co</ a > ></ li >
449455< li > Kévin Roche << a class ="reference external " href ="mailto:kevin.roche@akretion.com "> kevin.roche@akretion.com</ a > ></ li >
450456< li > Sébastien BEAU << a class ="reference external " href ="mailto:sebastien.beau@akretion.com "> sebastien.beau@akretion.com</ a > ></ li >
451457</ ul >
452458</ div >
453459< div class ="section " id ="maintainers ">
454- < h2 > < a class ="toc-backref " href ="#toc-entry-9 "> Maintainers</ a > </ h2 >
460+ < h3 > < a class ="toc-backref " href ="#toc-entry-9 "> Maintainers</ a > </ h3 >
455461< p > This module is maintained by the OCA.</ p >
456- < a class ="reference external image-reference " href ="https://odoo-community.org "> < img alt ="Odoo Community Association " src ="https://odoo-community.org/logo.png " /> </ a >
462+ < a class ="reference external image-reference " href ="https://odoo-community.org ">
463+ < img alt ="Odoo Community Association " src ="https://odoo-community.org/logo.png " />
464+ </ a >
457465< p > OCA, or the Odoo Community Association, is a nonprofit organization whose
458466mission is to support the collaborative development of Odoo features and
459467promote its widespread use.</ p >
460468< p > Current < a class ="reference external " href ="https://odoo-community.org/page/maintainer-role "> maintainers</ a > :</ p >
461469< p > < a class ="reference external image-reference " href ="https://github.com/yostashiro "> < img alt ="yostashiro " src ="https://github.com/yostashiro.png?size=40px " /> </ a > < a class ="reference external image-reference " href ="https://github.com/Kev-Roche "> < img alt ="Kev-Roche " src ="https://github.com/Kev-Roche.png?size=40px " /> </ a > </ p >
462- < p > This module is part of the < a class ="reference external " href ="https://github.com/OCA/server-tools/tree/18 .0/attachment_delete_restrict "> OCA/server-tools</ a > project on GitHub.</ p >
470+ < p > This module is part of the < a class ="reference external " href ="https://github.com/OCA/server-tools/tree/19 .0/attachment_delete_restrict "> OCA/server-tools</ a > project on GitHub.</ p >
463471< p > You are welcome to contribute. To learn how please visit < a class ="reference external " href ="https://odoo-community.org/page/Contribute "> https://odoo-community.org/page/Contribute</ a > .</ p >
464472</ div >
465473</ div >
466474</ div >
475+ </ div >
467476</ body >
468477</ html >
0 commit comments