소스 검색

fix: consider payment_tab instead of payments when adding custom fields to web form

pull/2/head
phot0n 2 년 전
부모
커밋
ce7b3e6d75
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      payments/utils/utils.py

+ 1
- 1
payments/utils/utils.py 파일 보기

@@ -54,7 +54,7 @@ def create_payment_gateway(gateway, settings=None, controller=None):


def make_custom_fields():
if not frappe.get_meta("Web Form").has_field("payments"):
if not frappe.get_meta("Web Form").has_field("payments_tab"):
click.secho("* Installing Payment Custom Fields in Web Form")

create_custom_fields({


불러오는 중...
취소
저장