Skip to content

[18.0][FIX] pos_sale_picking_keep: Avoid crash on existing order updates#1552

Open
pedrobaeza wants to merge 1 commit into
OCA:18.0from
Tecnativa:18.0-fix-pos_sale_picking_keep-commands
Open

[18.0][FIX] pos_sale_picking_keep: Avoid crash on existing order updates#1552
pedrobaeza wants to merge 1 commit into
OCA:18.0from
Tecnativa:18.0-fix-pos_sale_picking_keep-commands

Conversation

@pedrobaeza
Copy link
Copy Markdown
Member

If you have previously sync a pos.order (for example, because you have gone to backend with an opened order), and later you do things like unlinking an existing line, you may find other kind of commands in lines dictionary like (2, <id>), making the code of this module to crash, so let's protect it properly.

@Tecnativa

If you have previously sync a `pos.order` (for example, because you have
gone to backend with an opened order), and later you do things like
unlinking an existing line, you may find other kind of commands in
`lines` dictionary like `(2, <id>)`, making the code of this module to
crash, so let's protect it properly.
@pedrobaeza pedrobaeza added this to the 18.0 milestone May 13, 2026
@OCA-git-bot OCA-git-bot added series:18.0 mod:pos_sale_picking_keep Module pos_sale_picking_keep labels May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:pos_sale_picking_keep Module pos_sale_picking_keep series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants