mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-14 15:11:52 +00:00
disable_rounded_total and is_pos are smallint Check fields; postgres rejects using them as bare boolean conditions in CASE WHEN / bitwise-AND, so compare explicitly against 1. No-op on MariaDB. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>