Skip to content

Commit

Permalink
Merge branch 'version-15' into version-15-hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchamahabal authored Oct 30, 2024
2 parents a9b85d3 + 61c51b8 commit 853c9df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hrms/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import frappe

__version__ = "15.6.0"
__version__ = "15.33.2"


def refetch_resource(cache_key: str | list, user=None):
Expand Down
4 changes: 2 additions & 2 deletions hrms/overrides/employee_payment_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
class EmployeePaymentEntry(PaymentEntry):
def get_valid_reference_doctypes(self):
if self.party_type == "Customer":
return ("Sales Order", "Sales Invoice", "Journal Entry", "Dunning")
return ("Sales Order", "Sales Invoice", "Journal Entry", "Dunning", "Payment Entry")
elif self.party_type == "Supplier":
return ("Purchase Order", "Purchase Invoice", "Journal Entry")
return ("Purchase Order", "Purchase Invoice", "Journal Entry", "Payment Entry")
elif self.party_type == "Shareholder":
return ("Journal Entry",)
elif self.party_type == "Employee":
Expand Down

0 comments on commit 853c9df

Please sign in to comment.