Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
166 changes: 0 additions & 166 deletions .github/validate_customizations.py

This file was deleted.

15 changes: 5 additions & 10 deletions .github/workflows/print_format_diff.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Print Format Diff
name: Diff Print Formats

on:
pull_request:
Expand All @@ -9,14 +9,9 @@ on:
jobs:
diff_print_format:
runs-on: ubuntu-latest
name: Print Format Diff
name: Diff Print Formats
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Diff Print Formats
uses: agritheory/test_utils/actions/diff_print_format@main
with:
fetch-depth: 0

- name: Print Format Diff
uses: diamorafaela/diff-print-format@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fail_fast: false

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
files: 'check_run.*'
Expand Down Expand Up @@ -45,7 +45,7 @@ repos:
additional_dependencies: ['flake8-bugbear']

- repo: https://github.com/agritheory/test_utils
rev: v1.15.4
rev: v1.16.0
hooks:
- id: update_pre_commit_config
- id: validate_frappe_project
Expand All @@ -61,6 +61,8 @@ repos:
args: ['--app', 'check_run']
- id: track_overrides
args: ['--directory', '.', '--app', 'check_run', '--base-branch', 'version-15']
- id: check_code_duplication
args: ['--max-clones', '60', '--max-percentage', '5.0']

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1465,3 +1465,7 @@ Co-authored-by: fproldan <fproldan@users.noreply.github.com> ([`a698431`](
* look up party on PE submission to avoid renaming problems ([#67](https://github.com/agritheory/check_run/issues/67)) ([4cdf7de](https://github.com/agritheory/check_run/commit/4cdf7de5d648bcd37cb19ce67d899804f7107ad3))
* split checks by address ([f091550](https://github.com/agritheory/check_run/commit/f09155050ea8a64ee7fdb3ba8f3596eb936fd871))
* validate docstatus of selected invoices in Check Run still saved/submitted ([9bf5605](https://github.com/agritheory/check_run/commit/9bf56054041c341fc23c4cdf0a9449ca32ef8ba5))




2 changes: 2 additions & 0 deletions check_run/public/js/check_run/check_run_quick_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ frappe.provide('check_run')
frappe.provide('frappe.ui.form')

frappe.ui.form.CheckRunQuickEntryForm = class CheckRunQuickEntryForm extends frappe.ui.form.QuickEntryForm {
/* jscpd:ignore-start */
constructor(doctype, after_insert, init_callback, doc, force) {
super(doctype, after_insert, init_callback, doc, force)
}
Expand Down Expand Up @@ -75,6 +76,7 @@ frappe.ui.form.CheckRunQuickEntryForm = class CheckRunQuickEntryForm extends fra
})
}
}
/* jscpd:ignore-end */
register_primary_action() {
const me = this
this.dialog.set_primary_action(__('Start Check Run'), () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
frappe.provide('check_run')
frappe.provide('frappe.ui.form')

frappe.ui.form.CheckRunSettingsQuickEntryForm = class CheckRunQuickEntryForm extends frappe.ui.form.QuickEntryForm {
frappe.ui.form.CheckRunSettingsQuickEntryForm = class CheckRunSettingsQuickEntryForm extends (
frappe.ui.form.QuickEntryForm
) {
/* jscpd:ignore-start */
constructor(doctype, after_insert, init_callback, doc, force) {
super(doctype, after_insert, init_callback, doc, force)
}
Expand Down Expand Up @@ -75,4 +78,5 @@ frappe.ui.form.CheckRunSettingsQuickEntryForm = class CheckRunQuickEntryForm ext
})
}
}
/* jscpd:ignore-end */
}
Loading