Skip to content

[Bug]:Batch Item unable to add more than one batch #266

@thida-bcn

Description

@thida-bcn

Issue Search Confirmation

  • I have searched existing open and closed issues and this is not a duplicate

Bug Description

at pos
we want to add more than 1 batch for each item
currently, when we choose different batch, system accepted but show only 1 line and save only 1 batch

Steps to Reproduce

  1. open pos
  2. choose item with batch, choose batch
  3. choose same item with line 2 then choose another batch
  4. save, submit
  5. check inside sales invoice (it saved only one batch)

Expected Behavior

there should be 2 batch as chosen at step 2 and 3

Actual Behavior

now save single batch

Screenshots / Screen Recordings

I will upload video

Browser Console Errors

POS Next Version

1.13.0 (Latest)

Exact Version (if known)

No response

Frappe Framework Version

develop

ERPNext Version

Frappe Framework: v15.107.5 (HEAD) ERPNext: v15.108.1 (HEAD) Marley Health: v15.1.20 (HEAD) POS Next: v1.16.0 (HEAD)

Browser

Safari

Browser Version

Version 26.5 (21624.2.5.11.4)

Operating System

Windows 11

Deployment Type

Frappe Cloud

Bug Frequency

Always (100% reproducible)

Offline Mode

No - Online mode only

Additional Context

No response

Server Logs (if applicable)

Pre-submission Checklist

  • I have provided screenshots showing the issue
  • I have included my application version information
  • I have provided clear steps to reproduce the issue
  • I have checked browser console for errors and included them if present

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions