fix: Test
This commit is contained in:
parent
87eb2827ef
commit
f15ff5fbfa
@ -92,8 +92,7 @@
|
||||
{
|
||||
"doctype": "Item Tax",
|
||||
"parentfield": "taxes",
|
||||
"item_tax_template": "_Test Account Excise Duty @ 10",
|
||||
"tax_category": ""
|
||||
"item_tax_template": "_Test Account Excise Duty @ 10"
|
||||
}
|
||||
],
|
||||
"stock_uom": "_Test UOM 1"
|
||||
@ -371,8 +370,7 @@
|
||||
{
|
||||
"doctype": "Item Tax",
|
||||
"parentfield": "taxes",
|
||||
"item_tax_template": "_Test Account Excise Duty @ 10",
|
||||
"tax_category": ""
|
||||
"item_tax_template": "_Test Account Excise Duty @ 10"
|
||||
},
|
||||
{
|
||||
"doctype": "Item Tax",
|
||||
@ -451,14 +449,12 @@
|
||||
{
|
||||
"doctype": "Item Tax",
|
||||
"parentfield": "taxes",
|
||||
"item_tax_template": "_Test Account Excise Duty @ 20",
|
||||
"tax_category": ""
|
||||
"item_tax_template": "_Test Account Excise Duty @ 20"
|
||||
},
|
||||
{
|
||||
"doctype": "Item Tax",
|
||||
"parentfield": "taxes",
|
||||
"item_tax_template": "_Test Item Tax Template 1",
|
||||
"tax_category": "_Test Tax Category 1"
|
||||
"item_tax_template": "_Test Item Tax Template 1"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -636,7 +636,7 @@ def get_item_price(args, item_code, ignore_party=False):
|
||||
if args.get('transaction_date'):
|
||||
conditions += """ and %(transaction_date)s between
|
||||
ifnull(valid_from, '2000-01-01') and ifnull(valid_upto, '2500-12-31')"""
|
||||
|
||||
|
||||
if args.get('posting_date'):
|
||||
conditions += """ and %(posting_date)s between
|
||||
ifnull(valid_from, '2000-01-01') and ifnull(valid_upto, '2500-12-31')"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user