2015-11-05 11:25:10 +00:00
|
|
|
<!-- title: POS Profile -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="dev-header">
|
|
|
|
|
|
|
|
<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
|
2015-12-03 12:22:46 +00:00
|
|
|
Version 6.x.x</a>
|
2015-11-05 11:25:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/pos_profile"
|
|
|
|
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>tabPOS Profile</code></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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>user</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Applicable for User
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/core/user">User</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>2</td>
|
|
|
|
<td class="danger" title="Mandatory"><code>naming_series</code></td>
|
|
|
|
<td >
|
|
|
|
Select</td>
|
|
|
|
<td >
|
|
|
|
Series
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<pre>[Select]</pre>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>3</td>
|
|
|
|
<td ><code>warehouse</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Warehouse
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>4</td>
|
|
|
|
<td ><code>update_stock</code></td>
|
|
|
|
<td >
|
|
|
|
Check</td>
|
|
|
|
<td >
|
|
|
|
Update Stock
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>5</td>
|
|
|
|
<td ><code>column_break_4</code></td>
|
|
|
|
<td class="info">
|
|
|
|
Column Break</td>
|
|
|
|
<td >
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>6</td>
|
|
|
|
<td ><code>customer</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Customer
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>7</td>
|
|
|
|
<td class="danger" title="Mandatory"><code>company</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Company
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>8</td>
|
|
|
|
<td class="danger" title="Mandatory"><code>currency</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Currency
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>9</td>
|
|
|
|
<td ><code>mode_of_payment</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Mode of Payment
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/accounts/mode_of_payment">Mode of Payment</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="info">
|
|
|
|
<td>10</td>
|
|
|
|
<td ><code>section_break_16</code></td>
|
|
|
|
<td >
|
|
|
|
Section Break</td>
|
|
|
|
<td >
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>11</td>
|
|
|
|
<td ><code>print_format</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Print Format
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/print/print_format">Print Format</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>12</td>
|
|
|
|
<td ><code>letter_head</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Letter Head
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/print/letter_head">Letter Head</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>13</td>
|
|
|
|
<td ><code>select_print_heading</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Print Heading
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/setup/print_heading">Print Heading</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>14</td>
|
|
|
|
<td ><code>tc_name</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Terms and Conditions
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/setup/terms_and_conditions">Terms and Conditions</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>15</td>
|
|
|
|
<td ><code>column_break0</code></td>
|
|
|
|
<td class="info">
|
|
|
|
Column Break</td>
|
|
|
|
<td >
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>16</td>
|
|
|
|
<td ><code>territory</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Territory
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>17</td>
|
|
|
|
<td ><code>selling_price_list</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Price List
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="info">
|
|
|
|
<td>18</td>
|
|
|
|
<td ><code>section_break_19</code></td>
|
|
|
|
<td >
|
|
|
|
Section Break</td>
|
|
|
|
<td >
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>19</td>
|
|
|
|
<td class="danger" title="Mandatory"><code>write_off_account</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Write Off Account
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>20</td>
|
|
|
|
<td class="danger" title="Mandatory"><code>write_off_cost_center</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Write Off Cost Center
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>21</td>
|
|
|
|
<td ><code>taxes_and_charges</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Taxes and Charges
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_taxes_and_charges_template">Sales Taxes and Charges Template</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>22</td>
|
|
|
|
<td ><code>column_break_23</code></td>
|
|
|
|
<td class="info">
|
|
|
|
Column Break</td>
|
|
|
|
<td >
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>23</td>
|
|
|
|
<td ><code>cash_bank_account</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Cash/Bank Account
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>24</td>
|
|
|
|
<td ><code>income_account</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Income Account
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>25</td>
|
|
|
|
<td ><code>expense_account</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Expense Account
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/accounts/account">Account</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
<td>26</td>
|
|
|
|
<td ><code>cost_center</code></td>
|
|
|
|
<td >
|
|
|
|
Link</td>
|
|
|
|
<td >
|
|
|
|
Cost Center
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://frappe.github.io/erpnext/current/models/accounts/cost_center">Cost Center</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h3>Controller</h3>
|
|
|
|
<h4>erpnext.accounts.doctype.pos_profile.pos_profile</h4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 style="font-weight: normal;">Class <b>POSProfile</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="check_for_duplicate" href="#check_for_duplicate" class="text-muted small">
|
|
|
|
<i class="icon-link small" style="color: #ccc;"></i></a>
|
|
|
|
<b>check_for_duplicate</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="on_trash" href="#on_trash" class="text-muted small">
|
|
|
|
<i class="icon-link small" style="color: #ccc;"></i></a>
|
|
|
|
<b>on_trash</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="on_update" href="#on_update" class="text-muted small">
|
|
|
|
<i class="icon-link small" style="color: #ccc;"></i></a>
|
|
|
|
<b>on_update</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="set_defaults" href="#set_defaults" class="text-muted small">
|
|
|
|
<i class="icon-link small" style="color: #ccc;"></i></a>
|
|
|
|
<b>set_defaults</b>
|
|
|
|
<i class="text-muted">(self, include_current_pos=True)</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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p class="docs-attr-name">
|
|
|
|
<a name="validate_all_link_fields" href="#validate_all_link_fields" class="text-muted small">
|
|
|
|
<i class="icon-link small" style="color: #ccc;"></i></a>
|
|
|
|
<b>validate_all_link_fields</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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p><span class="label label-info">Public API</span>
|
|
|
|
<br><code>/api/method/erpnext.accounts.doctype.pos_profile.pos_profile.get_series</code>
|
|
|
|
</p>
|
|
|
|
<p class="docs-attr-name">
|
|
|
|
<a name="erpnext.accounts.doctype.pos_profile.pos_profile.get_series" href="#erpnext.accounts.doctype.pos_profile.pos_profile.get_series" class="text-muted small">
|
|
|
|
<i class="icon-link small" style="color: #ccc;"></i></a>
|
|
|
|
erpnext.accounts.doctype.pos_profile.pos_profile.<b>get_series</b>
|
|
|
|
<i class="text-muted">()</i>
|
|
|
|
</p>
|
|
|
|
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- autodoc -->
|
|
|
|
<!-- jinja -->
|
|
|
|
<!-- static -->
|