mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-19 17:32:02 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2024 Tecnativa - Víctor Martínez
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
<record id="wizard_dms_file_move_form_view" model="ir.ui.view">
|
||||
<field name="name">wizard.dms.file.move.form</field>
|
||||
<field name="model">wizard.dms.file.move</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<div class="alert alert-warning" role="alert">
|
||||
<i class="fa fa-exclamation-triangle mr-3" title="Warning" />
|
||||
<b>ATTENTION:</b> Tips to keep in mind before moving files:<br />
|
||||
- This change cannot be undone.<br />
|
||||
- Remember that the permissions of the files are those of the folder that contains it, therefore, it is possible that when you change it, the permissions will also change.<br
|
||||
/>
|
||||
Make this change at your own risk.
|
||||
</div>
|
||||
<group>
|
||||
<field name="directory_id" />
|
||||
<field name="count_files" string="Total files" />
|
||||
</group>
|
||||
<footer>
|
||||
<button
|
||||
name="process"
|
||||
string="Move"
|
||||
class="btn-primary"
|
||||
type="object"
|
||||
confirm="Are you sure? All files will be moved."
|
||||
/>
|
||||
<button string="Cancel" class="btn-default" special="cancel" />
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record id="wizard_dms_file_move_act_window" model="ir.actions.act_window">
|
||||
<field name="name">Move files</field>
|
||||
<field name="res_model">wizard.dms.file.move</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue