Price List and Item Price : Validfor Buying and Selling as separate check box

This commit is contained in:
Akhilesh Darjee
2014-01-07 18:37:38 +05:30
parent 7e79f300a1
commit 806017c92a
22 changed files with 147 additions and 152 deletions

View File

@@ -98,7 +98,8 @@ def create_price_lists(args):
{
"doctype": "Price List",
"price_list_name": "Standard " + pl_type,
"buying_or_selling": pl_type,
"buying": 1 if pl_type == "Buying" else 0,
"selling": 1 if pl_type == "Selling" else 0,
"currency": args["currency"]
},
{