Skip to content

[16.0][IMP] purchase_work_acceptance_portal: add show all button to WA inbox#686

Open
madara1150 wants to merge 1 commit into16.0from
16.0-imp-purchase_work_acceptance_portal-show-all-inbox
Open

[16.0][IMP] purchase_work_acceptance_portal: add show all button to WA inbox#686
madara1150 wants to merge 1 commit into16.0from
16.0-imp-purchase_work_acceptance_portal-show-all-inbox

Conversation

@madara1150
Copy link
Copy Markdown
Collaborator

Summary

  • เพิ่มปุ่ม "เปิดทั้งหมด" ใน WA inbox systray เพื่อแสดง WA ทั้งหมด (รวมที่อ่านแล้ว) กรณีผู้ใช้กด "อ่านทั้งหมด" โดยไม่ตั้งใจ
  • เมื่ออยู่ในโหมดแสดงทั้งหมด จะแสดงปุ่ม "เฉพาะยังไม่อ่าน" เพื่อกลับไปแสดงเฉพาะรายการที่ยังไม่ได้อ่าน
  • เพิ่ม method get_wa_inbox_all ใน res.users สำหรับดึง inbox entries ทั้งหมดโดยไม่กรอง is_read

Test plan

  • เปิด systray dropdown → เห็นรายการ WA ที่ยังไม่อ่าน
  • กด "อ่านทั้งหมด" → รายการหายไป
  • กด "เปิดทั้งหมด" → แสดง WA ทั้งหมดกลับมา (รวมที่อ่านแล้ว)
  • กด "เฉพาะยังไม่อ่าน" → กลับไปแสดงเฉพาะรายการที่ยังไม่ได้อ่าน

@madara1150 madara1150 added the status/ready-for-review Status: Issue is up for grabs label Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/ready-for-review Status: Issue is up for grabs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant