Merge branch 'develop'
@ -1,2 +1,2 @@
|
||||
from __future__ import unicode_literals
|
||||
__version__ = '6.12.3'
|
||||
__version__ = '6.12.4'
|
||||
|
@ -193,7 +193,7 @@
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"in_list_view": 0,
|
||||
"label": "Cheque Date",
|
||||
"length": 0,
|
||||
"no_copy": 0,
|
||||
@ -233,6 +233,29 @@
|
||||
"search_index": 0,
|
||||
"set_only_once": 0,
|
||||
"unique": 0
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 0,
|
||||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"fieldname": "data_10",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"precision": "",
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
"search_index": 0,
|
||||
"set_only_once": 0,
|
||||
"unique": 0
|
||||
}
|
||||
],
|
||||
"hide_heading": 0,
|
||||
@ -245,7 +268,7 @@
|
||||
"istable": 1,
|
||||
"max_attachments": 0,
|
||||
"menu_index": 0,
|
||||
"modified": "2015-11-30 12:52:01.090839",
|
||||
"modified": "2015-12-04 11:01:24.286320",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Accounts",
|
||||
"name": "Bank Reconciliation Detail",
|
||||
|
@ -24,7 +24,7 @@ erpnext.accounts.PurchaseInvoice = erpnext.buying.BuyingController.extend({
|
||||
|
||||
if(!doc.is_return) {
|
||||
if(doc.docstatus==1) {
|
||||
if(doc.outstanding_amount > 0) {
|
||||
if(doc.outstanding_amount != 0) {
|
||||
this.frm.add_custom_button(__('Payment'), this.make_bank_entry).addClass("btn-primary");
|
||||
}
|
||||
cur_frm.add_custom_button(__('Debit Note'), this.make_debit_note);
|
||||
|
@ -64,6 +64,7 @@ class SalesInvoice(SellingController):
|
||||
self.validate_pos()
|
||||
|
||||
if cint(self.update_stock):
|
||||
self.validate_dropship_item()
|
||||
self.validate_item_code()
|
||||
self.validate_warehouse()
|
||||
self.update_current_stock()
|
||||
@ -409,6 +410,12 @@ class SalesInvoice(SellingController):
|
||||
if self.c_form_applicable == 'Yes' and self.c_form_no:
|
||||
msgprint(_("Please remove this Invoice {0} from C-Form {1}")
|
||||
.format(self.name, self.c_form_no), raise_exception = 1)
|
||||
|
||||
def validate_dropship_item(self):
|
||||
for item in self.items:
|
||||
if item.sales_order:
|
||||
if frappe.db.get_value("Sales Order Item", item.so_detail, "delivered_by_supplier"):
|
||||
frappe.throw(_("Could not update stock, invoice contains drop shipping item."))
|
||||
|
||||
def update_current_stock(self):
|
||||
for d in self.get('items'):
|
||||
|
@ -22,8 +22,8 @@ def execute(filters=None):
|
||||
|
||||
total_debit, total_credit = 0,0
|
||||
for d in data:
|
||||
total_debit += flt(d.debit_in_account_currency)
|
||||
total_credit += flt(d.credit_in_account_currency)
|
||||
total_debit += flt(d.debit)
|
||||
total_credit += flt(d.credit)
|
||||
|
||||
amounts_not_reflected_in_system = frappe.db.sql("""
|
||||
select sum(jvd.debit_in_account_currency - jvd.credit_in_account_currency)
|
||||
|
@ -1,17 +0,0 @@
|
||||
{
|
||||
"creation": "2015-10-20 16:46:39.382799",
|
||||
"custom_format": 0,
|
||||
"disabled": 0,
|
||||
"doc_type": "Purchase Order",
|
||||
"docstatus": 0,
|
||||
"doctype": "Print Format",
|
||||
"font": "Default",
|
||||
"format_data": "[{\"fieldname\": \"print_heading_template\", \"fieldtype\": \"HTML\", \"options\": \"<h1 style=\\\"text-align: center;\\\">Purchase Order</h1><div style=\\\"text-align: center;\\\">{{doc.name}}</div><div style=\\\"text-align: center;\\\"><hr></div>\"}, {\"fieldtype\": \"Section Break\"}, {\"fieldtype\": \"Column Break\"}, {\"print_hide\": 0, \"fieldname\": \"title\"}, {\"print_hide\": 0, \"fieldname\": \"supplier\"}, {\"print_hide\": 0, \"fieldname\": \"supplier_name\"}, {\"print_hide\": 0, \"fieldname\": \"address_display\"}, {\"print_hide\": 0, \"fieldname\": \"contact_display\"}, {\"print_hide\": 0, \"fieldname\": \"contact_mobile\"}, {\"fieldtype\": \"Column Break\"}, {\"print_hide\": 0, \"fieldname\": \"transaction_date\"}, {\"print_hide\": 0, \"fieldname\": \"customer\"}, {\"print_hide\": 0, \"fieldname\": \"customer_name\"}, {\"print_hide\": 0, \"fieldname\": \"customer_address_display\"}, {\"print_hide\": 0, \"fieldname\": \"customer_contact_display\"}, {\"print_hide\": 0, \"fieldname\": \"customer_contact_mobile\"}, {\"fieldtype\": \"Section Break\"}, {\"fieldtype\": \"Column Break\"}, {\"visible_columns\": [{\"print_hide\": 0, \"fieldname\": \"item_code\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"description\", \"print_width\": \"300px\"}, {\"print_hide\": 0, \"fieldname\": \"image\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"qty\", \"print_width\": \"60px\"}, {\"print_hide\": 0, \"fieldname\": \"uom\", \"print_width\": \"100px\"}, {\"print_hide\": 0, \"fieldname\": \"discount_percentage\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"rate\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"amount\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"pricing_rule\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"supplier_quotation\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"supplier_quotation_item\", \"print_width\": \"\"}], \"print_hide\": 0, \"fieldname\": \"items\"}, {\"print_hide\": 0, \"fieldname\": \"get_last_purchase_rate\"}, {\"fieldtype\": \"Section Break\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Column Break\"}, {\"print_hide\": 0, \"fieldname\": \"total\"}, {\"fieldtype\": \"Section Break\"}, {\"fieldtype\": \"Column Break\"}, {\"visible_columns\": [{\"print_hide\": 0, \"fieldname\": \"category\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"add_deduct_tax\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"charge_type\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"row_id\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"included_in_print_rate\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"account_head\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"cost_center\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"description\", \"print_width\": \"300px\"}, {\"print_hide\": 0, \"fieldname\": \"rate\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"tax_amount\", \"print_width\": \"\"}, {\"print_hide\": 0, \"fieldname\": \"total\", \"print_width\": \"\"}], \"print_hide\": 0, \"fieldname\": \"taxes\"}, {\"fieldtype\": \"Section Break\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Column Break\"}, {\"print_hide\": 0, \"fieldname\": \"grand_total\"}, {\"print_hide\": 0, \"fieldname\": \"in_words\"}, {\"fieldtype\": \"Section Break\"}, {\"fieldtype\": \"Column Break\"}, {\"print_hide\": 0, \"fieldname\": \"terms\"}, {\"fieldtype\": \"Section Break\"}, {\"fieldtype\": \"Column Break\"}, {\"print_hide\": 0, \"fieldname\": \"customer_contact_person\"}, {\"fieldtype\": \"Section Break\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Column Break\"}, {\"print_hide\": 0, \"fieldname\": \"recurring_print_format\"}]",
|
||||
"modified": "2015-10-20 17:21:45.810640",
|
||||
"modified_by": "saurabh@erpnext.com",
|
||||
"name": "Drop Shipping",
|
||||
"owner": "Administrator",
|
||||
"print_format_builder": 1,
|
||||
"print_format_type": "Server",
|
||||
"standard": "No"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
source_link = "https://github.com/frappe/erpnext"
|
||||
docs_base_url = "https://frappe.github.io/erpnext"
|
||||
headline = "Learn ERPNext Inside Out"
|
||||
sub_heading = "Find detailed explanation for all ERPNext features"
|
||||
headline = "ERPNext Documentation"
|
||||
sub_heading = "Detailed explanation for all ERPNext features and developer API"
|
||||
long_description = """ERPNext is a fully featured ERP system designed for Small and Medium Sized
|
||||
business. ERPNext covers a wide range of features including Accounting, CRM,
|
||||
Inventory management, Selling, Purchasing, Manufacturing, Projects, HR &
|
||||
@ -15,10 +15,13 @@ ERPNext is Open Source under the GNU General Public Licence v3 and has been
|
||||
listed as one of the Best Open Source Softwares in the world by my online
|
||||
blogs."""
|
||||
|
||||
docs_version = "6.x.x"
|
||||
splash_light_background = True
|
||||
|
||||
def get_context(context):
|
||||
context.app.splash_light_background = True
|
||||
context.top_bar_items = [
|
||||
{"label": "Contents", "url": context.docs_base_url + "/contents.html", "right": 1},
|
||||
{"label": "User Guide", "url": context.docs_base_url + "/user/guides", "right": 1},
|
||||
{"label": "User Manual", "url": context.docs_base_url + "/user/manual", "right": 1},
|
||||
{"label": "Videos", "url": context.docs_base_url + "/user/videos", "right": 1},
|
||||
{"label": "Developer Docs", "url": context.docs_base_url + "/current", "right": 1}
|
||||
]
|
||||
|
BIN
erpnext/docs/assets/img/articles/$SGrab_223.png
Normal file
After Width: | Height: | Size: 168 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_238.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_241.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_242.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_253.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_254.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_256.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_258.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_260.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_261.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_306.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_307.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_316.png
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_317.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_318.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_323.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_327.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_328.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_329.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_330.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_331.png
Normal file
After Width: | Height: | Size: 9.4 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_349.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_350.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_352.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_353.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_383.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_384.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_385.png
Normal file
After Width: | Height: | Size: 9.0 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_386.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_387.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_389.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_390.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_391.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_392.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_393.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_394.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_406.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_407.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_408.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_418.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_419.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_420.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_422.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_428.png
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_429.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_431.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_432.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_439.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
erpnext/docs/assets/img/articles/$SGrab_440.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
erpnext/docs/assets/img/articles/Order Copy.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
erpnext/docs/assets/img/articles/SGrab_250.png
Normal file
After Width: | Height: | Size: 100 KiB |
BIN
erpnext/docs/assets/img/articles/SGrab_282.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
erpnext/docs/assets/img/articles/SGrab_283.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
erpnext/docs/assets/img/articles/SGrab_342.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
erpnext/docs/assets/img/articles/SGrab_343.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
erpnext/docs/assets/img/articles/SGrab_344.png
Normal file
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 103 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 9.2 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 62 KiB |