added tittles to je
This commit is contained in:
parent
a7deb77e09
commit
f76b09116b
|
|
@ -34,12 +34,11 @@ class CustomPayrollEntry(PayrollEntry):
|
|||
je_payment_amount, user_remark, employee_wise_accounting_enabled
|
||||
)
|
||||
|
||||
bank_entry.title = "Əmək həqqi və tutulmaların hesablanması"
|
||||
bank_entry.pay_to_recd_from = "Əmək həqqi və tutulmaların hesablanması"
|
||||
custom_title = "Əmək həqqi və tutulmaların hesablanması"
|
||||
|
||||
deductions = getattr(self, "_bank_entry_deductions", {})
|
||||
if not deductions:
|
||||
bank_entry.save(ignore_permissions=True)
|
||||
bank_entry.db_set({"title": custom_title, "pay_to_recd_from": custom_title})
|
||||
return bank_entry
|
||||
|
||||
precision = frappe.get_precision("Journal Entry Account", "debit_in_account_currency")
|
||||
|
|
@ -79,4 +78,5 @@ class CustomPayrollEntry(PayrollEntry):
|
|||
bank_entry.append("accounts", credit_row)
|
||||
|
||||
bank_entry.save(ignore_permissions=True)
|
||||
bank_entry.db_set({"title": custom_title, "pay_to_recd_from": custom_title})
|
||||
return bank_entry
|
||||
|
|
|
|||
Loading…
Reference in New Issue