Skip to content

Conversation

@nilshamerlinck
Copy link
Contributor

Could save time in cases such as #262 :)

@OCA-git-bot
Copy link
Contributor

Hi @guewen,
some modules you are maintaining are being modified, check this out!

@nilshamerlinck nilshamerlinck changed the title [ADD] check that queue_job_notify trigger exists [13.0][IMP] queue_job: check that queue_job_notify trigger exists in db Oct 18, 2020
("queue_job", "queue_job_notify"),
)
if cr.fetchone()[0] != 3: # INSERT, DELETE, UPDATE
_logger.debug(
Copy link
Member

Choose a reason for hiding this comment

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

Since having the module installed without the trigger is never normal, should we log with warn or error level?

Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch.... IMO we should log with error level.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

makes sense! fixed

Copy link
Member

@guewen guewen left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@sbidoul sbidoul left a comment

Choose a reason for hiding this comment

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

LGTM. Good idea, thanks!

@sbidoul
Copy link
Member

sbidoul commented Oct 22, 2020

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 13.0-ocabot-merge-pr-264-by-sbidoul-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit c83cafc into OCA:13.0 Oct 22, 2020
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 35fbf96. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants