[fix] [minor] rate calculation on server side, only if blank/0 (honour client side calculation sequence), shopping cart settings

This commit is contained in:
Anand Doshi
2013-08-13 13:01:12 +05:30
parent c4dde9bd99
commit 47e14a9de4
7 changed files with 12 additions and 14 deletions

View File

@@ -916,7 +916,6 @@ test_records = [
"item_name": "_Test Item Home Desktop 100",
"qty": 10,
"ref_rate": 62.5,
"export_rate": 62.5,
"stock_uom": "_Test UOM",
"item_tax_rate": json.dumps({"_Test Account Excise Duty - _TC": 10}),
"income_account": "Sales - _TC",
@@ -930,7 +929,6 @@ test_records = [
"item_name": "_Test Item Home Desktop 200",
"qty": 5,
"ref_rate": 190.66,
"export_rate": 190.66,
"stock_uom": "_Test UOM",
"income_account": "Sales - _TC",
"cost_center": "_Test Cost Center - _TC",