From 66835c36a93e373cd378d5c166785117a0036c9d Mon Sep 17 00:00:00 2001 From: Heather Kusmierz Date: Wed, 21 Jan 2026 12:04:38 -0500 Subject: [PATCH 1/2] chore: switch authorizenet dependency to fork, linting --- .pre-commit-config.yaml | 2 +- .../electronic_payments/custom/customer.json | 15 ---- .../electronic_payments/custom/employee.json | 7 -- .../custom/journal_entry_account.json | 13 --- .../custom/mode_of_payment.json | 6 -- .../custom/packed_item.json | 6 -- .../custom/payment_entry_reference.json | 13 --- .../custom/purchase_invoice.json | 67 --------------- .../custom/purchase_invoice_item.json | 16 ---- .../custom/purchase_order.json | 8 -- .../custom/sales_invoice.json | 83 ------------------- .../custom/sales_invoice_item.json | 21 ----- .../custom/sales_order.json | 73 ---------------- .../electronic_payments/custom/supplier.json | 24 ------ pyproject.toml | 2 +- 15 files changed, 2 insertions(+), 354 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 60ee4a8..70529ce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,7 +56,7 @@ repos: args: ['-L ND'] - repo: https://github.com/agritheory/test_utils - rev: v1.3.1 + rev: v1.11.2 hooks: - id: update_pre_commit_config - id: validate_copyright diff --git a/electronic_payments/electronic_payments/custom/customer.json b/electronic_payments/electronic_payments/custom/customer.json index 50e1b86..42801b4 100644 --- a/electronic_payments/electronic_payments/custom/customer.json +++ b/electronic_payments/electronic_payments/custom/customer.json @@ -6,9 +6,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "creation": "2023-11-07 12:51:03.404638", "default": null, - "docstatus": 0, "dt": "Customer", "fetch_if_empty": 0, "fieldname": "electronic_payments_tab", @@ -29,15 +27,11 @@ "is_virtual": 0, "label": "Electronic Payments", "length": 0, - "modified": "2023-11-07 12:52:38.301377", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Customer-custom_electronic_payments_tab", "no_copy": 0, "non_negative": 0, - "owner": "Administrator", "permlevel": 0, - "precision": "", "print_hide": 0, "print_hide_if_no_value": 0, "read_only": 0, @@ -54,9 +48,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "creation": "2023-11-07 12:51:03.560396", "default": null, - "docstatus": 0, "dt": "Customer", "fetch_if_empty": 0, "fieldname": "portal_payment_method", @@ -75,18 +67,13 @@ "insert_after": "electronic_payments_tab", "is_system_generated": 0, "is_virtual": 0, - "label": "", "length": 0, - "modified": "2023-11-07 12:53:00.690310", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Customer-custom_portal_payment_method", "no_copy": 0, "non_negative": 0, "options": "Portal Payment Method", - "owner": "Administrator", "permlevel": 0, - "precision": "", "print_hide": 0, "print_hide_if_no_value": 0, "read_only": 0, @@ -98,9 +85,7 @@ "unique": 0 } ], - "custom_perms": [], "doctype": "Customer", - "links": [], "property_setters": [], "sync_on_migrate": 1 } diff --git a/electronic_payments/electronic_payments/custom/employee.json b/electronic_payments/electronic_payments/custom/employee.json index 942025b..83f8a9a 100644 --- a/electronic_payments/electronic_payments/custom/employee.json +++ b/electronic_payments/electronic_payments/custom/employee.json @@ -6,9 +6,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "creation": "2023-03-08 14:51:49.658175", "default": null, - "docstatus": 0, "dt": "Employee", "fetch_if_empty": 0, "fieldname": "electronic_payment_profile", @@ -27,15 +25,11 @@ "insert_after": "salary_mode", "label": "Electronic Payment Profile", "length": 0, - "modified": "2023-03-08 14:51:49.658175", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Employee-electronic_payment_profile", "no_copy": 1, "non_negative": 0, - "owner": "Administrator", "permlevel": 0, - "precision": "", "print_hide": 1, "print_hide_if_no_value": 0, "read_only": 0, @@ -46,7 +40,6 @@ "unique": 0 } ], - "custom_perms": [], "doctype": "Employee", "property_setters": [], "sync_on_migrate": 1 diff --git a/electronic_payments/electronic_payments/custom/journal_entry_account.json b/electronic_payments/electronic_payments/custom/journal_entry_account.json index 1be966b..15f88e2 100644 --- a/electronic_payments/electronic_payments/custom/journal_entry_account.json +++ b/electronic_payments/electronic_payments/custom/journal_entry_account.json @@ -6,9 +6,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "creation": "2024-02-12 11:04:34.061652", "default": null, - "docstatus": 0, "dt": "Journal Entry Account", "fetch_if_empty": 0, "fieldname": "electronic_payments_payment_term", @@ -29,15 +27,11 @@ "is_virtual": 0, "label": "Electronic Payments Payment Term", "length": 0, - "modified": "2024-02-12 11:04:34.061652", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Journal Entry Account-electronic_payments_payment_term", "no_copy": 0, "non_negative": 0, - "owner": "Administrator", "permlevel": 0, - "precision": "", "print_hide": 0, "print_hide_if_no_value": 0, "read_only": 1, @@ -49,22 +43,15 @@ "unique": 0 } ], - "custom_perms": [], "doctype": "Journal Entry Account", - "links": [], "property_setters": [ { - "creation": "2024-02-12 11:04:33.859314", "doc_type": "Journal Entry Account", - "docstatus": 0, "doctype_or_field": "DocType", "idx": 0, "is_system_generated": 0, - "modified": "2024-02-12 11:04:33.859314", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Journal Entry Account-main-field_order", - "owner": "Administrator", "property": "field_order", "property_type": "Data", "value": "[\"account\", \"account_type\", \"balance\", \"col_break1\", \"bank_account\", \"party_type\", \"party\", \"party_balance\", \"accounting_dimensions_section\", \"cost_center\", \"dimension_col_break\", \"project\", \"currency_section\", \"account_currency\", \"column_break_10\", \"exchange_rate\", \"sec_break1\", \"debit_in_account_currency\", \"debit\", \"col_break2\", \"credit_in_account_currency\", \"credit\", \"reference\", \"reference_type\", \"reference_name\", \"reference_due_date\", \"reference_detail_no\", null, \"col_break3\", \"is_advance\", \"user_remark\", \"against_account\"]" diff --git a/electronic_payments/electronic_payments/custom/mode_of_payment.json b/electronic_payments/electronic_payments/custom/mode_of_payment.json index 10d619a..6358c63 100644 --- a/electronic_payments/electronic_payments/custom/mode_of_payment.json +++ b/electronic_payments/electronic_payments/custom/mode_of_payment.json @@ -1,20 +1,14 @@ { "custom_fields": [], - "custom_perms": [], "doctype": "Mode of Payment", "property_setters": [ { - "creation": "2022-08-05 13:10:55.278054", "doc_type": "Mode of Payment", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "type", "idx": 0, - "modified": "2022-08-05 13:10:55.278054", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Mode of Payment-type-options", - "owner": "Administrator", "property": "options", "property_type": "Text", "value": "Cash\nBank\nGeneral\nPhone\nElectronic" diff --git a/electronic_payments/electronic_payments/custom/packed_item.json b/electronic_payments/electronic_payments/custom/packed_item.json index fabd92f..f3c5aa3 100644 --- a/electronic_payments/electronic_payments/custom/packed_item.json +++ b/electronic_payments/electronic_payments/custom/packed_item.json @@ -1,20 +1,14 @@ { "custom_fields": [], - "custom_perms": [], "doctype": "Packed Item", "property_setters": [ { - "creation": "2023-05-22 09:53:28.865581", "doc_type": "Packed Item", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "rate", "idx": 0, - "modified": "2023-05-22 09:53:28.865581", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Packed Item-rate-read_only", - "owner": "Administrator", "property": "read_only", "property_type": "Check", "value": "1" diff --git a/electronic_payments/electronic_payments/custom/payment_entry_reference.json b/electronic_payments/electronic_payments/custom/payment_entry_reference.json index 52a127e..d3624a8 100644 --- a/electronic_payments/electronic_payments/custom/payment_entry_reference.json +++ b/electronic_payments/electronic_payments/custom/payment_entry_reference.json @@ -6,9 +6,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "creation": "2024-02-12 11:28:56.808781", "default": null, - "docstatus": 0, "dt": "Payment Entry Reference", "fetch_if_empty": 0, "fieldname": "electronic_payments_payment_term", @@ -29,15 +27,11 @@ "is_virtual": 0, "label": "Electronic Payments Payment Term", "length": 0, - "modified": "2024-02-12 11:28:56.808781", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Payment Entry Reference-electronic_payments_payment_term", "no_copy": 0, "non_negative": 0, - "owner": "Administrator", "permlevel": 0, - "precision": "", "print_hide": 0, "print_hide_if_no_value": 0, "read_only": 1, @@ -49,22 +43,15 @@ "unique": 0 } ], - "custom_perms": [], "doctype": "Payment Entry Reference", - "links": [], "property_setters": [ { - "creation": "2024-02-12 11:28:56.681599", "doc_type": "Payment Entry Reference", - "docstatus": 0, "doctype_or_field": "DocType", "idx": 0, "is_system_generated": 0, - "modified": "2024-02-12 11:28:56.681599", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Payment Entry Reference-main-field_order", - "owner": "Administrator", "property": "field_order", "property_type": "Data", "value": "[\"reference_doctype\", \"reference_name\", \"due_date\", \"bill_no\", \"payment_term\", null, \"column_break_4\", \"total_amount\", \"outstanding_amount\", \"allocated_amount\", \"exchange_rate\", \"exchange_gain_loss\"]" diff --git a/electronic_payments/electronic_payments/custom/purchase_invoice.json b/electronic_payments/electronic_payments/custom/purchase_invoice.json index 272a824..785bd21 100644 --- a/electronic_payments/electronic_payments/custom/purchase_invoice.json +++ b/electronic_payments/electronic_payments/custom/purchase_invoice.json @@ -6,9 +6,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "creation": "2023-05-23 16:04:50.482800", "default": null, - "docstatus": 0, "dt": "Purchase Invoice", "fetch_if_empty": 0, "fieldname": "electronic_payment_reference", @@ -27,15 +25,11 @@ "insert_after": "payment_schedule", "label": "Electronic Payment Reference", "length": 0, - "modified": "2023-05-23 16:04:50.482800", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice-electronic_payment_reference", "no_copy": 0, "non_negative": 0, - "owner": "Administrator", "permlevel": 0, - "precision": "", "print_hide": 0, "print_hide_if_no_value": 0, "read_only": 0, @@ -46,197 +40,136 @@ "unique": 0 } ], - "custom_perms": [], "doctype": "Purchase Invoice", "property_setters": [ { - "creation": "2023-05-22 19:20:09.843712", "doc_type": "Purchase Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "additional_discount_account", "idx": 0, - "modified": "2023-05-22 19:20:09.843712", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice-additional_discount_account-mandatory_depends_on", - "owner": "Administrator", "property": "mandatory_depends_on", "property_type": "Code", "value": "" }, { - "creation": "2023-05-22 19:20:09.836387", "doc_type": "Purchase Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "additional_discount_account", "idx": 0, - "modified": "2023-05-22 19:20:09.836387", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice-additional_discount_account-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "1" }, { - "creation": "2023-05-22 19:20:09.783229", "doc_type": "Purchase Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "payment_schedule", "idx": 0, - "modified": "2023-05-22 19:20:09.783229", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice-payment_schedule-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "1" }, { - "creation": "2023-05-22 19:20:09.776222", "doc_type": "Purchase Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "due_date", "idx": 0, - "modified": "2023-05-22 19:20:09.776222", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice-due_date-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:25.660233", "doc_type": "Purchase Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "scan_barcode", "idx": 0, - "modified": "2023-05-22 09:53:25.660233", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice-scan_barcode-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:23.141943", "doc_type": "Purchase Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "in_words", "idx": 0, - "modified": "2023-05-22 09:53:23.141943", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice-in_words-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:23.133092", "doc_type": "Purchase Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "in_words", "idx": 0, - "modified": "2023-05-22 09:53:23.133092", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice-in_words-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:22.984928", "doc_type": "Purchase Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "disable_rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.984928", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice-disable_rounded_total-default", - "owner": "Administrator", "property": "default", "property_type": "Text", "value": "0" }, { - "creation": "2023-05-22 09:53:22.976593", "doc_type": "Purchase Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.976593", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice-rounded_total-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:22.968069", "doc_type": "Purchase Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.968069", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice-rounded_total-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:22.959796", "doc_type": "Purchase Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "base_rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.959796", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice-base_rounded_total-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "1" }, { - "creation": "2023-05-22 09:53:22.951579", "doc_type": "Purchase Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "base_rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.951579", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice-base_rounded_total-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" diff --git a/electronic_payments/electronic_payments/custom/purchase_invoice_item.json b/electronic_payments/electronic_payments/custom/purchase_invoice_item.json index b2d5ebf..1cf0ae0 100644 --- a/electronic_payments/electronic_payments/custom/purchase_invoice_item.json +++ b/electronic_payments/electronic_payments/custom/purchase_invoice_item.json @@ -1,52 +1,36 @@ { "custom_fields": [], - "custom_perms": [], "doctype": "Purchase Invoice Item", "property_setters": [ { - "creation": "2023-05-22 19:20:09.815045", "doc_type": "Purchase Invoice Item", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "discount_account", "idx": 0, - "modified": "2023-05-22 19:20:09.815045", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice Item-discount_account-mandatory_depends_on", - "owner": "Administrator", "property": "mandatory_depends_on", "property_type": "Code", "value": "" }, { - "creation": "2023-05-22 19:20:09.807010", "doc_type": "Purchase Invoice Item", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "discount_account", "idx": 0, - "modified": "2023-05-22 19:20:09.807010", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice Item-discount_account-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "1" }, { - "creation": "2023-05-22 09:53:25.707861", "doc_type": "Purchase Invoice Item", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "from_warehouse", "idx": 0, - "modified": "2023-05-22 09:53:25.707861", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Invoice Item-from_warehouse-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "1" diff --git a/electronic_payments/electronic_payments/custom/purchase_order.json b/electronic_payments/electronic_payments/custom/purchase_order.json index 0615285..bddac35 100644 --- a/electronic_payments/electronic_payments/custom/purchase_order.json +++ b/electronic_payments/electronic_payments/custom/purchase_order.json @@ -6,9 +6,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "creation": "2024-03-20 08:59:48.196536", "default": null, - "docstatus": 0, "dt": "Purchase Order", "fetch_if_empty": 0, "fieldname": "electronic_payment_reference", @@ -29,15 +27,11 @@ "is_virtual": 0, "label": "Electronic Payment Reference", "length": 0, - "modified": "2024-03-20 09:01:48.196536", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Purchase Order-electronic_payment_reference", "no_copy": 0, "non_negative": 0, - "owner": "Administrator", "permlevel": 0, - "precision": "", "print_hide": 0, "print_hide_if_no_value": 0, "read_only": 0, @@ -49,9 +43,7 @@ "unique": 0 } ], - "custom_perms": [], "doctype": "Purchase Order", - "links": [], "property_setters": [], "sync_on_migrate": 1 } diff --git a/electronic_payments/electronic_payments/custom/sales_invoice.json b/electronic_payments/electronic_payments/custom/sales_invoice.json index b20003d..cbb5204 100644 --- a/electronic_payments/electronic_payments/custom/sales_invoice.json +++ b/electronic_payments/electronic_payments/custom/sales_invoice.json @@ -6,9 +6,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "creation": "2023-05-22 09:53:20.551802", "default": null, - "docstatus": 0, "dt": "Sales Invoice", "fetch_if_empty": 0, "fieldname": "exempt_from_sales_tax", @@ -27,15 +25,11 @@ "insert_after": "taxes_section", "label": "Is customer exempted from sales tax?", "length": 0, - "modified": "2023-05-22 09:53:20.551802", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-exempt_from_sales_tax", "no_copy": 0, "non_negative": 0, - "owner": "Administrator", "permlevel": 0, - "precision": "", "print_hide": 0, "print_hide_if_no_value": 0, "read_only": 0, @@ -51,9 +45,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "creation": "2023-05-23 16:02:45.121331", "default": null, - "docstatus": 0, "dt": "Sales Invoice", "fetch_if_empty": 0, "fieldname": "electronic_payment_reference", @@ -72,15 +64,11 @@ "insert_after": "payment_schedule", "label": "Electronic Payment Reference", "length": 0, - "modified": "2023-05-23 16:02:45.121331", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-electronic_payment_reference", "no_copy": 0, "non_negative": 0, - "owner": "Administrator", "permlevel": 0, - "precision": "", "print_hide": 0, "print_hide_if_no_value": 0, "read_only": 0, @@ -91,229 +79,158 @@ "unique": 0 } ], - "custom_perms": [], "doctype": "Sales Invoice", "property_setters": [ { - "creation": "2023-05-22 19:20:09.829262", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "additional_discount_account", "idx": 0, - "modified": "2023-05-22 19:20:09.829262", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-additional_discount_account-mandatory_depends_on", - "owner": "Administrator", "property": "mandatory_depends_on", "property_type": "Code", "value": "" }, { - "creation": "2023-05-22 19:20:09.822663", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "additional_discount_account", "idx": 0, - "modified": "2023-05-22 19:20:09.822663", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-additional_discount_account-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "1" }, { - "creation": "2023-05-22 19:20:09.754078", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "payment_schedule", "idx": 0, - "modified": "2023-05-22 19:20:09.754078", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-payment_schedule-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "1" }, { - "creation": "2023-05-22 19:20:09.746549", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "due_date", "idx": 0, - "modified": "2023-05-22 19:20:09.746549", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-due_date-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:28.840013", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "tax_id", "idx": 0, - "modified": "2023-05-22 09:53:28.840013", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-tax_id-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:28.830675", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "tax_id", "idx": 0, - "modified": "2023-05-22 09:53:28.830675", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-tax_id-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:25.614264", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "scan_barcode", "idx": 0, - "modified": "2023-05-22 09:53:25.614264", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-scan_barcode-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:23.075859", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "in_words", "idx": 0, - "modified": "2023-05-22 09:53:23.075859", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-in_words-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:23.067419", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "in_words", "idx": 0, - "modified": "2023-05-22 09:53:23.067419", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-in_words-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:22.815725", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "disable_rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.815725", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-disable_rounded_total-default", - "owner": "Administrator", "property": "default", "property_type": "Text", "value": "0" }, { - "creation": "2023-05-22 09:53:22.806876", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.806876", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-rounded_total-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:22.798022", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.798022", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-rounded_total-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:22.788494", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "base_rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.788494", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-base_rounded_total-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "1" }, { - "creation": "2023-05-22 09:53:22.779077", "doc_type": "Sales Invoice", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "base_rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.779077", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice-base_rounded_total-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" diff --git a/electronic_payments/electronic_payments/custom/sales_invoice_item.json b/electronic_payments/electronic_payments/custom/sales_invoice_item.json index 23c8447..6394f9f 100644 --- a/electronic_payments/electronic_payments/custom/sales_invoice_item.json +++ b/electronic_payments/electronic_payments/custom/sales_invoice_item.json @@ -1,68 +1,47 @@ { "custom_fields": [], - "custom_perms": [], "doctype": "Sales Invoice Item", "property_setters": [ { - "creation": "2023-05-22 19:20:09.798332", "doc_type": "Sales Invoice Item", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "discount_account", "idx": 0, - "modified": "2023-05-22 19:20:09.798332", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice Item-discount_account-mandatory_depends_on", - "owner": "Administrator", "property": "mandatory_depends_on", "property_type": "Code", "value": "" }, { - "creation": "2023-05-22 19:20:09.790255", "doc_type": "Sales Invoice Item", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "discount_account", "idx": 0, - "modified": "2023-05-22 19:20:09.790255", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice Item-discount_account-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "1" }, { - "creation": "2023-05-22 09:53:25.689268", "doc_type": "Sales Invoice Item", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "target_warehouse", "idx": 0, - "modified": "2023-05-22 09:53:25.689268", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice Item-target_warehouse-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "1" }, { - "creation": "2023-05-22 09:53:25.529023", "doc_type": "Sales Invoice Item", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "barcode", "idx": 0, - "modified": "2023-05-22 09:53:25.529023", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Invoice Item-barcode-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" diff --git a/electronic_payments/electronic_payments/custom/sales_order.json b/electronic_payments/electronic_payments/custom/sales_order.json index 4186832..e87b32f 100644 --- a/electronic_payments/electronic_payments/custom/sales_order.json +++ b/electronic_payments/electronic_payments/custom/sales_order.json @@ -6,9 +6,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "creation": "2023-05-22 09:53:20.427467", "default": null, - "docstatus": 0, "dt": "Sales Order", "fetch_if_empty": 0, "fieldname": "exempt_from_sales_tax", @@ -27,15 +25,11 @@ "insert_after": "taxes_and_charges", "label": "Is customer exempted from sales tax?", "length": 0, - "modified": "2023-05-22 09:53:20.427467", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-exempt_from_sales_tax", "no_copy": 0, "non_negative": 0, - "owner": "Administrator", "permlevel": 0, - "precision": "", "print_hide": 0, "print_hide_if_no_value": 0, "read_only": 0, @@ -51,9 +45,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "creation": "2023-05-23 15:59:16.089715", "default": null, - "docstatus": 0, "dt": "Sales Order", "fetch_if_empty": 0, "fieldname": "electronic_payment_reference", @@ -72,15 +64,11 @@ "insert_after": "payment_schedule", "label": "Electronic Payment Reference", "length": 0, - "modified": "2023-05-23 15:59:16.089715", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-electronic_payment_reference", "no_copy": 0, "non_negative": 0, - "owner": "Administrator", "permlevel": 0, - "precision": "", "print_hide": 0, "print_hide_if_no_value": 0, "read_only": 0, @@ -91,197 +79,136 @@ "unique": 0 } ], - "custom_perms": [], "doctype": "Sales Order", "property_setters": [ { - "creation": "2023-05-22 19:20:09.738834", "doc_type": "Sales Order", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "payment_schedule", "idx": 0, - "modified": "2023-05-22 19:20:09.738834", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-payment_schedule-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "1" }, { - "creation": "2023-05-22 19:20:09.717964", "doc_type": "Sales Order", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "due_date", "idx": 0, - "modified": "2023-05-22 19:20:09.717964", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-due_date-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:28.822019", "doc_type": "Sales Order", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "tax_id", "idx": 0, - "modified": "2023-05-22 09:53:28.822019", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-tax_id-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:28.813702", "doc_type": "Sales Order", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "tax_id", "idx": 0, - "modified": "2023-05-22 09:53:28.813702", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-tax_id-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:25.672275", "doc_type": "Sales Order", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "scan_barcode", "idx": 0, - "modified": "2023-05-22 09:53:25.672275", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-scan_barcode-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:23.059204", "doc_type": "Sales Order", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "in_words", "idx": 0, - "modified": "2023-05-22 09:53:23.059204", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-in_words-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:23.050812", "doc_type": "Sales Order", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "in_words", "idx": 0, - "modified": "2023-05-22 09:53:23.050812", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-in_words-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:22.770219", "doc_type": "Sales Order", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "disable_rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.770219", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-disable_rounded_total-default", - "owner": "Administrator", "property": "default", "property_type": "Text", "value": "0" }, { - "creation": "2023-05-22 09:53:22.761850", "doc_type": "Sales Order", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.761850", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-rounded_total-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:22.753322", "doc_type": "Sales Order", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.753322", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-rounded_total-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" }, { - "creation": "2023-05-22 09:53:22.745033", "doc_type": "Sales Order", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "base_rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.745033", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-base_rounded_total-print_hide", - "owner": "Administrator", "property": "print_hide", "property_type": "Check", "value": "1" }, { - "creation": "2023-05-22 09:53:22.736455", "doc_type": "Sales Order", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "base_rounded_total", "idx": 0, - "modified": "2023-05-22 09:53:22.736455", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Sales Order-base_rounded_total-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "0" diff --git a/electronic_payments/electronic_payments/custom/supplier.json b/electronic_payments/electronic_payments/custom/supplier.json index b0f2617..9a23cb3 100644 --- a/electronic_payments/electronic_payments/custom/supplier.json +++ b/electronic_payments/electronic_payments/custom/supplier.json @@ -6,9 +6,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "creation": "2023-11-10 15:38:48.846022", "default": null, - "docstatus": 0, "dt": "Supplier", "fetch_if_empty": 0, "fieldname": "electronic_payments_tab", @@ -29,15 +27,11 @@ "is_virtual": 0, "label": "Electronic Payments", "length": 0, - "modified": "2023-11-10 15:38:48.846022", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Supplier-electronic_payments_tab", "no_copy": 0, "non_negative": 0, - "owner": "Administrator", "permlevel": 0, - "precision": "", "print_hide": 0, "print_hide_if_no_value": 0, "read_only": 0, @@ -54,9 +48,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "creation": "2023-11-10 15:40:22.822328", "default": null, - "docstatus": 0, "dt": "Supplier", "fetch_if_empty": 0, "fieldname": "portal_payment_method", @@ -75,18 +67,13 @@ "insert_after": "electronic_payments_tab", "is_system_generated": 0, "is_virtual": 0, - "label": "", "length": 0, - "modified": "2023-11-10 15:40:22.822328", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Supplier-portal_payment_method", "no_copy": 0, "non_negative": 0, "options": "Portal Payment Method", - "owner": "Administrator", "permlevel": 0, - "precision": "", "print_hide": 0, "print_hide_if_no_value": 0, "read_only": 0, @@ -98,37 +85,26 @@ "unique": 0 } ], - "custom_perms": [], "doctype": "Supplier", "property_setters": [ { - "creation": "2023-03-08 14:15:47.713222", "doc_type": "Supplier", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "naming_series", "idx": 0, - "modified": "2023-03-08 14:15:47.713222", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Supplier-naming_series-hidden", - "owner": "Administrator", "property": "hidden", "property_type": "Check", "value": "1" }, { - "creation": "2023-03-08 14:15:47.689058", "doc_type": "Supplier", - "docstatus": 0, "doctype_or_field": "DocField", "field_name": "naming_series", "idx": 0, - "modified": "2023-03-08 14:15:47.689058", - "modified_by": "Administrator", "module": "Electronic Payments", "name": "Supplier-naming_series-reqd", - "owner": "Administrator", "property": "reqd", "property_type": "Check", "value": "0" diff --git a/pyproject.toml b/pyproject.toml index 25ccee8..f004f52 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ repository = "https://github.com/agritheory/electronic_payments" [tool.poetry.dependencies] python = ">=3.10,<3.14" -authorizenet = "^1.1.5" +authorizenet = {git = "https://github.com/agritheory/authorizenet.git", rev = "main"} [tool.poetry.group.dev.dependencies] mypy = "^1.15.0" From 10cb4c14eece1e1ba087b199cef753977e359d97 Mon Sep 17 00:00:00 2001 From: Heather Kusmierz Date: Wed, 4 Mar 2026 16:21:27 -0500 Subject: [PATCH 2/2] chore: update poetry lock for dependency change --- .pre-commit-config.yaml | 2 +- poetry.lock | 35 ++++++++++++++++++++--------------- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index daac312..229d9bf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,7 +45,7 @@ repos: additional_dependencies: ['flake8-bugbear'] - repo: https://github.com/agritheory/test_utils - rev: v1.18.0 + rev: v1.20.2 hooks: - id: update_pre_commit_config - id: validate_frappe_project diff --git a/poetry.lock b/poetry.lock index 453fdb8..6aec7a9 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,20 +1,25 @@ -# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.0.1 and should not be changed by hand. [[package]] name = "authorizenet" -version = "1.1.6" -description = "Authorize.Net Python SDK" +version = "2.0.0" +description = "" optional = false -python-versions = "*" +python-versions = ">=3.7" groups = ["main"] -files = [ - {file = "authorizenet-1.1.6.tar.gz", hash = "sha256:1e38ec9279817c24bc986a5cc72e1299e006cb617fef933c8e6f49e752d792f4"}, -] +files = [] +develop = false [package.dependencies] -lxml = "==4.*" -PyXB-X = "*" -requests = "==2.*" +lxml = "^4.9.3" +pyxb-x = "^1.2.6.1" +requests = "^2.31.0" + +[package.source] +type = "git" +url = "https://github.com/agritheory/authorizenet.git" +reference = "main" +resolved_reference = "ea7a6bda4ac1af543c7863d8d2514ab8a17335ef" [[package]] name = "certifi" @@ -270,7 +275,7 @@ files = [ tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.11.0a6\" and extra == \"toml\""} [package.extras] -toml = ["tomli ; python_full_version <= \"3.11.0a6\""] +toml = ["tomli"] [[package]] name = "exceptiongroup" @@ -279,7 +284,7 @@ description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" groups = ["dev"] -markers = "python_version == \"3.10\"" +markers = "python_version < \"3.11\"" files = [ {file = "exceptiongroup-1.3.0-py3-none-any.whl", hash = "sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10"}, {file = "exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88"}, @@ -725,12 +730,12 @@ files = [ ] [package.extras] -brotli = ["brotli (>=1.0.9) ; platform_python_implementation == \"CPython\"", "brotlicffi (>=0.8.0) ; platform_python_implementation != \"CPython\""] +brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] h2 = ["h2 (>=4,<5)"] socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] zstd = ["zstandard (>=0.18.0)"] [metadata] lock-version = "2.1" -python-versions = "^3.10" -content-hash = "bc81137a91a1b0861c9c9e7ae4c0b2a29eb31ef34b7e8cfabad3f3d48300d314" +python-versions = ">=3.10,<3.14" +content-hash = "6e310f0ad7b4630f79113c497bd208b0cddee6562e1689c51ac6303bb310234a"