Skip to content

Commit

Permalink
Merge PR #278 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jan 4, 2024
2 parents 5109c28 + af7c2fb commit 3f52030
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dms/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Document Management System
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:bb0d4303aaf4fb43746c872b97cbfb929df69945e23c40517ffc8338025fa140
!! source digest: sha256:eefc43138c160a13bf3807371af6157339e4120d95e6051e6c217357c73c12d8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down Expand Up @@ -119,6 +119,7 @@ Known issues / Roadmap
- Add a link from attachment view in chatter to linked documents
- If Inherit permissions from related record (the inherit_access_from_parent_record field from storage) is changed when directories already exist, inconsistencies may occur because groups defined in the directories and subdirectories will still exist, all groups in these directories should be removed before changing.
- Since portal users can read ``dms.storage`` records, if your module extends this model to another storage backend that needs using secrets, remember to forbid access to the secrets fields by other means. It would be nice to be able to remove that rule at some point.
- Searchpanel in files: Highlight items (shading) without records when filtering something (by name for example).

Bug Tracker
===========
Expand Down
2 changes: 1 addition & 1 deletion dms/models/dms_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def search_panel_select_range(self, field_name, **kwargs):
The goal is that the directory searchpanel shows all directories
(even if some folders have no files)."""
if field_name == "directory_id":
domain = kwargs.get("search_domain", [])
domain = [["is_hidden", "=", False]]
comodel_records = (
self.env["dms.directory"]
.with_context(directory_short_name=True)
Expand Down
1 change: 1 addition & 0 deletions dms/readme/ROADMAP.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
- Add a link from attachment view in chatter to linked documents
- If Inherit permissions from related record (the inherit_access_from_parent_record field from storage) is changed when directories already exist, inconsistencies may occur because groups defined in the directories and subdirectories will still exist, all groups in these directories should be removed before changing.
- Since portal users can read ``dms.storage`` records, if your module extends this model to another storage backend that needs using secrets, remember to forbid access to the secrets fields by other means. It would be nice to be able to remove that rule at some point.
- Searchpanel in files: Highlight items (shading) without records when filtering something (by name for example).
4 changes: 3 additions & 1 deletion dms/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -366,7 +367,7 @@ <h1 class="title">Document Management System</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:bb0d4303aaf4fb43746c872b97cbfb929df69945e23c40517ffc8338025fa140
!! source digest: sha256:eefc43138c160a13bf3807371af6157339e4120d95e6051e6c217357c73c12d8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/dms/tree/15.0/dms"><img alt="OCA/dms" src="https://img.shields.io/badge/github-OCA%2Fdms-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/dms-15-0/dms-15-0-dms"><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/dms&amp;target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>DMS is a module for creating, managing and viewing document files directly
Expand Down Expand Up @@ -496,6 +497,7 @@ <h1><a class="toc-backref" href="#toc-entry-8">Known issues / Roadmap</a></h1>
<li>Add a link from attachment view in chatter to linked documents</li>
<li>If Inherit permissions from related record (the inherit_access_from_parent_record field from storage) is changed when directories already exist, inconsistencies may occur because groups defined in the directories and subdirectories will still exist, all groups in these directories should be removed before changing.</li>
<li>Since portal users can read <tt class="docutils literal">dms.storage</tt> records, if your module extends this model to another storage backend that needs using secrets, remember to forbid access to the secrets fields by other means. It would be nice to be able to remove that rule at some point.</li>
<li>Searchpanel in files: Highlight items (shading) without records when filtering something (by name for example).</li>
</ul>
</div>
<div class="section" id="bug-tracker">
Expand Down

0 comments on commit 3f52030

Please sign in to comment.