brotherton-erpnext/erpnext/docs/current/models/stock/item_attribute.html

286 lines
5.9 KiB
HTML
Raw Normal View History

2015-12-03 12:58:19 +00:00
<!-- title: Item Attribute -->
<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/stock/doctype/item_attribute"
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>tabItem Attribute</code></p>
<h3>Fields</h3>
2015-12-10 11:47:41 +00:00
<table class="table table-bordered">
2015-12-03 12:58:19 +00:00
<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>attribute_name</code></td>
<td >
Data</td>
<td >
Attribute Name
</td>
<td></td>
</tr>
<tr >
<td>2</td>
<td ><code>numeric_values</code></td>
<td >
Check</td>
<td >
Numeric Values
</td>
<td></td>
</tr>
<tr class="info">
<td>3</td>
<td ><code>section_break_4</code></td>
<td >
Section Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>4</td>
<td ><code>from_range</code></td>
<td >
Float</td>
<td >
From Range
</td>
<td></td>
</tr>
<tr >
<td>5</td>
<td ><code>increment</code></td>
<td >
Float</td>
<td >
Increment
</td>
<td></td>
</tr>
<tr >
<td>6</td>
<td ><code>column_break_8</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>7</td>
<td ><code>to_range</code></td>
<td >
Float</td>
<td >
To Range
</td>
<td></td>
</tr>
<tr class="info">
<td>8</td>
<td ><code>section_break_5</code></td>
<td >
Section Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>9</td>
<td ><code>item_attribute_values</code></td>
<td >
Table</td>
<td >
Item Attribute Values
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/stock/item_attribute_value">Item Attribute Value</a>
</td>
</tr>
</tbody>
</table>
<hr>
<h3>Controller</h3>
<h4>erpnext.stock.doctype.item_attribute.item_attribute</h4>
<h3 style="font-weight: normal;">Class <b>ItemAttribute</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="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>
<p class="docs-attr-name">
<a name="validate_attribute_values" href="#validate_attribute_values" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_attribute_values</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_duplication" href="#validate_duplication" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_duplication</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_numeric" href="#validate_numeric" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_numeric</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>
<h3 style="font-weight: normal;">Class <b>ItemAttributeIncrementError</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
</div>
<hr>
<h4>Linked In:</h4>
<ul>
<li>
<a href="https://frappe.github.io/erpnext/current/models/stock/item_variant">Item Variant</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/stock/item_variant_attribute">Item Variant Attribute</a>
</li>
</ul>
<!-- autodoc -->
<!-- jinja -->
<!-- static -->