Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][FIX] stock_weighing: Stock move operations button is shown when all detailed operations already displayed #15

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions stock_weighing/models/stock_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@
**ast.literal_eval(action["context"]),
weight_operation_details=True
)
# Clean context key show_weight_detail_buttons if any module add it
action["context"].pop("show_weight_detail_buttons", None)

Check warning on line 227 in stock_weighing/models/stock_move.py

View check run for this annotation

Codecov / codecov/patch

stock_weighing/models/stock_move.py#L227

Added line #L227 was not covered by tests
return action

def action_print_weight_record_label(self):
Expand Down
Loading