mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 23:54:59 +00:00
fix: base_net_rate Required to Check Valid Range (#46332)
fix: base_net_rate required to check valid range
This commit is contained in:
@@ -3312,6 +3312,7 @@ def set_child_tax_template_and_map(item, child_item, parent_doc):
|
||||
"posting_date": parent_doc.transaction_date,
|
||||
"tax_category": parent_doc.get("tax_category"),
|
||||
"company": parent_doc.get("company"),
|
||||
"base_net_rate": item.get("base_net_rate"),
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -843,6 +843,7 @@ def get_tax_template(doctype, txt, searchfield, start, page_len, filters):
|
||||
"posting_date": valid_from,
|
||||
"tax_category": filters.get("tax_category"),
|
||||
"company": company,
|
||||
"base_net_rate": filters.get("base_net_rate"),
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -2503,6 +2503,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
|
||||
'item_code': item.item_code,
|
||||
'valid_from': ["<=", doc.transaction_date || doc.bill_date || doc.posting_date],
|
||||
'item_group': item.item_group,
|
||||
"base_net_rate": item.base_net_rate,
|
||||
}
|
||||
|
||||
if (doc.tax_category)
|
||||
|
||||
Reference in New Issue
Block a user