Merge branch 'responsive' of github.com:webnotes/erpnext into responsive

This commit is contained in:
Anand Doshi 2013-06-11 16:23:45 +05:30
commit b53b9dcff4
318 changed files with 170 additions and 2483 deletions

View File

@ -0,0 +1 @@
Tool to update realization dates for banking transactions.

View File

@ -0,0 +1 @@
Detail of transaction for parent Bank Reconciliation.

View File

@ -0,0 +1 @@
Backend scripts for Budget Management.

View File

@ -0,0 +1 @@
Budget amounts for year and distribution for parent Cost Center.

View File

@ -0,0 +1 @@
Budget distribution master to manage manage budget seasonality.

View File

@ -0,0 +1 @@
Percent allocation for month for parent Budget Distribution.

View File

@ -0,0 +1 @@
C Form (India specific only) - Will be deprecated.

View File

@ -0,0 +1 @@
Invoice detail for parent C-Form.

View File

@ -0,0 +1 @@
Cost center master (tree).

View File

@ -0,0 +1 @@
Accounting year. Fiscal Year is tagged in all accounting transactions.

View File

@ -1,4 +0,0 @@
[
"GL Control",
"Accounts"
]

View File

@ -1,4 +0,0 @@
{
"Accounts": "\u062d\u0633\u0627\u0628\u0627\u062a",
"GL Control": "GL \u0627\u0644\u062a\u062d\u0643\u0645"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Konten",
"GL Control": "GL Steuerung"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Cuentas",
"GL Control": "GL control"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Comptes",
"GL Control": "GL contr\u00f4le"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "\u0932\u0947\u0916\u093e",
"GL Control": "\u091c\u0940\u090f\u0932 \u0928\u093f\u092f\u0902\u0924\u094d\u0930\u0923"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Ra\u010duni",
"GL Control": "GL kontrola"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Accounts",
"GL Control": "GL Controle"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Contas",
"GL Control": "GL Controle"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Contas",
"GL Control": "GL Controle"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "\u0e1a\u0e31\u0e0d\u0e0a\u0e35",
"GL Control": "\u0e04\u0e27\u0e1a\u0e04\u0e38\u0e21 GL"
}

View File

@ -0,0 +1 @@
All accounting entries are consolidated / aggregated in GL Entry (General Ledger Entry) DocType. All reports are generated from this DocType.

View File

@ -0,0 +1 @@
Journal entry for accounting entries including payments.

View File

@ -0,0 +1 @@
Individual entry for parent Journal Voucher.

View File

@ -0,0 +1 @@
Backend scripts for Financial Statements (to be deprecated)

View File

@ -0,0 +1,8 @@
Master for modes of payment.
e.g.
- Cash
- Credit Card
- Bank Transfer
- Check

View File

@ -1 +0,0 @@
from __future__ import unicode_literals

View File

@ -1,5 +0,0 @@
[
"Multi Ledger Report Detail",
"Account",
"Accounts"
]

View File

@ -1,5 +0,0 @@
{
"Account": "\u062d\u0633\u0627\u0628",
"Accounts": "\u062d\u0633\u0627\u0628\u0627\u062a",
"Multi Ledger Report Detail": "\u0645\u0648\u0636\u0648\u0639 \u062a\u0642\u0631\u064a\u0631 \u062a\u0641\u0635\u064a\u0644\u064a \u0644\u064a\u062f\u062c\u0631"
}

View File

@ -1,5 +0,0 @@
{
"Account": "Konto",
"Accounts": "Konten",
"Multi Ledger Report Detail": "Multi Ledger Detail Report"
}

View File

@ -1,5 +0,0 @@
{
"Account": "Cuenta",
"Accounts": "Cuentas",
"Multi Ledger Report Detail": "M\u00faltiples Ledger Informe detallado"
}

View File

@ -1,5 +0,0 @@
{
"Account": "Compte",
"Accounts": "Comptes",
"Multi Ledger Report Detail": "Multi D\u00e9tail Rapport Ledger"
}

View File

@ -1,5 +0,0 @@
{
"Account": "\u0916\u093e\u0924\u093e",
"Accounts": "\u0932\u0947\u0916\u093e",
"Multi Ledger Report Detail": "\u092e\u0932\u094d\u091f\u0940 \u0932\u0947\u091c\u0930 \u0930\u093f\u092a\u094b\u0930\u094d\u091f \u0935\u093f\u0938\u094d\u0924\u093e\u0930"
}

