Skip to content

Commit

Permalink
[IMP] sale_order_line_product_attribute_values: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
HeliconiaSolutions committed Feb 27, 2025
1 parent a7d2d0e commit 8b00b0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def _compute_all_product_template_attribute_value_ids(self):
and attr_l.attribute_id.create_variant == "no_variant"
):
pt_attr_values |= attr_l.product_template_value_ids.filtered(
lambda ptav: ptav.ptav_active
and ptav.product_attribute_value_id in attr_l.value_ids
lambda ptav, attr_line=attr_l: ptav.ptav_active
and ptav.product_attribute_value_id in attr_line.value_ids
)
record.all_product_template_attribute_value_ids = pt_attr_values
record.all_product_attribute_value_ids = pt_attr_values.mapped(
Expand Down
3 changes: 3 additions & 0 deletions sale_order_line_product_attribute_values/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"

0 comments on commit 8b00b0a

Please sign in to comment.