157 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			157 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!-- title: Currency Exchange -->
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <div class="dev-header">
 | |
| 
 | |
| <a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
 | |
| 	Version 6.x.x</a>
 | |
| 
 | |
| 
 | |
| 	<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/currency_exchange"
 | |
| 		target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
 | |
| 
 | |
| </div>
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|     <p><b>Table Name:</b> <code>tabCurrency Exchange</code></p>
 | |
| 
 | |
| 
 | |
| Specify Exchange Rate to convert one currency into another
 | |
| 
 | |
| <h3>Fields</h3>
 | |
| 
 | |
| <table class="table table-bordered">
 | |
|     <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 class="danger" title="Mandatory"><code>from_currency</code></td>
 | |
|             <td >
 | |
|                 Link</td>
 | |
|             <td >
 | |
|                 From Currency
 | |
|                 
 | |
|             </td>
 | |
|             <td>
 | |
|                 
 | |
|                 
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
 | |
| 
 | |
| 
 | |
|                 
 | |
|             </td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>2</td>
 | |
|             <td class="danger" title="Mandatory"><code>to_currency</code></td>
 | |
|             <td >
 | |
|                 Link</td>
 | |
|             <td >
 | |
|                 To Currency
 | |
|                 
 | |
|             </td>
 | |
|             <td>
 | |
|                 
 | |
|                 
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
 | |
| 
 | |
| 
 | |
|                 
 | |
|             </td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>3</td>
 | |
|             <td class="danger" title="Mandatory"><code>exchange_rate</code></td>
 | |
|             <td >
 | |
|                 Float</td>
 | |
|             <td >
 | |
|                 Exchange Rate
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|     </tbody>
 | |
| </table>
 | |
| 
 | |
| 
 | |
|     <hr>
 | |
|     <h3>Controller</h3>
 | |
|     <h4>erpnext.setup.doctype.currency_exchange.currency_exchange</h4>
 | |
| 
 | |
|     
 | |
| 
 | |
| 
 | |
| 
 | |
| 	
 | |
|         
 | |
| 	<h3 style="font-weight: normal;">Class <b>CurrencyExchange</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;">
 | |
|         
 | |
|         
 | |
|     
 | |
|     
 | |
| 	<p class="docs-attr-name">
 | |
|         <a name="autoname" href="#autoname" class="text-muted small">
 | |
|             <i class="icon-link small" style="color: #ccc;"></i></a>
 | |
| 		<b>autoname</b>
 | |
|         <i class="text-muted">(self)</i>
 | |
|     </p>
 | |
| 	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
 | |
| </div>
 | |
| 	<br>
 | |
| 
 | |
|         
 | |
|         
 | |
|     
 | |
|     
 | |
| 	<p class="docs-attr-name">
 | |
|         <a name="validate" href="#validate" class="text-muted small">
 | |
|             <i class="icon-link small" style="color: #ccc;"></i></a>
 | |
| 		<b>validate</b>
 | |
|         <i class="text-muted">(self)</i>
 | |
|     </p>
 | |
| 	<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
 | |
| </div>
 | |
| 	<br>
 | |
| 
 | |
|         
 | |
|     </div>
 | |
|     <hr>
 | |
| 
 | |
| 	
 | |
| 
 | |
| 
 | |
|     
 | |
|     
 | |
| 
 | |
| 
 | |
| <!-- autodoc -->
 | |
| <!-- jinja -->
 | |
| <!-- static --> |