147 lines
3.6 KiB
HTML
147 lines
3.6 KiB
HTML
<!-- title: Rename Tool -->
|
|
|
|
|
|
|
|
|
|
|
|
<div class="dev-header">
|
|
|
|
<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
|
|
Version 6.7.1</a>
|
|
|
|
|
|
<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/utilities/doctype/rename_tool"
|
|
target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
|
|
|
|
</div>
|
|
|
|
<span class="label label-info">Single</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3>Fields</h3>
|
|
|
|
<table class="table table-bordered" style="table-layout: fixed;">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 5%">Sr</th>
|
|
<th style="width: 25%">Fieldname</th>
|
|
<th style="width: 20%">Type</th>
|
|
<th style="width: 25%">Label</th>
|
|
<th style="width: 25%">Options</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr >
|
|
<td>1</td>
|
|
<td ><code>select_doctype</code></td>
|
|
<td >
|
|
Select</td>
|
|
<td >
|
|
Select DocType
|
|
<p class="text-muted small">
|
|
Type of document to rename.</p>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
|
|
<tr >
|
|
<td>2</td>
|
|
<td ><code>file_to_rename</code></td>
|
|
<td >
|
|
Attach</td>
|
|
<td >
|
|
File to Rename
|
|
<p class="text-muted small">
|
|
Attach .csv file with two columns, one for the old name and one for the new name</p>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
|
|
<tr >
|
|
<td>3</td>
|
|
<td ><code>rename_log</code></td>
|
|
<td >
|
|
HTML</td>
|
|
<td >
|
|
Rename Log
|
|
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<hr>
|
|
<h3>Controller</h3>
|
|
<h4>erpnext.utilities.doctype.rename_tool.rename_tool</h4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 style="font-weight: normal;">Class <b>RenameTool</b></h3>
|
|
|
|
<p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
|
|
|
|
<div class="docs-attr-desc"><p></p>
|
|
</div>
|
|
<div style="padding-left: 30px;">
|
|
|
|
</div>
|
|
<hr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p><span class="label label-info">Public API</span>
|
|
<br><code>/api/method/erpnext.utilities.doctype.rename_tool.rename_tool.get_doctypes</code>
|
|
</p>
|
|
<p class="docs-attr-name">
|
|
<a name="erpnext.utilities.doctype.rename_tool.rename_tool.get_doctypes" href="#erpnext.utilities.doctype.rename_tool.rename_tool.get_doctypes" class="text-muted small">
|
|
<i class="icon-link small" style="color: #ccc;"></i></a>
|
|
erpnext.utilities.doctype.rename_tool.rename_tool.<b>get_doctypes</b>
|
|
<i class="text-muted">()</i>
|
|
</p>
|
|
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
|
|
</div>
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p><span class="label label-info">Public API</span>
|
|
<br><code>/api/method/erpnext.utilities.doctype.rename_tool.rename_tool.upload</code>
|
|
</p>
|
|
<p class="docs-attr-name">
|
|
<a name="erpnext.utilities.doctype.rename_tool.rename_tool.upload" href="#erpnext.utilities.doctype.rename_tool.rename_tool.upload" class="text-muted small">
|
|
<i class="icon-link small" style="color: #ccc;"></i></a>
|
|
erpnext.utilities.doctype.rename_tool.rename_tool.<b>upload</b>
|
|
<i class="text-muted">(select_doctype=None, rows=None)</i>
|
|
</p>
|
|
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
|
|
</div>
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- autodoc -->
|
|
<!-- jinja -->
|
|
<!-- static --> |