mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 03:01:22 +00:00
fix: fetch rate from item price list when document is saved
(cherry picked from commit 1e4b9fbdf0)
This commit is contained in:
@@ -817,7 +817,7 @@ class AccountsController(TransactionBase):
|
||||
item.get(fieldname) is None
|
||||
or fieldname in force_item_fields
|
||||
or (
|
||||
fieldname in ["serial_no", "batch_no"]
|
||||
fieldname in ["serial_no", "batch_no", "rate", "price_list_rate"]
|
||||
and item.get("use_serial_batch_fields")
|
||||
)
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user