mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-16 16:08:39 +00:00
fix: resolve version 15 backport conflict
This commit is contained in:
@@ -184,20 +184,13 @@ class calculate_taxes_and_totals:
|
|||||||
if self.doc.get("is_consolidated"):
|
if self.doc.get("is_consolidated"):
|
||||||
return
|
return
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
if not self.discount_amount_applied:
|
if not self.discount_amount_applied:
|
||||||
do_not_round_fields = ["valuation_rate", "incoming_rate", "sales_incoming_rate"]
|
do_not_round_fields = [
|
||||||
=======
|
"valuation_rate",
|
||||||
do_not_round_fields = [
|
"incoming_rate",
|
||||||
"valuation_rate",
|
"sales_incoming_rate",
|
||||||
"incoming_rate",
|
"conversion_factor",
|
||||||
"sales_incoming_rate",
|
]
|
||||||
"conversion_factor",
|
|
||||||
]
|
|
||||||
for item in self.doc.items:
|
|
||||||
self.doc.round_floats_in(item, do_not_round_fields=do_not_round_fields)
|
|
||||||
self.calculate_item_rate(item)
|
|
||||||
>>>>>>> 269cc6ee3b (fix: preserve UOM conversion factor precision in transactions)
|
|
||||||
|
|
||||||
for item in self.doc.items:
|
for item in self.doc.items:
|
||||||
self.doc.round_floats_in(item, do_not_round_fields=do_not_round_fields)
|
self.doc.round_floats_in(item, do_not_round_fields=do_not_round_fields)
|
||||||
|
|||||||
Reference in New Issue
Block a user