Skip to content

Fix/negativevalue v16#348

Closed
iphenelist wants to merge 13 commits into
Aakvatech-Limited:version-15-hotfixfrom
iphenelist:fix/negativevalue_v16
Closed

Fix/negativevalue v16#348
iphenelist wants to merge 13 commits into
Aakvatech-Limited:version-15-hotfixfrom
iphenelist:fix/negativevalue_v16

Conversation

@iphenelist
Copy link
Copy Markdown
Contributor

No description provided.

Emmafidelis and others added 13 commits March 18, 2026 15:10
…hotfix-with-changes

Version 16 hotfix with changes
- Update DocType JSONs across modules (vfd, kcb, stanbic, foreign import,
  insurance, biometric/meal_count, sales & marketing, purchase & stock,
  TRA/EFD, etc.) for v16 schema
- Adjust controllers, reports, hooks, and overrides to v16 Frappe APIs
  (salary_slip, payroll, landed_cost_voucher, items_revaluation, custom_api,
  bank_api, selcom, sftp, trade_in, etc.)
- Refresh client scripts (payment_entry, payroll_entry, purchase_invoice,
  sales_invoice); drop obsolete landed_cost_voucher.js
- Add v16 cleanup patches: cleanup_invalid_v16_custom_field_links and
  remove_stale_authotp_custom_fields; update patches.txt
- Remove deprecated monkey patch db_transaction_writes and
  remove_core_doctype_custom_docperm patch
- Update pyproject.toml and hooks.py for v16 compatibility
Resolution summary:
- 178 delete/modify conflicts: kept deletions (doctypes removed during v16 migration)
- 14 trivial JSON conflicts (whitespace only): took ours
- 2 foreign_import JSON conflicts (formatting only): took ours
- bank_api.py: took theirs (after_insert path needs db.set_value to persist token)
- items_revaluation.py, payroll.py: took ours (v16-idiomatic frappe.qb refactors)
- tz_insurance_cover_note.py, vehicle_fine_record.py: took ours (blank-line only)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
chore(csf_tz): migrate app to Frappe/ERPNext version-16
…actions

ci(csf_tz): fix CI workflow and improve install behavior
- Remove the Trade In feature in full (trade_in package + custom-fields
  patch deleted; refs cleaned from hooks, custom_api, sales_invoice.js,
  modules.txt, patches.txt, CSF TZ Settings)
- Add tag-and-promote-from-pr-label.yml (parity with propms — tags
  from csf_tz/__init__.py and promotes to version-15/16/production)
- Clear all 91 pre-existing semgrep findings in custom_api.py: Any
  type hints, frappe.db.get_single_value for CSF TZ Settings, wrap
  user-facing strings with _(), .format outside _(), drop dict()
  around frappe.get_doc, nosemgrep on 3 intentional dynamic SQL sites
- csf_tz_settings.py: translatable strings, db_set for state writes,
  commits in background-job paths, drop bare except, fix f-string
  with no placeholders
- Sweep pre-existing bugs in custom_api.py: drop unused msg/space
  locals, remove duplicate "condition" and "abbr" dict keys
- setup_data: Standard (18%) Sales + Purchase tax templates seed
  with rate=18 and is_default=1 — applies real VAT on fresh installs
  and auto-fills on new invoices
…ove-trade-in-and-ci-parity

chore(v16): Remove Trade In, add CI parity, clear semgrep + lint debt
@iphenelist iphenelist closed this May 25, 2026
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

Successfully merging this pull request may close these issues.

4 participants