View File

@ -1,5 +0,0 @@
{
"Account": "Ra\u010dun",
"Accounts": "Ra\u010duni",
"Multi Ledger Report Detail": "Multi knjiga Izvje\u0161\u0107e Detalj"
}

View File

@ -1,5 +0,0 @@
{
"Account": "Rekening",
"Accounts": "Accounts",
"Multi Ledger Report Detail": "Multi Ledger Report Detail"
}

View File

@ -1,5 +0,0 @@
{
"Account": "Conta",
"Accounts": "Contas",
"Multi Ledger Report Detail": "Detalhe do Relat\u00f3rio de m\u00faltiplos Livros-Raz\u00e3o"
}

View File

@ -1,5 +0,0 @@
{
"Account": "Conta",
"Accounts": "Contas",
"Multi Ledger Report Detail": "Detalhes do Relat\u00f3rio de multi Ledger"
}

View File

@ -1,5 +0,0 @@
{
"Account": "\u0420\u0430\u0447\u0443\u043d",
"Accounts": "\u0420\u0430\u0447\u0443\u043d\u0438",
"Multi Ledger Report Detail": "\u041c\u0443\u043b\u0442\u0438 \u041b\u0435\u045f\u0435\u0440 \u0418\u0437\u0432\u0435\u0448\u0442\u0430\u0458 \u0414\u0435\u0442\u0430\u0459"
}

View File

@ -1,5 +0,0 @@
{
"Account": "\u0b95\u0ba3\u0b95\u0bcd\u0b95\u0bc1",
"Accounts": "\u0b95\u0ba3\u0b95\u0bcd\u0b95\u0bc1\u0b95\u0bb3\u0bcd",
"Multi Ledger Report Detail": "\u0baa\u0bb2 \u0bb2\u0bc6\u0b9f\u0bcd\u0b9c\u0bb0\u0bcd \u0b85\u0bb1\u0bbf\u0b95\u0bcd\u0b95\u0bc8 \u0bb5\u0bbf\u0bb0\u0bbf\u0bb5\u0bbe\u0b95"
}

View File

@ -1,5 +0,0 @@
{
"Account": "\u0e1a\u0e31\u0e0d\u0e0a\u0e35",
"Accounts": "\u0e1a\u0e31\u0e0d\u0e0a\u0e35",
"Multi Ledger Report Detail": "\u0e2b\u0e25\u0e32\u0e22\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14\u0e02\u0e2d\u0e07\u0e23\u0e32\u0e22\u0e07\u0e32\u0e19\u0e1a\u0e31\u0e0d\u0e0a\u0e35\u0e41\u0e22\u0e01\u0e1b\u0e23\u0e30\u0e40\u0e20\u0e17"
}

View File

@ -1,22 +0,0 @@
# ERPNext - web based ERP (http://erpnext.com)
# Copyright (C) 2012 Web Notes Technologies Pvt Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals
import webnotes
class DocType:
def __init__(self, d, dl):
self.doc, self.doclist = d, dl

View File

@ -1,37 +0,0 @@
[
{
"creation": "2013-02-22 01:27:39",
"docstatus": 0,
"modified": "2013-03-07 07:03:26",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"doctype": "DocType",
"istable": 1,
"module": "Accounts",
"name": "__common__"
},
{
"doctype": "DocField",
"fieldname": "account",
"fieldtype": "Link",
"label": "Account",
"name": "__common__",
"options": "Account",
"parent": "Multi Ledger Report Detail",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0,
"print_width": "300px",
"reqd": 1,
"width": "300px"
},
{
"doctype": "DocType",
"name": "Multi Ledger Report Detail"
},
{
"doctype": "DocField"
}
]

View File

@ -0,0 +1 @@
Tool for mapping (cancelling) unpaid invoices and payments.

View File

@ -0,0 +1 @@
Journal Voucher (payment) detail for matching to invoice.

View File

@ -0,0 +1 @@
Entry to close all Profit and Loss (P&L) accounts at the end of a financial period.

View File

@ -0,0 +1 @@
Standard settings for Point of Sales (POS) type of Sales Invoice.

View File

@ -0,0 +1 @@
Itemized invoice raised by Supplier.

View File

@ -0,0 +1 @@
Detail of advance paid against Purchase Invoice.

View File

@ -0,0 +1 @@
Item detail in parent Purchase Invoice.

View File

@ -0,0 +1 @@
Tax details for all Purchase Transactions.

View File

@ -0,0 +1 @@
Template for tax structure in purchase transactions.

View File

@ -0,0 +1 @@
Itemized invoice raised to Customers.

View File

@ -0,0 +1 @@
Details of advances paid by Customers against Sales Invoice.

View File

@ -0,0 +1 @@
Item details of parent Sales Invoice.

View File

@ -0,0 +1 @@
Tax details for all sales transactions.

View File

@ -0,0 +1 @@
Template for tax structure in sales transactions.

View File

@ -1 +0,0 @@
from __future__ import unicode_literals

View File

@ -1,4 +0,0 @@
[
"Trend Analyzer Control",
"Accounts"
]

View File

@ -1,4 +0,0 @@
{
"Accounts": "\u062d\u0633\u0627\u0628\u0627\u062a",
"Trend Analyzer Control": "\u0627\u0644\u0627\u062a\u062c\u0627\u0647 \u0645\u062d\u0644\u0644 \u0627\u0644\u062a\u062d\u0643\u0645"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Konten",
"Trend Analyzer Control": "Trend Analyzer Steuerung"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Cuentas",
"Trend Analyzer Control": "Trend Control Analizador"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Comptes",
"Trend Analyzer Control": "Contr\u00f4le Analyseur de tendance"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "\u0932\u0947\u0916\u093e",
"Trend Analyzer Control": "\u0930\u0941\u091d\u093e\u0928 \u0935\u093f\u0936\u094d\u0932\u0947\u0937\u0915 \u0928\u093f\u092f\u0902\u0924\u094d\u0930\u0923"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Ra\u010duni",
"Trend Analyzer Control": "Trend Analyzer kontrola"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Accounts",
"Trend Analyzer Control": "Trendanalyse Controle"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Contas",
"Trend Analyzer Control": "Controle do Analisador de tend\u00eancia"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "Contas",
"Trend Analyzer Control": "Controlo Analyzer tend\u00eancia"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "\u0420\u0430\u0447\u0443\u043d\u0438",
"Trend Analyzer Control": "\u0422\u0440\u0435\u043d\u0434 \u0410\u043d\u0430\u043b\u0438\u0437\u0435\u0440 \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u0430"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "\u0b95\u0ba3\u0b95\u0bcd\u0b95\u0bc1\u0b95\u0bb3\u0bcd",
"Trend Analyzer Control": "\u0baa\u0bc7\u0bbe\u0b95\u0bcd\u0b95\u0bc1 \u0baa\u0b95\u0bc1\u0baa\u0bcd\u0baa\u0bbe\u0baf\u0bcd\u0bb5\u0bbf \u0b95\u0b9f\u0bcd\u0b9f\u0bc1\u0baa\u0bcd\u0baa\u0bbe\u0b9f\u0bc1"
}

View File

@ -1,4 +0,0 @@
{
"Accounts": "\u0e1a\u0e31\u0e0d\u0e0a\u0e35",
"Trend Analyzer Control": "\u0e04\u0e27\u0e1a\u0e04\u0e38\u0e21\u0e27\u0e34\u0e40\u0e04\u0e23\u0e32\u0e30\u0e2b\u0e4c\u0e41\u0e19\u0e27\u0e42\u0e19\u0e49\u0e21"
}

View File

