Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

สร้างเอกสาร Purchase Receipt พร้อมระบุ Taxes and Charges ไม่สำเร็จ #31

Open
deaw0003 opened this issue Oct 28, 2024 · 0 comments

Comments

@deaw0003
Copy link

Information

เมื่อสร้างเอกสารบน Purchase Receipt DocType พร้อมระบุ Taxes and Charges แล้วพบ error ดังนี้

  File "apps/thai_tax/thai_tax/custom/custom_api.py", line 47, in create_tax_invoice_on_gl_tax
    base_amount = abs(base_amount) * sign
                      ^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'base_amount' where it is not associated with a value

Module

Thai Tax

Version

  • Frappe Framework: v15.44.2
  • Frappe ERPNext: v15.38.4
  • Thai Tax: ล่าสุด ณ commit f80db35 (main)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant