Skip to content
Snippets Groups Projects
Commit 684215a0 authored by pedrambiria's avatar pedrambiria
Browse files

[FIX] point_of_sale: prevent JSON modification in `init_from_JSON`


Before this commit: after calling the `init_from_JSON` of the order line,
the `pack_lot_ids` would be changed. It will cause a problem if this
function is called before sending the JSON to the backend or saving it.

The solution is to copy its value and prevent it from changing.

opw-3088922

closes odoo/odoo#108214

Signed-off-by: default avatarTrinh Jacky (trj) <trj@odoo.com>
parent fbf6f6e1
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment