Skip to content

[REF] stock_quant_history: code styling - #430

Closed
petrus-v wants to merge 1 commit into
OCA:14.0from
petrus-v:14.0-ref-minor-lisibility-improvement
Closed

petrus-v wants to merge 1 commit into
OCA:14.0from
petrus-v:14.0-ref-minor-lisibility-improvement

Conversation

@petrus-v

Copy link
Copy Markdown

No description provided.

"snapshot (%s) to the current (%s)",
self.env["stock.move.line"]
.sudo()
.search_count(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Isn't a search count a bit costly just for a logger?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it cost but do not represent a very much time according the whole process. I think it's quite a value-able information while doing maintenance task that gives some feedback on what's going on... very debatable, If you prefer I let the logger without the computation?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good enough for me 😉

@bosd

bosd commented Aug 13, 2025

Copy link
Copy Markdown
Contributor

Can you please include [14.0] in the title?

@github-actions

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Dec 14, 2025
@github-actions github-actions Bot closed this Jan 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants