We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 023f994 commit 8c5d442Copy full SHA for 8c5d442
stock_barcodes/wizard/stock_barcodes_read.py
@@ -618,7 +618,7 @@ def action_create_package(self):
618
619
def action_clean_values(self):
620
options = self.option_group_id.option_ids
621
- options_to_clean = options.filtered("clean_after_done")
+ options_to_clean = options.filtered(lambda op: op.clean_after_done and op.field_name in self)
622
for option in options_to_clean:
623
if option.field_name == "result_package_id" and self.keep_result_package:
624
continue
0 commit comments