-
-
Notifications
You must be signed in to change notification settings - Fork 751
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
[11.0][account_move_batch_validate]. Add try..except during import of queue_job #846
[11.0][account_move_batch_validate]. Add try..except during import of queue_job #846
Conversation
a66e30f
to
bb3694d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks legit, but travis is raising an error:
account_move_batch_validate/wizard/account_move_validate.py:13:5: F401 'odoo.addons.queue_job.job.Job' imported but unused
|
||
|
||
try: | ||
from odoo.addons.queue_job.job import job, Job |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove Job
to make travis happy.
from odoo.addons.queue_job.job import job, Job | |
from odoo.addons.queue_job.job import job |
bb3694d
to
45a3275
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@grindtildeath good to go? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lreficent definitely
Otherwise anyone using this repo will need to install the queue_job, if they add the repo in their addons-path.
cc @grindtildeath @benwillig