Skip to content

Commit

Permalink
[FIX] pos_product_pack: pack_line_id should be loaded at initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
apineux committed Feb 3, 2023
1 parent fe4148c commit 0de10e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pos_product_pack/static/src/js/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ odoo.define("pos_product_pack.models", function (require) {
json.pack_parent_line_id
);
}
if (json.pack_line_id) {
this.pack_line_id = this.pos.product_pack_line_by_id[json.pack_line_id];
}
if (json.pack_child_line_ids) {
var pack_child_line_ids = json.pack_child_line_ids;
this.pack_child_line_ids = [];
Expand Down

0 comments on commit 0de10e2

Please sign in to comment.