Skip to content

Commit

Permalink
chore: Attribute error
Browse files Browse the repository at this point in the history
  • Loading branch information
deepeshgarg007 committed Oct 21, 2023
1 parent 1874f7c commit e237215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/controllers/stock_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def make_gl_entries(self, gl_entries=None, from_repost=False):
)
)

is_asset_pr = any(d.is_fixed_asset for d in self.get("items"))
is_asset_pr = any(d.get("is_fixed_asset") for d in self.get("items"))

if (
cint(erpnext.is_perpetual_inventory_enabled(self.company))
Expand Down

0 comments on commit e237215

Please sign in to comment.