Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][IMP] dms_field: Disable multiple selection not currently supported #298

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dms_field/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DMS Field
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:9ac10cfb059e0e11b06b9e0edcd67802c7a3538f6e3ce008ca290219aa1422cd
!! source digest: sha256:787a6fad63cbfb57b611d21ef90fe341710a6b0c1737f88466c374f99e791e39
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down Expand Up @@ -57,6 +57,7 @@ Known issues / Roadmap
======================

- Add drag & drop compatibility to the dms_tree mode
- Multiple selection support (e.g. cut several files and paste to another folder).

Bug Tracker
===========
Expand Down
1 change: 1 addition & 0 deletions dms_field/readme/ROADMAP.rst
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- Add drag & drop compatibility to the dms_tree mode
- Multiple selection support (e.g. cut several files and paste to another folder).
4 changes: 3 additions & 1 deletion dms_field/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">DMS Field</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:9ac10cfb059e0e11b06b9e0edcd67802c7a3538f6e3ce008ca290219aa1422cd
!! source digest: sha256:787a6fad63cbfb57b611d21ef90fe341710a6b0c1737f88466c374f99e791e39
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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_field"><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_field"><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>This addon creates a new kind of view and allows to define a folder
Expand Down Expand Up @@ -406,6 +407,7 @@ <h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<h1><a class="toc-backref" href="#toc-entry-3">Known issues / Roadmap</a></h1>
<ul class="simple">
<li>Add drag &amp; drop compatibility to the dms_tree mode</li>
<li>Multiple selection support (e.g. cut several files and paste to another folder).</li>
</ul>
</div>
<div class="section" id="bug-tracker">
Expand Down
2 changes: 1 addition & 1 deletion dms_field/static/src/js/base/dms_tree_renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ odoo.define("dms.DmsTreeRenderer", function (require) {
core: {
widget: this,
animation: this.params.animation || 0,
multiple: !this.params.disable_multiple,
multiple: false,
check_callback:
this.params.check_callback || this._checkCallback.bind(this),
themes: this.params.themes || {
Expand Down
Loading