mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-30 20:18:27 +00:00
Merge pull request #27803 from frappe/mergify/bp/version-13-hotfix/pr-27660
fix: tax rate being overridden in case of 0.00 (backport #27660)
This commit is contained in:
@@ -176,7 +176,7 @@ def generate_taxes():
|
||||
account = create_account(company=company_name, account_name="Output Tax CGST", account_type="Tax", parent_account=parent_account)
|
||||
return {'taxes':[{
|
||||
"account_head": account,
|
||||
"rate": 0,
|
||||
"rate": 9,
|
||||
"description": "CGST",
|
||||
"tax_amount": 10,
|
||||
"total": 210
|
||||
|
||||
@@ -56,8 +56,6 @@
|
||||
},
|
||||
{
|
||||
"columns": 2,
|
||||
"fetch_from": "account_head.tax_rate",
|
||||
"fetch_if_empty": 1,
|
||||
"fieldname": "rate",
|
||||
"fieldtype": "Float",
|
||||
"in_list_view": 1,
|
||||
@@ -111,4 +109,4 @@
|
||||
"sort_field": "modified",
|
||||
"sort_order": "ASC",
|
||||
"track_changes": 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user