@ -1,115 +0,0 @@
# ERPNext - web based ERP (http://erpnext.com)
# Copyright (C) 2012 Web Notes Technologies Pvt Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals
import webnotes
from webnotes.utils import add_days, add_months, cint, cstr
from webnotes.model import db_exists
from webnotes.model.bean import copy_doclist
sql = webnotes.conn.sql
class DocType:
def __init__(self, d, dl):
self.doc, self.doclist = d, dl
# Define Globals
# ---------------
def define_globals(self, trans, fiscal_year):
self.month_name = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
if trans == 'Purchase Receipt' or trans == 'Delivery Note' or trans == 'Purchase Invoice' or trans == 'Sales Invoice':
self.trans_date = 'posting_date'
else:
self.trans_date = 'transaction_date'
ysd = sql("select year_start_date from `tabFiscal Year` where name = %s",fiscal_year)[0][0]
self.year_start_date = ysd.strftime('%Y-%m-%d')
self.start_month = cint(self.year_start_date.split('-')[1])
# Get Column Names and Query for Annual Trend
# ---------------------------------------------
def get_annual_trend_details(self, fiscal_year):
col_names = [fiscal_year+' (Qty)', fiscal_year+' (Amt)']
query_val = 'SUM(t2.qty) ,SUM(t2.amount),'
return col_names, query_val
# Get Column Names and Query for Half Yearly Trend
# --------------------------------------------------
def get_half_yearly_trend_details(self):
first_half_start = self.year_start_date
first_half_end = add_days(add_months(first_half_start,6),-1)
second_half_start = add_days(first_half_end,1)
second_half_end = add_days(add_months(second_half_start,6),-1)
col_names = ['First Half (Qty)', 'First Half (Amt)', 'Second Half (Qty)', 'Second Half (Amt)']
query_val = 'SUM(CASE WHEN t1.'+self.trans_date+' BETWEEN "'+first_half_start+'" AND "'+first_half_end+'" THEN t2.qty ELSE NULL END), SUM(CASE WHEN t1.'+self.trans_date+' BETWEEN "'+first_half_start+'" AND "'+first_half_end+'" THEN t2.amount ELSE NULL END), SUM(CASE WHEN t1.'+self.trans_date+' BETWEEN "'+second_half_start+'" AND "'+second_half_end+'" THEN t2.qty ELSE NULL END), SUM(CASE WHEN t1.'+self.trans_date+' BETWEEN "'+second_half_start+'" AND "'+second_half_end+'" THEN t2.amount ELSE NULL END),'
return col_names, query_val
# Get Column Names and Query for Quarterly Trend
# ------------------------------------------------
def get_quarterly_trend_details(self):
first_qsd, second_qsd, third_qsd, fourth_qsd = self.year_start_date, add_months(self.year_start_date,3), add_months(self.year_start_date,6), add_months(self.year_start_date,9)
first_qed, second_qed, third_qed, fourth_qed = add_days(add_months(first_qsd,3),-1), add_days(add_months(second_qsd,3),-1), add_days(add_months(third_qsd,3),-1), add_days(add_months(fourth_qsd,3),-1)
col_names = ['Q1 (Qty)','Q1 (Amt)','Q2 (Qty)','Q2 (Amt)','Q3 (Qty)','Q3 (Amt)','Q4 (Qty)','Q4 (Amt)']
query_val = ''
bet_dates = [[first_qsd,first_qed],[second_qsd,second_qed],[third_qsd,third_qed],[fourth_qsd,fourth_qed]]
for d in bet_dates:
query_val += 'SUM(CASE WHEN t1.'+self.trans_date+' BETWEEN "'+d[0]+'" AND "'+d[1]+'" THEN t2.qty ELSE NULL END), SUM(CASE WHEN t1.'+self.trans_date+' BETWEEN "'+d[0]+'" AND "'+d[1]+'" THEN t2.amount ELSE NULL END),'
return col_names, query_val
# Get Column Names and Query for Monthly Trend
# -----------------------------------------------
def get_monthly_trend_details(self):
col_names, query_val = [], ''
for i in range(self.start_month-1, len(self.month_name)):
col_names.append(self.month_name[i]+' (Qty)')
col_names.append(self.month_name[i]+' (Amt)')
query_val += 'SUM(CASE WHEN MONTH(t1.'+self.trans_date+') = '+cstr(i+1)+' THEN t2.qty ELSE NULL END), SUM(CASE WHEN MONTH(t1.'+self.trans_date+') = '+cstr(i+1)+' THEN t2.amount ELSE NULL END),'
for i in range(0, self.start_month-1):
col_names.append(self.month_name[i]+' (Qty)')
col_names.append(self.month_name[i]+' (Amt)')
query_val += 'SUM(CASE WHEN MONTH(t1.'+self.trans_date+') = '+cstr(i+1)+' THEN t2.qty ELSE NULL END), SUM(CASE WHEN MONTH(t1.'+self.trans_date+') = '+cstr(i+1)+' THEN t2.amount ELSE NULL END),'
return col_names, query_val
# Get Single Year Trend's Query and Columns
# -------------------------------------------
def get_single_year_query_value(self, fiscal_year, period, trans, trans_det):
self.define_globals(trans, fiscal_year)
if period == 'Annual':
return self.get_annual_trend_details(fiscal_year)
elif period == 'Half Yearly':
return self.get_half_yearly_trend_details()
elif period == 'Quarterly':
return self.get_quarterly_trend_details()
elif period == 'Monthly':
return self.get_monthly_trend_details()

