diff --git a/erpnext/__init__.py b/erpnext/__init__.py index f4f4532251..153a289a03 100644 --- a/erpnext/__init__.py +++ b/erpnext/__init__.py @@ -2,7 +2,7 @@ from __future__ import unicode_literals import frappe -__version__ = '7.0.18' +__version__ = '7.0.19' def get_default_company(user=None): '''Get default company for user''' diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.js b/erpnext/accounts/doctype/payment_entry/payment_entry.js index a5fbfba48b..e2e8340a83 100644 --- a/erpnext/accounts/doctype/payment_entry/payment_entry.js +++ b/erpnext/accounts/doctype/payment_entry/payment_entry.js @@ -95,13 +95,13 @@ frappe.ui.form.on('Payment Entry', { frm.doc.paid_to_account_currency != company_currency && frm.doc.paid_from_account_currency != frm.doc.paid_to_account_currency)); - frm.toggle_display("base_paid_amount", frm.doc.paid_from_account_currency != company_currency); + frm.toggle_display("base_paid_amount", frm.doc.paid_from_account_currency != company_currency); frm.toggle_display("base_received_amount", (frm.doc.paid_to_account_currency != company_currency && frm.doc.paid_from_account_currency != frm.doc.paid_to_account_currency)); - frm.toggle_display("received_amount", - frm.doc.paid_from_account_currency != frm.doc.paid_to_account_currency) + frm.toggle_display("received_amount", (frm.doc.payment_type=="Internal Transfer" || + frm.doc.paid_from_account_currency != frm.doc.paid_to_account_currency)) frm.toggle_display(["base_total_allocated_amount"], (frm.doc.paid_amount && frm.doc.received_amount && frm.doc.base_total_allocated_amount && @@ -414,10 +414,7 @@ frappe.ui.form.on('Payment Entry', { paid_amount: function(frm) { frm.set_value("base_paid_amount", flt(frm.doc.paid_amount) * flt(frm.doc.source_exchange_rate)); - frm.trigger("reset_received_amount"); - - frm.set_paid_amount_based_on_received_amount = false; }, received_amount: function(frm) { @@ -436,22 +433,19 @@ frappe.ui.form.on('Payment Entry', { frm.events.allocate_party_amount_against_ref_docs(frm, frm.doc.received_amount); else frm.events.set_difference_amount(frm); + + frm.set_paid_amount_based_on_received_amount = false; }, reset_received_amount: function(frm) { if(!frm.set_paid_amount_based_on_received_amount && (frm.doc.paid_from_account_currency == frm.doc.paid_to_account_currency)) { - // var total_deductions = frappe.utils.sum($.map(frm.doc.deductions || [], - // function(d) { return d.amount})); - // - // var received_amount = frm.doc.paid_amount + - // flt(total_deductions) / flt(frm.doc.source_exchange_rate); - // frm.set_value("received_amount", frm.doc.paid_amount); frm.set_value("target_exchange_rate", frm.doc.source_exchange_rate); frm.set_value("base_received_amount", frm.doc.base_paid_amount); } + if(frm.doc.payment_type == "Receive") frm.events.allocate_party_amount_against_ref_docs(frm, frm.doc.paid_amount); else @@ -607,11 +601,18 @@ frappe.ui.form.on('Payment Entry', { if(frm.doc.party) { var party_amount = frm.doc.payment_type=="Receive" ? frm.doc.paid_amount : frm.doc.received_amount; + + var total_deductions = frappe.utils.sum($.map(frm.doc.deductions || [], + function(d) { return flt(d.amount) })); - if(frm.doc.total_allocated_amount < party_amount) - unallocated_amount = party_amount - frm.doc.total_allocated_amount; + if(frm.doc.total_allocated_amount < party_amount) { + if(frm.doc.payment_type == "Receive") { + unallocated_amount = party_amount - (frm.doc.total_allocated_amount - total_deductions); + } else { + unallocated_amount = party_amount - (frm.doc.total_allocated_amount + total_deductions); + } + } } - frm.set_value("unallocated_amount", unallocated_amount); var difference_amount = 0; diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.py b/erpnext/accounts/doctype/payment_entry/payment_entry.py index 175ebdade2..c5cf092a8e 100644 --- a/erpnext/accounts/doctype/payment_entry/payment_entry.py +++ b/erpnext/accounts/doctype/payment_entry/payment_entry.py @@ -247,8 +247,13 @@ class PaymentEntry(AccountsController): if self.party: party_amount = self.paid_amount if self.payment_type=="Receive" else self.received_amount + total_deductions = sum([flt(d.amount) for d in self.get("deductions")]) + if self.total_allocated_amount < party_amount: - self.unallocated_amount = party_amount - self.total_allocated_amount + if self.payment_type == "Receive": + self.unallocated_amount = party_amount - (self.total_allocated_amount - total_deductions) + else: + self.unallocated_amount = party_amount - (self.total_allocated_amount + total_deductions) def set_difference_amount(self): base_unallocated_amount = flt(self.unallocated_amount) * (flt(self.source_exchange_rate) diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json index af5790f9ba..06bc6359b9 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json @@ -10,6 +10,7 @@ "docstatus": 0, "doctype": "DocType", "document_type": "", + "editable_grid": 0, "fields": [ { "allow_on_submit": 0, @@ -1135,7 +1136,7 @@ "no_copy": 0, "permlevel": 0, "precision": "2", - "print_hide": 0, + "print_hide": 1, "print_hide_if_no_value": 0, "read_only": 1, "report_hide": 0, @@ -3676,7 +3677,7 @@ "istable": 0, "max_attachments": 0, "menu_index": 0, - "modified": "2016-07-07 13:40:27.977803", + "modified": "2016-08-03 11:50:49.680278", "modified_by": "Administrator", "module": "Accounts", "name": "Sales Invoice", diff --git a/erpnext/config/docs.py b/erpnext/config/docs.py index 07d14b650e..d1a54e817f 100644 --- a/erpnext/config/docs.py +++ b/erpnext/config/docs.py @@ -12,7 +12,7 @@ You can create Custom Form, Fields, Scripts and can also create your own Apps to extend ERPNext functionality. 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 +listed as one of the Best Open Source Softwares in the world by many online blogs.""" docs_version = "6.x.x" diff --git a/erpnext/crm/doctype/lead/lead.py b/erpnext/crm/doctype/lead/lead.py index 0c3652f7eb..e1c3918901 100644 --- a/erpnext/crm/doctype/lead/lead.py +++ b/erpnext/crm/doctype/lead/lead.py @@ -38,7 +38,8 @@ class Lead(SellingController): frappe.throw(_("Campaign Name is required")) if self.email_id: - validate_email_add(self.email_id, True) + if not self.flags.ignore_email_validation: + validate_email_add(self.email_id, True) if self.email_id == self.lead_owner: # Lead Owner cannot be same as the Lead diff --git a/erpnext/crm/doctype/opportunity/opportunity.py b/erpnext/crm/doctype/opportunity/opportunity.py index 0f4d1f4c26..a2a1be2302 100644 --- a/erpnext/crm/doctype/opportunity/opportunity.py +++ b/erpnext/crm/doctype/opportunity/opportunity.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals import frappe, json -from frappe.utils import cstr, cint, get_fullname, validate_email_add +from frappe.utils import cstr, cint, get_fullname from frappe import msgprint, _ from frappe.model.mapper import get_mapped_doc from erpnext.setup.utils import get_exchange_rate @@ -43,7 +43,7 @@ class Opportunity(TransactionBase): def make_new_lead_if_required(self): """Set lead against new opportunity""" - if not (self.lead or self.customer) and self.contact_email and validate_email_add(self.contact_email): + if not (self.lead or self.customer) and self.contact_email: lead_name = frappe.db.get_value("Lead", {"email_id": self.contact_email}) if not lead_name: sender_name = get_fullname(self.contact_email) @@ -64,6 +64,7 @@ class Opportunity(TransactionBase): "lead_name": sender_name }) + lead.flags.ignore_email_validation = True lead.insert(ignore_permissions=True) lead_name = lead.name diff --git a/erpnext/demo/demo.py b/erpnext/demo/demo.py index 2435029a2c..d1f498280f 100644 --- a/erpnext/demo/demo.py +++ b/erpnext/demo/demo.py @@ -53,7 +53,7 @@ def simulate(): if not runs_for: runs_for = frappe.utils.date_diff(frappe.utils.nowdate(), current_date) # runs_for = 100 - + fixed_asset.work() for i in xrange(runs_for): @@ -72,9 +72,6 @@ def simulate(): stock.work() accounts.work() projects.run_projects(current_date) - # run_stock() - # run_accounts() - # run_projects() # run_messages() current_date = frappe.utils.add_days(current_date, 1) diff --git a/erpnext/demo/setup_data.py b/erpnext/demo/setup_data.py index cb33cb1542..1be2cac51c 100644 --- a/erpnext/demo/setup_data.py +++ b/erpnext/demo/setup_data.py @@ -212,7 +212,7 @@ def setup_user(): user = frappe.new_doc("User") user.update(u) user.flags.no_welcome_mail - user.password = 'demo' + user.new_password = 'demo' user.insert() def import_json(doctype, submit=False, values=None): @@ -377,6 +377,12 @@ def setup_budget(): def setup_user_roles(): + user = frappe.get_doc('User', 'demo@erpnext.com') + user.add_roles('HR User', 'HR Manager', 'Accounts User', 'Accounts Manager', + 'Stock User', 'Stock Manager', 'Sales User', 'Sales Manager', 'Purchase User', + 'Purchase Manager', 'Projects User', 'Manufacturing User', 'Manufacturing Manager', + 'Support Team') + if not frappe.db.get_global('demo_hr_user'): user = frappe.get_doc('User', 'CharmaineGaudreau@example.com') user.add_roles('HR User', 'HR Manager', 'Accounts User') @@ -439,7 +445,7 @@ def setup_leave_allocation(): for leave_type in leave_types: if not leave_type.max_days_allowed: leave_type.max_days_allowed = 10 - + leave_allocation = frappe.get_doc({ "doctype": "Leave Allocation", "employee": employee.name, @@ -450,4 +456,4 @@ def setup_leave_allocation(): }) leave_allocation.insert() leave_allocation.submit() - frappe.db.commit() + frappe.db.commit() diff --git a/erpnext/docs/assets/img/accounts/opening-2.png b/erpnext/docs/assets/img/accounts/opening-2.png new file mode 100644 index 0000000000..866e351304 Binary files /dev/null and b/erpnext/docs/assets/img/accounts/opening-2.png differ diff --git a/erpnext/docs/assets/img/accounts/opening-3.png b/erpnext/docs/assets/img/accounts/opening-3.png new file mode 100644 index 0000000000..18dcf18fb6 Binary files /dev/null and b/erpnext/docs/assets/img/accounts/opening-3.png differ diff --git a/erpnext/docs/assets/img/accounts/opening-4.png b/erpnext/docs/assets/img/accounts/opening-4.png new file mode 100644 index 0000000000..f9ac60759f Binary files /dev/null and b/erpnext/docs/assets/img/accounts/opening-4.png differ diff --git a/erpnext/docs/assets/img/accounts/opening-5.png b/erpnext/docs/assets/img/accounts/opening-5.png new file mode 100644 index 0000000000..3722fd13fe Binary files /dev/null and b/erpnext/docs/assets/img/accounts/opening-5.png differ diff --git a/erpnext/docs/assets/img/accounts/opening-6.png b/erpnext/docs/assets/img/accounts/opening-6.png new file mode 100644 index 0000000000..52b08f77ee Binary files /dev/null and b/erpnext/docs/assets/img/accounts/opening-6.png differ diff --git a/erpnext/docs/assets/img/accounts/opening-7.png b/erpnext/docs/assets/img/accounts/opening-7.png new file mode 100644 index 0000000000..9a63504059 Binary files /dev/null and b/erpnext/docs/assets/img/accounts/opening-7.png differ diff --git a/erpnext/docs/assets/img/accounts/perpetual-1.png b/erpnext/docs/assets/img/accounts/perpetual-1.png new file mode 100644 index 0000000000..d9e9342d9f Binary files /dev/null and b/erpnext/docs/assets/img/accounts/perpetual-1.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/__init__.py b/erpnext/docs/assets/img/collaboration-tools/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/erpnext/docs/assets/img/collaboration-tools/assign-1.png b/erpnext/docs/assets/img/collaboration-tools/assign-1.png new file mode 100644 index 0000000000..3dc6e1b28c Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/assign-1.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/assign-2.png b/erpnext/docs/assets/img/collaboration-tools/assign-2.png new file mode 100644 index 0000000000..51148e5319 Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/assign-2.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/assign-3.png b/erpnext/docs/assets/img/collaboration-tools/assign-3.png new file mode 100644 index 0000000000..767f42169a Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/assign-3.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/assign-4.png b/erpnext/docs/assets/img/collaboration-tools/assign-4.png new file mode 100644 index 0000000000..ff0b650728 Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/assign-4.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/calendar-1.png b/erpnext/docs/assets/img/collaboration-tools/calendar-1.png new file mode 100644 index 0000000000..2c8da071be Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/calendar-1.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/calendar-2.gif b/erpnext/docs/assets/img/collaboration-tools/calendar-2.gif new file mode 100644 index 0000000000..8d224ad19f Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/calendar-2.gif differ diff --git a/erpnext/docs/assets/img/collaboration-tools/calendar-3.png b/erpnext/docs/assets/img/collaboration-tools/calendar-3.png new file mode 100644 index 0000000000..02c6bf48b7 Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/calendar-3.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/calendar-4.png b/erpnext/docs/assets/img/collaboration-tools/calendar-4.png new file mode 100644 index 0000000000..da0fb673f9 Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/calendar-4.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/calendar-5.png b/erpnext/docs/assets/img/collaboration-tools/calendar-5.png new file mode 100644 index 0000000000..df8346e761 Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/calendar-5.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/calendar-6.png b/erpnext/docs/assets/img/collaboration-tools/calendar-6.png new file mode 100644 index 0000000000..d59eeb6ef3 Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/calendar-6.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/calendar-7.png b/erpnext/docs/assets/img/collaboration-tools/calendar-7.png new file mode 100644 index 0000000000..ac7a93cc10 Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/calendar-7.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/chat-1.png b/erpnext/docs/assets/img/collaboration-tools/chat-1.png new file mode 100644 index 0000000000..addc1454bf Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/chat-1.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/chat-2.png b/erpnext/docs/assets/img/collaboration-tools/chat-2.png new file mode 100644 index 0000000000..c5605967eb Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/chat-2.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/comments-1.png b/erpnext/docs/assets/img/collaboration-tools/comments-1.png new file mode 100644 index 0000000000..826fe90fb9 Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/comments-1.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/note-1.png b/erpnext/docs/assets/img/collaboration-tools/note-1.png new file mode 100644 index 0000000000..ab61672d83 Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/note-1.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/share-1.gif b/erpnext/docs/assets/img/collaboration-tools/share-1.gif new file mode 100644 index 0000000000..94fe84f3ca Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/share-1.gif differ diff --git a/erpnext/docs/assets/img/collaboration-tools/tags-1.png b/erpnext/docs/assets/img/collaboration-tools/tags-1.png new file mode 100644 index 0000000000..0adaf30a0b Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/tags-1.png differ diff --git a/erpnext/docs/assets/img/collaboration-tools/tags-2.png b/erpnext/docs/assets/img/collaboration-tools/tags-2.png new file mode 100644 index 0000000000..f635ed69d3 Binary files /dev/null and b/erpnext/docs/assets/img/collaboration-tools/tags-2.png differ diff --git a/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-1.png b/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-1.png deleted file mode 100644 index 462c3f1baa..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/accounting-for-stock-1.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/assets-1.png b/erpnext/docs/assets/old_images/erpnext/assets-1.png deleted file mode 100644 index 19b3328756..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/assets-1.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/assets-2.png b/erpnext/docs/assets/old_images/erpnext/assets-2.png deleted file mode 100644 index f0b0262b6c..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/assets-2.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/assets-3.png b/erpnext/docs/assets/old_images/erpnext/assets-3.png deleted file mode 100644 index fd0a9a5f12..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/assets-3.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/assets-4.png b/erpnext/docs/assets/old_images/erpnext/assets-4.png deleted file mode 100644 index 4727484dcb..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/assets-4.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/assets-5.png b/erpnext/docs/assets/old_images/erpnext/assets-5.png deleted file mode 100644 index 8beaa57822..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/assets-5.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/assign-remove.png b/erpnext/docs/assets/old_images/erpnext/assign-remove.png deleted file mode 100644 index 2973ec0965..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/assign-remove.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/assign-todo.png b/erpnext/docs/assets/old_images/erpnext/assign-todo.png deleted file mode 100644 index c63b943017..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/assign-todo.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/assign-user.png b/erpnext/docs/assets/old_images/erpnext/assign-user.png deleted file mode 100644 index 4a34fe8819..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/assign-user.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/assigned-to-icon.png b/erpnext/docs/assets/old_images/erpnext/assigned-to-icon.png deleted file mode 100644 index 9604a02e23..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/assigned-to-icon.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/assigned-to.png b/erpnext/docs/assets/old_images/erpnext/assigned-to.png deleted file mode 100644 index 01a38754c2..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/assigned-to.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/calender-email-digest.png b/erpnext/docs/assets/old_images/erpnext/calender-email-digest.png deleted file mode 100644 index 4d7a6cb624..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/calender-email-digest.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/calender-event-lead.png b/erpnext/docs/assets/old_images/erpnext/calender-event-lead.png deleted file mode 100644 index ff04fb411e..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/calender-event-lead.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/calender-event-manually.png b/erpnext/docs/assets/old_images/erpnext/calender-event-manually.png deleted file mode 100644 index 0174f520b9..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/calender-event-manually.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/calender-event-notification.png b/erpnext/docs/assets/old_images/erpnext/calender-event-notification.png deleted file mode 100644 index c86c5f5407..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/calender-event-notification.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/calender-event-permission.png b/erpnext/docs/assets/old_images/erpnext/calender-event-permission.png deleted file mode 100644 index f5b21f1de2..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/calender-event-permission.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/calender-event-recurring.png b/erpnext/docs/assets/old_images/erpnext/calender-event-recurring.png deleted file mode 100644 index 174f154606..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/calender-event-recurring.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/forms.png b/erpnext/docs/assets/old_images/erpnext/forms.png deleted file mode 100644 index 0c4af1ad5c..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/forms.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/image-temp-opening.png b/erpnext/docs/assets/old_images/erpnext/image-temp-opening.png deleted file mode 100644 index 52d0d5a2fa..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/image-temp-opening.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/message-list.png b/erpnext/docs/assets/old_images/erpnext/message-list.png deleted file mode 100644 index e5034a5755..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/message-list.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/message-to.png b/erpnext/docs/assets/old_images/erpnext/message-to.png deleted file mode 100644 index ecd75b4817..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/message-to.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/note-permission.png b/erpnext/docs/assets/old_images/erpnext/note-permission.png deleted file mode 100644 index a3cbc25982..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/note-permission.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/note.png b/erpnext/docs/assets/old_images/erpnext/note.png deleted file mode 100644 index 58bc180511..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/note.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/opening-entry-2.png b/erpnext/docs/assets/old_images/erpnext/opening-entry-2.png deleted file mode 100644 index 57e0fb3ad8..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/opening-entry-2.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/tags-in-list.png b/erpnext/docs/assets/old_images/erpnext/tags-in-list.png deleted file mode 100644 index 257ab5f6fe..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/tags-in-list.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/todo-close.png b/erpnext/docs/assets/old_images/erpnext/todo-close.png deleted file mode 100644 index 5ef0b2af34..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/todo-close.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/todo-list.png b/erpnext/docs/assets/old_images/erpnext/todo-list.png deleted file mode 100644 index fc65ced0d6..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/todo-list.png and /dev/null differ diff --git a/erpnext/docs/assets/old_images/erpnext/trial-balance-1.png b/erpnext/docs/assets/old_images/erpnext/trial-balance-1.png deleted file mode 100644 index a4322e920a..0000000000 Binary files a/erpnext/docs/assets/old_images/erpnext/trial-balance-1.png and /dev/null differ diff --git a/erpnext/docs/index.html b/erpnext/docs/index.html index 99ef849f65..c0f9228425 100644 --- a/erpnext/docs/index.html +++ b/erpnext/docs/index.html @@ -38,7 +38,7 @@ You can create Custom Form, Fields, Scripts and can also create your own Apps to extend ERPNext functionality.
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 +listed as one of the Best Open Source Softwares in the world by many online blogs.
diff --git a/erpnext/docs/user/manual/en/accounts/index.txt b/erpnext/docs/user/manual/en/accounts/index.txt index f06bb19baa..d7c405acc5 100644 --- a/erpnext/docs/user/manual/en/accounts/index.txt +++ b/erpnext/docs/user/manual/en/accounts/index.txt @@ -1,21 +1,19 @@ -journal-entry -sales-invoice -purchase-invoice -payment-request chart-of-accounts +opening-accounts +sales-invoice +point-of-sale-pos-invoice +purchase-invoice +journal-entry payment-entry +multi-currency-accounting advance-payment-entry payment-request credit-limit -opening-entry accounting-reports accounting-entries managing-fixed-assets budgeting -opening-accounts -item-wise-tax -point-of-sale-pos-invoice -multi-currency-accounting +item-wise-taxation recurring-orders-and-invoices pricing-rule tools diff --git a/erpnext/docs/user/manual/en/accounts/item-wise-tax.md b/erpnext/docs/user/manual/en/accounts/item-wise-taxation.md similarity index 99% rename from erpnext/docs/user/manual/en/accounts/item-wise-tax.md rename to erpnext/docs/user/manual/en/accounts/item-wise-taxation.md index 8c1fc8625f..bc51de9de9 100644 --- a/erpnext/docs/user/manual/en/accounts/item-wise-tax.md +++ b/erpnext/docs/user/manual/en/accounts/item-wise-taxation.md @@ -1,4 +1,3 @@ - Taxes selected in the Tax and Other Charges in transactions are applied on all the items. If you need different taxes applied on items selected in the same transaction, you should setup you item and tax master as explained in the steps below. ####Step 1: Mention Tax Applicable in the Item master diff --git a/erpnext/docs/user/manual/en/accounts/opening-accounts.md b/erpnext/docs/user/manual/en/accounts/opening-accounts.md index fc86cdd3cd..11e4acb80a 100644 --- a/erpnext/docs/user/manual/en/accounts/opening-accounts.md +++ b/erpnext/docs/user/manual/en/accounts/opening-accounts.md @@ -1,82 +1,99 @@ - Now that you have completed most of the setup, its time to start moving in! +#Updating Opening Balance in Accounts -There are two important sets of data you need to enter before you start your -operations. +If you are a new company you can start using ERPNext accounting module by going to chart of accounts. However, if you are migrating from a legacy accounting system like Tally or a Fox Pro based software - * Opening Account balances. - * Opening Stock balances. +We recommend that you start using accounting in a new financial year, but you could start midway too. To setup your accounts, you will need the following for the “day” you start using accounting in ERPNext: -To setup your accounts and stock correctly you will need accurate data to work -with. Make sure you have the data setup for this. +* Opening capital accounts - like your shareholder’s (or owner’) capital, loans, bank balances on that day. -### Opening Accounts +* List of outstanding sales and purchase invoices (Payables and Receivables). -We usually recommend that you start using accounting in a new financial year, -but you could start midway too. To setup your accounts, you will need the -following for the “day” you start using accounting in ERPNext: +If you were using another accounting software before, firstly you should close financial statements in that software. The closing balance of the accounts should be updated as an opening balance in the ERPNext. Before starting to update opening balance, ensure that your [Chart of Accounts]({{docs_base_url}}/user/manual/en/accounts/chart-of-accounts.html) has all the Accounts required. -Opening capital accounts - like your shareholder’s (or owner’) capital, loans, -bank balances on that day. List of outstanding sales and purchase invoices -(Payables and Receivables). +> Opening entry is only for Balance Sheet accounts and not for the Accounts in the Profit and Loss statement. -Based on Voucher Type + * For all assets (excluding Accounts Receivables): This entry will contain all your assets except the amounts you are expecting from your Customers against outstanding Sales Invoices. You will have to update your receivables by making an individual entry for each Invoice (this is because, the system will help you track the invoices which are yet to be paid). You can credit the sum of all these debits against the **Temporary Opening** account. + + * For all liabilities: Similarly you need to pass a Journal Entry for your Opening Liabilities (except for the bills you have to pay) against **Temporary Opening** account. -You can select accounts based on the voucher type. In such a scenario, your balance sheet should be balanced. +###Opening Entry + +####Step 1: New Journal Entry + +To open new Journal Entry, go to: + +`Explore > Accounts > Journal Entry` + +####Step 2: Entry Type + +If Entry Type is selected as Opening Entry, all the Balance Sheet Accounts will be auto-fetched in the Journal Entry.