mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-11 22:38:25 +00:00
fix: Use get instead of dot
This commit is contained in:
@@ -309,7 +309,7 @@ class calculate_taxes_and_totals(object):
|
||||
def calculate_shipping_charges(self):
|
||||
|
||||
# Do not apply shipping rule for POS
|
||||
if self.doc.is_pos:
|
||||
if self.doc.get("is_pos"):
|
||||
return
|
||||
|
||||
if hasattr(self.doc, "shipping_rule") and self.doc.shipping_rule:
|
||||
|
||||
Reference in New Issue
Block a user