Merge branch 'develop'
@ -1,2 +1,2 @@
|
||||
from __future__ import unicode_literals
|
||||
__version__ = '6.7.8'
|
||||
__version__ = '6.8.0'
|
||||
|
@ -98,16 +98,17 @@ class GrossProfitGenerator(object):
|
||||
|
||||
row.base_amount = flt(row.base_net_amount)
|
||||
|
||||
product_bundles = []
|
||||
if row.update_stock:
|
||||
product_bundles = self.product_bundles.get(row.parenttype, {}).get(row.parent, frappe._dict())
|
||||
elif row.dn_detail:
|
||||
product_bundles = self.product_bundles.get("Delivery Note", {})\
|
||||
.get(row.delivery_note, frappe._dict())
|
||||
row.item_row = row.dn_detail
|
||||
|
||||
|
||||
# get buying amount
|
||||
if row.item_code in product_bundles:
|
||||
row.buying_amount = self.get_buying_amount_from_product_bundle(row,
|
||||
row.buying_amount = self.get_buying_amount_from_product_bundle(row,
|
||||
product_bundles[row.item_code])
|
||||
else:
|
||||
row.buying_amount = self.get_buying_amount(row, row.item_code)
|
||||
@ -184,7 +185,7 @@ class GrossProfitGenerator(object):
|
||||
parenttype, parent = row.parenttype, row.parent
|
||||
if row.dn_detail:
|
||||
parenttype, parent = "Delivery Note", row.delivery_note
|
||||
|
||||
|
||||
for i, sle in enumerate(my_sle):
|
||||
# find the stock valution rate from stock ledger entry
|
||||
if sle.voucher_type == parenttype and parent == sle.voucher_no and \
|
||||
|
@ -1 +1 @@
|
||||
- **[Multi-currency Accounting](https://manual.erpnext.com/contents/accounts/multi-currency-accounting)**: You can now have an Account in a different currency than your Company's currency
|
||||
- **[Multi-currency Accounting](https://frappe.github.io/erpnext/user/guides/accounts/multi-currency-accounting)**: You can now have an Account in a different currency than your Company's currency
|
||||
|
2
erpnext/change_log/v6/v6_8_0.md
Normal file
@ -0,0 +1,2 @@
|
||||
- Removed Stock UOM Replace Utility
|
||||
Replacing UOM and Conversion Factor in existing transactions broke the integrity of data. The cleaner solution is to create new Items for a different Stock UOM, and keep existing transactions as they are.
|
28
erpnext/config/docs.py
Normal file
@ -0,0 +1,28 @@
|
||||
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"
|
||||
long_description = """
|
||||
ERPNext helps you to manage all your business information in one application and use it to manage operations and take decisions based on data.
|
||||
|
||||
Among other things, ERPNext will help you to:
|
||||
|
||||
- Track all Invoices and Payments.
|
||||
- Know what quantity of which product is available in stock.
|
||||
- Identify open customer queries.
|
||||
- Manage payroll.
|
||||
- Assign tasks and follow up on them.
|
||||
- Maintain a database of all your customers, suppliers and their contacts.
|
||||
- Prepare quotes.
|
||||
- Get reminders on maintenance schedules.
|
||||
- Publish your website.
|
||||
|
||||
And a lot lot lot more."""
|
||||
|
||||
def get_context(context):
|
||||
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": "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/accounts/account-settings.png
Normal file
After Width: | Height: | Size: 95 KiB |
BIN
erpnext/docs/assets/img/accounts/accounts-receivable.png
Normal file
After Width: | Height: | Size: 74 KiB |
BIN
erpnext/docs/assets/img/accounts/advance-payment-1.png
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
erpnext/docs/assets/img/accounts/advance-payment-2.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
erpnext/docs/assets/img/accounts/advance-payment-3.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
erpnext/docs/assets/img/accounts/bank-reconciliation.png
Normal file
After Width: | Height: | Size: 81 KiB |
BIN
erpnext/docs/assets/img/accounts/chart-of-accounts-1.png
Normal file
After Width: | Height: | Size: 143 KiB |
BIN
erpnext/docs/assets/img/accounts/chart-of-accounts-2.png
Normal file
After Width: | Height: | Size: 96 KiB |
BIN
erpnext/docs/assets/img/accounts/chart-of-accounts-3.png
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
erpnext/docs/assets/img/accounts/credit-limit-1.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
erpnext/docs/assets/img/accounts/credit-limit-2.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
erpnext/docs/assets/img/accounts/financial-analytics-bl.png
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
erpnext/docs/assets/img/accounts/financial-analytics-pl.png
Normal file
After Width: | Height: | Size: 115 KiB |
BIN
erpnext/docs/assets/img/accounts/fiscal-year.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
erpnext/docs/assets/img/accounts/general-ledger.png
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
erpnext/docs/assets/img/accounts/journal-entry.png
Normal file
After Width: | Height: | Size: 96 KiB |
BIN
erpnext/docs/assets/img/accounts/make-payment.png
Normal file
After Width: | Height: | Size: 70 KiB |
BIN
erpnext/docs/assets/img/accounts/multi-currency/account.png
Normal file
After Width: | Height: | Size: 199 KiB |
After Width: | Height: | Size: 166 KiB |
After Width: | Height: | Size: 265 KiB |
After Width: | Height: | Size: 242 KiB |
BIN
erpnext/docs/assets/img/accounts/multi-currency/customer.png
Normal file
After Width: | Height: | Size: 183 KiB |
After Width: | Height: | Size: 221 KiB |
After Width: | Height: | Size: 197 KiB |
After Width: | Height: | Size: 192 KiB |
After Width: | Height: | Size: 256 KiB |
After Width: | Height: | Size: 241 KiB |
BIN
erpnext/docs/assets/img/accounts/new-bank-entry.png
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
erpnext/docs/assets/img/accounts/opening-account-1.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
erpnext/docs/assets/img/accounts/payment-reconcile-tool.png
Normal file
After Width: | Height: | Size: 113 KiB |
BIN
erpnext/docs/assets/img/accounts/payment-tool-1.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
erpnext/docs/assets/img/accounts/payment-tool-2.png
Normal file
After Width: | Height: | Size: 95 KiB |
BIN
erpnext/docs/assets/img/accounts/payment-tool-3.png
Normal file
After Width: | Height: | Size: 93 KiB |
BIN
erpnext/docs/assets/img/accounts/period-closing-voucher.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
erpnext/docs/assets/img/accounts/purchase-invoice.png
Normal file
After Width: | Height: | Size: 103 KiB |
BIN
erpnext/docs/assets/img/accounts/sales-invoice.png
Normal file
After Width: | Height: | Size: 108 KiB |
BIN
erpnext/docs/assets/img/accounts/sales-register.png
Normal file
After Width: | Height: | Size: 114 KiB |
BIN
erpnext/docs/assets/img/accounts/tax-rule-1.png
Normal file
After Width: | Height: | Size: 97 KiB |
BIN
erpnext/docs/assets/img/accounts/tax-rule-2.png
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
erpnext/docs/assets/img/accounts/tax-rule.png
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
erpnext/docs/assets/img/accounts/trial-balance.png
Normal file
After Width: | Height: | Size: 126 KiB |
BIN
erpnext/docs/assets/img/buying/buying-settings.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
erpnext/docs/assets/img/buying/material-request.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
erpnext/docs/assets/img/buying/purchase-order-uom.png
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
erpnext/docs/assets/img/buying/purchase-order.png
Normal file
After Width: | Height: | Size: 85 KiB |
BIN
erpnext/docs/assets/img/buying/supplier-master.png
Normal file
After Width: | Height: | Size: 106 KiB |
BIN
erpnext/docs/assets/img/buying/supplier-quotation.png
Normal file
After Width: | Height: | Size: 133 KiB |
BIN
erpnext/docs/assets/img/buying/supplier-type.png
Normal file
After Width: | Height: | Size: 74 KiB |
BIN
erpnext/docs/assets/img/crm/campaign-new-lead.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
erpnext/docs/assets/img/crm/campaign-view-leads.png
Normal file
After Width: | Height: | Size: 74 KiB |
BIN
erpnext/docs/assets/img/crm/campaign.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
erpnext/docs/assets/img/crm/contact-from-cust.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
erpnext/docs/assets/img/crm/contact.png
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
erpnext/docs/assets/img/crm/customer-group-tree.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
erpnext/docs/assets/img/crm/customer.png
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
erpnext/docs/assets/img/crm/lead-to-opportunity.png
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
erpnext/docs/assets/img/crm/lead.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
erpnext/docs/assets/img/crm/newsletter-new.png
Normal file
After Width: | Height: | Size: 81 KiB |
BIN
erpnext/docs/assets/img/crm/newsletter-test.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
erpnext/docs/assets/img/crm/opportunity.png
Normal file
After Width: | Height: | Size: 75 KiB |
BIN
erpnext/docs/assets/img/crm/sales-person-tree.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
erpnext/docs/assets/img/crm/territory-tree.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
erpnext/docs/assets/img/customize/customize-title.gif
Normal file
After Width: | Height: | Size: 401 KiB |
BIN
erpnext/docs/assets/img/customize/editable-title.gif
Normal file
After Width: | Height: | Size: 546 KiB |
BIN
erpnext/docs/assets/img/home.png
Normal file
After Width: | Height: | Size: 275 KiB |
BIN
erpnext/docs/assets/img/human-resources/appraisal-employee.png
Normal file
After Width: | Height: | Size: 108 KiB |
BIN
erpnext/docs/assets/img/human-resources/appraisal.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
erpnext/docs/assets/img/human-resources/attendence-upload.png
Normal file
After Width: | Height: | Size: 86 KiB |
BIN
erpnext/docs/assets/img/human-resources/attendence.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
erpnext/docs/assets/img/human-resources/branch.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
erpnext/docs/assets/img/human-resources/deduction-type.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
erpnext/docs/assets/img/human-resources/department.png
Normal file
After Width: | Height: | Size: 125 KiB |
BIN
erpnext/docs/assets/img/human-resources/designation.png
Normal file
After Width: | Height: | Size: 114 KiB |
BIN
erpnext/docs/assets/img/human-resources/earning-type.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
erpnext/docs/assets/img/human-resources/email-account.png
Normal file
After Width: | Height: | Size: 92 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 58 KiB |
BIN
erpnext/docs/assets/img/human-resources/employee.png
Normal file
After Width: | Height: | Size: 103 KiB |
BIN
erpnext/docs/assets/img/human-resources/employment-type.png
Normal file
After Width: | Height: | Size: 87 KiB |
BIN
erpnext/docs/assets/img/human-resources/expense_claim.png
Normal file
After Width: | Height: | Size: 101 KiB |
BIN
erpnext/docs/assets/img/human-resources/holiday-list.png
Normal file
After Width: | Height: | Size: 93 KiB |
BIN
erpnext/docs/assets/img/human-resources/hr-settings.png
Normal file
After Width: | Height: | Size: 96 KiB |
BIN
erpnext/docs/assets/img/human-resources/job-applicant.png
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
erpnext/docs/assets/img/human-resources/job-opening.png
Normal file
After Width: | Height: | Size: 108 KiB |
After Width: | Height: | Size: 109 KiB |
BIN
erpnext/docs/assets/img/human-resources/leave-allocation.png
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
erpnext/docs/assets/img/human-resources/leave-application.png
Normal file
After Width: | Height: | Size: 96 KiB |
BIN
erpnext/docs/assets/img/human-resources/leave-type.png
Normal file
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 36 KiB |
BIN
erpnext/docs/assets/img/human-resources/offer-letter-print.png
Normal file
After Width: | Height: | Size: 141 KiB |
BIN
erpnext/docs/assets/img/human-resources/offer-letter.png
Normal file
After Width: | Height: | Size: 97 KiB |
BIN
erpnext/docs/assets/img/human-resources/process-payroll.png
Normal file
After Width: | Height: | Size: 97 KiB |