Show cannot add item to shipped order in the Add products section

This commit is contained in:
Ashish Gaur
2025-04-07 23:35:30 +05:30
parent 42e2d3cdd5
commit 475cfdc8f0
5 changed files with 5 additions and 6 deletions

View File

@@ -643,10 +643,6 @@ module Spree
voucher.rate(self)
end
def can_modify?
!shipped? && !canceled?
end
private
def reapply_tax_on_changed_address