item-wise price list rate, editable report

This commit is contained in:
Nabin Hait
2013-09-25 10:32:51 +05:30
parent 04a3feecf6
commit 625da79e9f
16 changed files with 63 additions and 80 deletions

View File

@@ -52,8 +52,7 @@ def get_stock_ledger_entries(filters):
query = """select item_code, voucher_type, voucher_no,
voucher_detail_no, posting_date, posting_time, stock_value,
warehouse, actual_qty as qty
from `tabStock Ledger Entry`
where ifnull(`is_cancelled`, 'No') = No'"""
from `tabStock Ledger Entry`"""
if filters.get("company"):
query += """ and company=%(company)s"""