[17.0] [MIG] product lot sequence#1708
Conversation
| @@ -0,0 +1,28 @@ | |||
| # Copyright 2023 Camptocamp SA | |||
| # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl) | |||
| import logging | |||
There was a problem hiding this comment.
Why is the logger stuff added in a migration commit?
Is the logger needed at all?
|
Thanks, can you please squash that Into the migration commit |
1b4b157 to
adc6261
Compare
|
@bosd squash is done |
|
Thanks, but pre-commit is no longer happy |
adc6261 to
738eef7
Compare
|
@bosd, sorry for the late reply, the pre-commit is good now |
| from odoo.tests import Form | ||
| from odoo.tests.common import TransactionCase | ||
|
|
||
| _logger = logging.getLogger(__name__) |
| <xpath expr="//block[@id='production_lot_info']" position="inside"> | ||
| <div class="col-12 col-lg-6 o_setting_box"> | ||
| <div class="o_setting_right_pane"> | ||
| <label for="lot_sequence_padding" /> |
There was a problem hiding this comment.
This needs more changes, check https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-17.0
|
Thanks for the work done You are able and willing to continue the PR?. Could you rebase? If not i will do a supersede |
[ADD] sequence for serials
40f6d58 to
baec8e5
Compare
|
Hi @Tisho99, Thanks for your comments, I've rebased |
Tisho99
left a comment
There was a problem hiding this comment.
LGTM!
Code and functional review
However, the PR title should be: [17.0] [MIG] product_lot_sequence
Can you change it?
baec8e5 to
6066f1f
Compare
|
|
||
| def setUp(self): | ||
| super(TestProductLotSequence, self).setUp() | ||
| super().setUp() |
There was a problem hiding this comment.
Could you change to classmethod ?
|
/ocabot migration product_lot_sequence |
|
Could you please make the last 2 small requested changes? The migration is almost complete and it would be a shame if the PR is forgotten again Thank you! |
|
Hi @Tisho99 |
|
Hi @fredericgrall I'm not sure if you attended Denis's comments: #1708 (comment) You can improve the title of the PR, as @Tisho99 commented here: #1708 (review) THX! |
|
@Tisho99 @HaraldPanten , sorry, I've rename PR |
|
|
||
| def setUp(self): |
There was a problem hiding this comment.
| def setUp(self): | |
| @classmethod | |
| def setUpClass(self): |
There was a problem hiding this comment.
This is what rousseldenis requested, can you do it? Its for speeding up tests
6066f1f to
cc20859
Compare
|
@Tisho99, thank you for your help, I've made the correction |
cc20859 to
d2f1ba6
Compare
HaraldPanten
left a comment
There was a problem hiding this comment.
LGTM. Merging as Denis's comments have been corrected.
|
/ocabot merge nobump |
|
On my way to merge this fine PR! |
|
Congratulations, your PR was merged at 28bc245. Thanks a lot for contributing to OCA. ❤️ |
No description provided.