Skip to content

[15.0][FIX] budget_control_revision: cast revision_number as text instead of char - #598

Merged
Saran440 merged 1 commit into
15.0from
15.0-fix-budget_control_revision-change_char_to_text
Aug 3, 2026
Merged

[15.0][FIX] budget_control_revision: cast revision_number as text instead of char#598
Saran440 merged 1 commit into
15.0from
15.0-fix-budget_control_revision-change_char_to_text

Conversation

@Pani-k-folk

Copy link
Copy Markdown

::char ใน PSQL คือ character(1) ตัดเหลือตัวอักษรเดียว ทำให้ revision ≥10 ถูก filter ผิดใน _filter_by_budget_control (เช่น revision 11 ถูกอ่านเป็น 1) ส่งผลให้ amount_budget คำนวณผิดเมื่อ budget_control revision ถึงเลข 2 หลัก

@Saran440

Copy link
Copy Markdown
Collaborator

Hi @Saran440,
some modules you are maintaining are being modified, check this out!

@Pani-k-folk Pani-k-folk changed the title [FIX] budget_control_revision: cast revision_number as text instead of char [15.0][FIX] budget_control_revision: cast revision_number as text instead of char Jul 27, 2026

@Saran440 Saran440 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please forward this to v18

@Saran440

Copy link
Copy Markdown
Collaborator

/ocabot merge patch

@Saran440

Copy link
Copy Markdown
Collaborator

This PR looks fantastic, let's merge it!
Prepared branch 15.0-ocabot-merge-pr-598-by-Saran440-bump-patch, awaiting test results.

@Saran440

Copy link
Copy Markdown
Collaborator

@Saran440 your merge command was aborted due to failed check(s), which you can inspect on this commit of 15.0-ocabot-merge-pr-598-by-Saran440-bump-patch.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@Saran440
Saran440 merged commit 394697f into 15.0 Aug 3, 2026
1 check passed
@Saran440
Saran440 deleted the 15.0-fix-budget_control_revision-change_char_to_text branch August 3, 2026 14:25
@Saran440

Saran440 commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

please forward to v18 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants