Merge branch 'develop'
@ -2,7 +2,7 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
__version__ = '7.0.15'
|
__version__ = '7.0.16'
|
||||||
|
|
||||||
def get_default_company(user=None):
|
def get_default_company(user=None):
|
||||||
'''Get default company for user'''
|
'''Get default company for user'''
|
||||||
|
BIN
erpnext/docs/assets/img/accounts/asset-item.png
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
erpnext/docs/assets/img/accounts/pos-customer.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
erpnext/docs/assets/img/accounts/pos-item.png
Normal file
After Width: | Height: | Size: 143 KiB |
BIN
erpnext/docs/assets/img/accounts/pos-payment.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
erpnext/docs/assets/img/setup/print/cheque-1.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
erpnext/docs/assets/img/setup/print/cheque-2.png
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
erpnext/docs/assets/img/setup/print/cheque-3.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
erpnext/docs/assets/img/setup/print/cheque-4.png
Normal file
After Width: | Height: | Size: 119 KiB |
BIN
erpnext/docs/assets/img/setup/print/cheque-5.gif
Normal file
After Width: | Height: | Size: 146 KiB |
BIN
erpnext/docs/assets/img/setup/print/sample-cheque.jpg
Normal file
After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 109 KiB |
@ -2,30 +2,33 @@ In ERPNext, you can maintain fixed asset records like Computers, Furnitures, Car
|
|||||||
|
|
||||||
## Asset Category
|
## Asset Category
|
||||||
|
|
||||||
To start first you should create an Asset Category, depending on the type of assets. For example, all your desktops and laptops can be part of an Asset Category named "Computers". Here, you can set default depreciation method, periodicity and depreciation related accounts, which will be applicable to all the assets under the category.
|
Based on the type of assets, create Asset Category. For example, all your desktops and laptops can be part of an Asset Category named "Computers". Here you can set default depreciation method, periodicity and depreciation related accounts, which will be applicable to all the assets under the category.
|
||||||
|
|
||||||
<img class="screenshot" alt="Asset Category" src="{{docs_base_url}}/assets/img/accounts/asset-category.png">
|
<img class="screenshot" alt="Asset Category" src="{{docs_base_url}}/assets/img/accounts/asset-category.png">
|
||||||
|
|
||||||
> **Note:** You can also set default depreciation related Accounts and Cost Centers in Company.
|
> **Note:** You can also set default depreciation related Accounts and Cost Centers in Company master.
|
||||||
|
|
||||||
|
|
||||||
## Asset
|
## Asset
|
||||||
|
|
||||||
Next step will be creating the fixed asset record. Asset record is the heart of fixed asset management, all the activities like purchasing, depreciation, scrapping or sales are managed against it.
|
Asset master is the heart of fixed asset management feature. All the transactions related to Asset like purchasing, sales, depreciation, scrapping will be managed from the Asset master.
|
||||||
|
|
||||||
<img class="screenshot" alt="Asset" src="{{docs_base_url}}/assets/img/accounts/asset.png">
|
<img class="screenshot" alt="Asset" src="{{docs_base_url}}/assets/img/accounts/asset.png">
|
||||||
|
|
||||||
Explanation of the fields:
|
Explanation of the fields:
|
||||||
|
|
||||||
1. Asset Category: The category of assets it belongs to.
|
1. Item Code: An Item for the Asset must be a non-stock item, with "Is Asset" field checked.
|
||||||
2. Is Existing Asset: Check if the asset is being carried forward from the previous Fiscal Year. The existing assets which are partially / fully depreciated can also be created/maintained for the future reference.
|
|
||||||
3. Status: The options are - Draft, Submitted, Partially Depreciated, Fully Depreciated, Sold and Scrapped.
|
<img class="screenshot" alt="Asset Item" src="{{docs_base_url}}/assets/img/accounts/asset-item.png">
|
||||||
4. Warehouse: Set the location of the asset.
|
|
||||||
5. Gross Purchase Amount: The purchase cost of the asset
|
2. Asset Category: The category of assets it belongs to.
|
||||||
6. Expected Value After Useful Life: Useful Life is the time period over in which the company expects that the asset will be productive. After that period, either the asset is scrapped or sold. In case it is sold, mention the estimated value here. This value is also known as Salvage Value, Scrap Value or Residual Value.
|
3. Is Existing Asset: Check if the asset is being carried forward from the previous Fiscal Year. The existing assets which are partially / fully depreciated can also be created/maintained for the future reference.
|
||||||
7. Opening Accumulated Depreciation: The accumulated depreciation amount which has already been booked for an existing asset.
|
4. Status: The options are - Draft, Submitted, Partially Depreciated, Fully Depreciated, Sold and Scrapped.
|
||||||
8. Current Value (After Depreciation): In case you are creating record of an existing asset which has already been partially/fully depreciated, mention the currect value of the asset. In case of new asset, mention the purchase amount or leave it blank.
|
5. Warehouse: Set the location of the asset.
|
||||||
9. Depreciation Method: There are two options: Straight Line and Double Declining Balance.
|
6. Gross Purchase Amount: The purchase cost of the asset.
|
||||||
|
7. Expected Value After Useful Life: Useful Life is the time period over in which the company expects that the asset will be productive. After that period, either the asset is scrapped or sold. In case it is sold, mention the estimated value here. This value is also known as Salvage Value, Scrap Value or Residual Value.
|
||||||
|
8. Opening Accumulated Depreciation: The accumulated depreciation amount which has already been booked for an existing asset.
|
||||||
|
9. Current Value (After Depreciation): In case you are creating record of an existing asset which has already been partially/fully depreciated, mention the current value of the asset. In case of new asset, mention the purchase amount or leave it blank.
|
||||||
|
10. Depreciation Method: There are two options: Straight Line and Double Declining Balance.
|
||||||
- Straight Line: This method spreads the cost of the fixed asset evenly over its useful life.
|
- Straight Line: This method spreads the cost of the fixed asset evenly over its useful life.
|
||||||
- Double Declining Method: An accelerated method of depreciation, it results in higher depreciation expense in the earlier years of ownership.
|
- Double Declining Method: An accelerated method of depreciation, it results in higher depreciation expense in the earlier years of ownership.
|
||||||
10. Total Number of Depreciations: The total number of depreciations during the useful life. In case of existing assets which are partially depreciated, mention the number of pending depreciations.
|
10. Total Number of Depreciations: The total number of depreciations during the useful life. In case of existing assets which are partially depreciated, mention the number of pending depreciations.
|
||||||
@ -52,16 +55,16 @@ For better visibility, net value of the asset on different depreciation dates ar
|
|||||||
|
|
||||||
## Purchase an Asset
|
## Purchase an Asset
|
||||||
|
|
||||||
For purchasing a new asset, create and submit the asset record with all the depreciation settings. Then create a Purchase Invoice via "Make Purchase Invoice" button. On clicking the button, system will load a new Purchase Invoice form with pre-loaded items table. It will also set proper fixed asset account (defined in teh Asset Category) in the Expense Account field. You need to select Supplier and other necessary details and submit the Purchase Invoice.
|
For purchasing a new asset, create and submit the asset record with all the depreciation settings. Then create a Purchase Invoice via "Make Purchase Invoice" button. On clicking the button, system will load a new Purchase Invoice form with pre-loaded items table. It will also set proper fixed asset account (defined in the Asset Category) in the Expense Account field. You need to select Supplier and other necessary details and submit the Purchase Invoice.
|
||||||
|
|
||||||
<img class="screenshot" alt="Asset" src="{{docs_base_url}}/assets/img/accounts/asset-purchase-invoice.png">
|
<img class="screenshot" alt="Asset" src="{{docs_base_url}}/assets/img/accounts/asset-purchase-invoice.png">
|
||||||
|
|
||||||
On submission of the invoice, the "Fixed Asset Account" will be debited and payable account will be credited. It also updates purchase date, supplier and Purchase Invoice no in the Asset record.
|
On submission of the invoice, the "Fixed Asset Account" will be debited and payable account will be credited. It also updates purchase date, supplier and Purchase Invoice no. in the Asset master.
|
||||||
|
|
||||||
|
|
||||||
## Sale an Asset
|
## Sale an Asset
|
||||||
|
|
||||||
To sale an asset, open the asset record and create a Sales Invoice using "Sale Asset" button. On submission of the Sales Invoice, following entries will take place:
|
To sale an asset, open the asset record and create a Sales Invoice by clicking on "Sale Asset". On submission of the Sales Invoice, following entries will take place:
|
||||||
|
|
||||||
- "Receivable Account" (Debtors) will be debited by the sales amount.
|
- "Receivable Account" (Debtors) will be debited by the sales amount.
|
||||||
- "Fixed Asset Account" will be credited by the purchase amount of asset.
|
- "Fixed Asset Account" will be credited by the purchase amount of asset.
|
||||||
|
@ -1,30 +1,22 @@
|
|||||||
# Point of Sale Invoice
|
# Point of Sale Invoice
|
||||||
|
|
||||||
Point of Sale (POS) is the place where a retail transaction is completed. It
|
For retail operations, the delivery of goods, accrual of sale and payment all happens in one event, that is usually called the “Point of Sale” (POS).
|
||||||
is the point at which a customer makes a payment to the merchant in exchange
|
|
||||||
for goods or services. For retail operations, the delivery of goods, accrual
|
|
||||||
of sale and payment all happens in one event, that is usually called the
|
|
||||||
“Point of Sale”.
|
|
||||||
|
|
||||||
You can make a Sales Invoice of type POS by checking on “Is POS”. When you
|
<iframe width="660" height="371" src="https://www.youtube.com/embed/4WkelWkbP_c" frameborder="0" allowfullscreen></iframe>
|
||||||
check this, you will notice that some fields get hidden and some new ones
|
|
||||||
emerge.
|
|
||||||
|
|
||||||
> Tip: In retail, you may not create a separate Customer record for each
|
###Offline POS
|
||||||
customer. You can create a general Customer called “Walk-in Customer” and make
|
|
||||||
all your transactions against this Customer record.
|
|
||||||
|
|
||||||
#### Setting Up POS
|
POS transactions are generally quick, hence should have as less dependency as possible. In ERPNext, you can create POS Invoices even when not connected to the internet.
|
||||||
|
|
||||||
|
POS Invoices created in the offline mode will be saved locally in the browser. If internet connection is lost which creating POS Invoice, you will still be able can proceed forward. Once internet connection is available again, offline invoices will be synced, and pushed onto your ERPNext account. To learn more on how POS Invoices can be created when offline, [check here.](https://frappe.io/blog/blog/erpnext-features/offline-pos-in-erpnext-7)
|
||||||
|
|
||||||
|
#### POS Profile
|
||||||
|
|
||||||
In ERPNext all Sales and Purchase transactions, like Sales Invoice, Quotation, Sales Order, Purchase Order etc. can be edited via the POS. There two steps to Setup POS:
|
In ERPNext all Sales and Purchase transactions, like Sales Invoice, Quotation, Sales Order, Purchase Order etc. can be edited via the POS. There two steps to Setup POS:
|
||||||
|
|
||||||
1. Enable POS View via (Setup > Customize > Feature Setup)
|
1. Enable POS View via (Setup > Customize > Feature Setup)
|
||||||
2. Create a [POS Setting]({{docs_base_url}}/user/manual/en/setting-up/pos-setting.html) record
|
2. Create a [POS Setting]({{docs_base_url}}/user/manual/en/setting-up/pos-setting.html) record
|
||||||
|
|
||||||
#### Switch to POS View
|
|
||||||
|
|
||||||
Open any sales / purchase transaction. Click on the Computer <i class="icon-desktop"></i> Icon.
|
|
||||||
|
|
||||||
#### Different sections of the POS
|
#### Different sections of the POS
|
||||||
|
|
||||||
* Update Stock: If this is checked, Stock Ledger Entries will be made when you “Submit” this Sales Invoice thereby eliminating the need for a separate Delivery Note.
|
* Update Stock: If this is checked, Stock Ledger Entries will be made when you “Submit” this Sales Invoice thereby eliminating the need for a separate Delivery Note.
|
||||||
@ -32,17 +24,22 @@ Open any sales / purchase transaction. Click on the Computer <i class="icon-desk
|
|||||||
* Update Payment Details like your Bank / Cash Account, Paid amount etc.
|
* Update Payment Details like your Bank / Cash Account, Paid amount etc.
|
||||||
* If you are writing off certain amount. For example when you receive extra cash as a result of not having exact denomination of change, check on ‘Write off Outstanding Amount’ and set the Account.
|
* If you are writing off certain amount. For example when you receive extra cash as a result of not having exact denomination of change, check on ‘Write off Outstanding Amount’ and set the Account.
|
||||||
|
|
||||||
|
|
||||||
|
### Customer
|
||||||
|
|
||||||
|
You can select one of the existing Customer from the Customer master. If Customer doesn't exist in the Customer master, enter Customer Name in the POS Invoice view itself. On creation of POS Invoice, Customer will be auto-created in the Customer master.
|
||||||
|
|
||||||
|
<img class="screenshot" alt="POS Customer" src="{{docs_base_url}}/assets/img/accounts/pos-customer.png">
|
||||||
|
|
||||||
### Adding an Item
|
### Adding an Item
|
||||||
|
|
||||||
At the billing counter, the retailer needs to select Items which the consumer
|
At the billing counter, the retailer needs to select Items which the consumer buys. In the POS interface you can select an Item by two methods. One, is by clicking on the Item image and the other, is through the Barcode / Serial No.
|
||||||
buys. In the POS interface you can select an Item by two methods. One, is by
|
|
||||||
clicking on the Item image and the other, is through the Barcode / Serial No.
|
|
||||||
|
|
||||||
**Select Item** \- To select a product click on the Item image and add it into the cart. A cart is an area that prepares a customer for checkout by allowing to edit product information, adjust taxes and add discounts.
|
**Select Item** \- To select a product click on the Item image and add it into the cart. A cart is an area that prepares a customer for checkout by allowing to edit product information, adjust taxes and add discounts.
|
||||||
|
|
||||||
**Barcode / Serial No** \- A Barcode / Serial No is an optical machine-readable representation of data relating to the object to which it is attached. Enter Barcode / Serial No in the box as shown in the image below and pause for a second, the item will be automatically added to the cart.
|
**Barcode / Serial No** \- A Barcode / Serial No is an optical machine-readable representation of data relating to the object to which it is attached. Enter Barcode / Serial No in the box as shown in the image below and pause for a second, the item will be automatically added to the cart.
|
||||||
|
|
||||||
![POS]({{docs_base_url}}/assets/old_images/erpnext/pos-add-item.png)
|
<img class="screenshot" alt="POS Item" src="{{docs_base_url}}/assets/img/accounts/pos-item.png">
|
||||||
|
|
||||||
> Tip: To change the quantity of an Item, enter your desired quantity in the
|
> Tip: To change the quantity of an Item, enter your desired quantity in the
|
||||||
quantity box. These are mostly used if the same Item is purchased in bulk.
|
quantity box. These are mostly used if the same Item is purchased in bulk.
|
||||||
@ -52,18 +49,11 @@ in Search box.
|
|||||||
|
|
||||||
### Removing an Item
|
### Removing an Item
|
||||||
|
|
||||||
There are two ways to remove an Item.
|
Set Qty as zero to remove Item from the POS invoice. There are two ways to remove an Item.
|
||||||
|
|
||||||
* Select an Item by clicking on the row of that Item from Item cart. Then click on “Del” button. OR
|
* If Item's Qty is 1, click on a minus sign to make it zero.
|
||||||
|
|
||||||
* Enter 0(zero) quantity of any item to delete that item.
|
* Manually enter 0(zero) quantity.
|
||||||
|
|
||||||
To remove multiple Items together, select multiple rows & click on “Del”
|
|
||||||
button.
|
|
||||||
|
|
||||||
> Delete button appears only when Items are selected.
|
|
||||||
|
|
||||||
![POS]({{docs_base_url}}/assets/old_images/erpnext/pos-remove-item.png)
|
|
||||||
|
|
||||||
### Make Payment
|
### Make Payment
|
||||||
|
|
||||||
@ -74,7 +64,7 @@ ready to make the Payment. Payment process is divided into 3 steps -
|
|||||||
2. Select your “Mode of Payment”.
|
2. Select your “Mode of Payment”.
|
||||||
3. Click on “Pay” button to Save the document.
|
3. Click on “Pay” button to Save the document.
|
||||||
|
|
||||||
![POS Payment]({{docs_base_url}}/assets/old_images/erpnext/pos-make-payment.png)
|
<img class="screenshot" alt="POS Payment" src="{{docs_base_url}}/assets/img/accounts/pos-payment.png">
|
||||||
|
|
||||||
Submit the document to finalise the record. After the document is submitted,
|
Submit the document to finalise the record. After the document is submitted,
|
||||||
you can either print or email it directly to the customer.
|
you can either print or email it directly to the customer.
|
||||||
|
@ -0,0 +1,45 @@
|
|||||||
|
#Cheque Print Template
|
||||||
|
|
||||||
|
Business involves making payment to various parties like suppliers and employees. Payment can be made in various modes like cash, NEFT or cheque. If you are making a payment via cheque, you can also create a Print Format for printing Cheque from ERPNext based on the Payment Entry.
|
||||||
|
|
||||||
|
<img class="screenshot" alt="Sample Cheque" src="{{docs_base_url}}/assets/img/setup/print/sample-cheque.jpg">
|
||||||
|
|
||||||
|
Using the Cheque Print Template you can generate a new Print Format based. It will be created based the cheque format provided by your bank.
|
||||||
|
|
||||||
|
####Create New
|
||||||
|
|
||||||
|
To create a new Print Format based on the specific cheque’s format, go to:
|
||||||
|
|
||||||
|
`Account > Tools > Cheque Printing Template > New`
|
||||||
|
|
||||||
|
In the Cheque Print Template, for each value (say Payee, Date), exact co-ordinates are provided based on where that value should be printed on a cheque. Co-ordinates are provided in centi-meter.
|
||||||
|
|
||||||
|
<img class="screenshot" alt="Sample Cheque" src="{{docs_base_url}}/assets/img/setup/print/cheque-1.png">
|
||||||
|
|
||||||
|
####New Format via Scanning
|
||||||
|
|
||||||
|
To speed up creation of a new cheque printing format, you can upload scanned image of the cheque. Considering the scanned image for the cheque, system automatically updates co-ordinates for each value like party name, amount, date, amount in words etc.
|
||||||
|
|
||||||
|
<img class="screenshot" alt="Sample Cheque" src="{{docs_base_url}}/assets/img/setup/print/cheque-2.png">
|
||||||
|
|
||||||
|
####New format by manual entry
|
||||||
|
You can manually provide the co-ordinate for each value based on where you want to to be printed on the cheque.
|
||||||
|
|
||||||
|
####Preview
|
||||||
|
Based on co-ordinates provided for all the values, a preview be shown as to how the values will be printed on the cheque.
|
||||||
|
|
||||||
|
<img class="screenshot" alt="Sample Cheque" src="{{docs_base_url}}/assets/img/setup/print/cheque-3.png">
|
||||||
|
|
||||||
|
####New Print Format
|
||||||
|
|
||||||
|
If the preview looks promising, click on the button to create a new Print Format for printing cheque. Based on the values provided in the Cheque Print Template, the system will auto-generate an HTML script for the cheque’s Print Format.
|
||||||
|
|
||||||
|
<img class="screenshot" alt="Sample Cheque" src="{{docs_base_url}}/assets/img/setup/print/cheque-4.png">
|
||||||
|
|
||||||
|
####Printing Cheque
|
||||||
|
|
||||||
|
New print format generated for the cheque will be visible in the Payment Entry form. After creating the payment entry, you will be able to print transaction details on the cheque.
|
||||||
|
|
||||||
|
<img class="screenshot" alt="Sample Cheque" src="{{docs_base_url}}/assets/img/setup/print/cheque-5.gif">
|
||||||
|
|
||||||
|
|
@ -4,3 +4,4 @@ print-headings
|
|||||||
letter-head
|
letter-head
|
||||||
address-template
|
address-template
|
||||||
terms-and-conditions
|
terms-and-conditions
|
||||||
|
cheque-print-template
|
@ -5,6 +5,7 @@ def execute():
|
|||||||
if frappe.db.exists("DocType", "Student") and "father_name" in frappe.db.get_table_columns("Student"):
|
if frappe.db.exists("DocType", "Student") and "father_name" in frappe.db.get_table_columns("Student"):
|
||||||
frappe.reload_doc("schools", "doctype", "student")
|
frappe.reload_doc("schools", "doctype", "student")
|
||||||
frappe.reload_doc("schools", "doctype", "guardian")
|
frappe.reload_doc("schools", "doctype", "guardian")
|
||||||
|
frappe.reload_doc("schools", "doctype", "guardian_interest")
|
||||||
|
|
||||||
students = frappe.get_all("Student", fields=["name", "father_name", "father_email_id",
|
students = frappe.get_all("Student", fields=["name", "father_name", "father_email_id",
|
||||||
"mother_name", "mother_email_id"])
|
"mother_name", "mother_email_id"])
|
||||||
|