View File

@ -1,23 +0,0 @@
[
{
"creation": "2012-03-27 14:35:49",
"docstatus": 0,
"modified": "2012-03-27 14:35:49",
"modified_by": "Administrator",
"owner": "saumil@webnotestech.com"
},
{
"doctype": "DocType",
"in_create": 1,
"issingle": 1,
"module": "Accounts",
"name": "__common__",
"read_only": 1,
"section_style": "Simple",
"version": 11
},
{
"doctype": "DocType",
"name": "Trend Analyzer Control"
}
]

View File

@ -0,0 +1 @@
Trends (multi-year) for account balances including.

View File

@ -0,0 +1 @@
Generate provisional Balance Sheet and Profit and Loss statements.

View File

@ -0,0 +1 @@
General Ledger report (for all transactions and accounts).

View File

@ -0,0 +1 @@
Period wise opening and closing balance of all transactions.

View File

@ -0,0 +1 @@
Import accounting entries by uploading a csv file.

8
buying/README.md Normal file
View File

@ -0,0 +1,8 @@
Manage buying (purchasing).
Transactions include:
- Material Request
- Supplier Quotation
- Purchase Order
- Quality Inspection

View File

@ -0,0 +1 @@
Common scripts for purchase transactions.

View File

@ -0,0 +1 @@
Confirmed order to Supplier to deliver certain Items.

View File

@ -0,0 +1 @@
Item details (qty, rate etc.) for parent Purchase Order.

View File

@ -0,0 +1 @@
Raw material (if any) supplied along with Purchase Order.

View File

@ -0,0 +1 @@
Details of Items supplied when receiving purchases via Purchase Receipt.

View File

@ -0,0 +1 @@
Incoming quality inspection for received Items.

View File

@ -0,0 +1 @@
Parameter reading for quality inspection of particular Item.

View File

@ -0,0 +1 @@
Supplier (vendor) master.

View File

@ -0,0 +1 @@
Quotation sent by Supplier with price, qty and terms.

View File

@ -0,0 +1 @@
Item details (rate, qty) in parent Supplier Quotation.

View File

@ -0,0 +1 @@
Trends of purchases across Items, Item Groups, Suppliers.

View File

@ -1,4 +0,0 @@
[
"Home",
"Company Control"
]

View File

@ -1,4 +0,0 @@
{
"Company Control": "\u0634\u0631\u0643\u0629 \u0627\u0644\u062a\u062d\u0643\u0645",
"Home": "\u0645\u0646\u0632\u0644"
}

View File

@ -1,4 +0,0 @@
{
"Company Control": "Firma Control",
"Home": "Zuhause"
}

View File

@ -1,4 +0,0 @@
{
"Company Control": "Control Company",
"Home": "Casa"
}

View File

@ -1,4 +0,0 @@
{
"Company Control": "Control Entreprise",
"Home": "Maison"
}

View File

@ -1,4 +0,0 @@
{
"Company Control": "\u0915\u0902\u092a\u0928\u0940 \u0915\u0947 \u0928\u093f\u092f\u0902\u0924\u094d\u0930\u0923",
"Home": "\u0918\u0930"
}

View File

@ -1,4 +0,0 @@
{
"Company Control": "Tvrtka Kontrola",
"Home": "Dom"
}

View File

@ -1,4 +0,0 @@
{
"Company Control": "Bedrijf Controle",
"Home": "Thuis"
}

View File

@ -1,4 +0,0 @@
{
"Company Control": "Controle da Empresa",
"Home": "In\u00edcio"
}

View File

@ -1,4 +0,0 @@
{
"Company Control": "Controle da Companhia",
"Home": "Casa"
}

View File

@ -1,4 +0,0 @@
{
"Company Control": "\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u0458\u0430 \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u0430",
"Home": "\u041a\u0443\u045b\u0438"
}

Some files were not shown because too many files have changed in this diff Show More