[18.0][MIG] stock_account_operating_unit#857
Conversation
ce156fb to
9d0a40d
Compare
AaronHForgeFlow
left a comment
There was a problem hiding this comment.
can you put the pre-commit changes in a separate commit and then the commit for the migration? thanks.
9d0a40d to
d12bdbf
Compare
AaronHForgeFlow
left a comment
There was a problem hiding this comment.
Code review LGTM
BhaveshHeliconia
left a comment
There was a problem hiding this comment.
Please squash the commits as explained here: https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests#mergesquash-the-commits-generated-by-bots-or-weblate
d12bdbf to
3d12359
Compare
BhaveshHeliconia
left a comment
There was a problem hiding this comment.
@ManfredNelvin-Dev the commit history looks incorrect. You squashed commits that should not have been squashed.
You only need to squash bot commits, and commits for the same language and the same author, as explained here: https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests#mergesquash-the-commits-generated-by-bots-or-weblate
3d12359 to
22fd8f7
Compare
|
The commit history has been updated according to the review comments:
All checks are passing. Kindly review when convenient. |
@ManfredNelvin-Dev still not correct. |
|
I reviewed the branch history and currently have:
Could you please point me to the specific commits that should be preserved and not squashed? I would like to restore the commit history according to the OCA guidelines, but I'm not able to identify which original commits were unintentionally squashed. Thanks. |
|
@ManfredNelvin-Dev you need to remove all commits from this branch and then replay the original commit history using: git format-patch --keep-subject --stdout origin/18.0..origin/17.0 -- $module | git am -3 --keepAfter that, cherry-pick your commit from this PR and push the branch again. |
Added Test Cases. Improved code for test cases Migrated Valuation method of quants. Migrated Valuation method _account_entry_move of quants. Completed test cases and modified valuation method
Currently translated at 100.0% (3 of 3 strings) Translation: operating-unit-13.0/operating-unit-13.0-stock_account_operating_unit Translate-URL: https://translation.odoo-community.org/projects/operating-unit-13-0/operating-unit-13-0-stock_account_operating_unit/es/
FIX test-requirements
…it is not longer required
22fd8f7 to
5aaf34a
Compare
|
I removed the squashed history and replayed the original The branch has been force-pushed. Could you please review it again when convenient? Thanks. |
|
@ManfredNelvin-Dev it's still not correct. In v17 there are 67 commits: https://github.com/OCA/operating-unit/pull/673/commits |
|
I think there may be some confusion regarding the reference PR. The PR you linked (#673) is for stock_operating_unit, which was migrated to 17.0 and preserved a 67-commit history. I verified the following locally: git ls-tree -r origin/17.0 --name-only | grep "^stock_account_operating_unit/" returns no results, which indicates that stock_account_operating_unit is not present in the current 17.0 branch. Based on your earlier feedback, I replayed the complete history available for stock_account_operating_unit from 15.0 using: git format-patch --keep-subject --stdout origin/18.0..origin/15.0 -- stock_account_operating_unit | git am -3 --keep and then applied the 18.0 migration changes on top. If there is another branch or commit history for stock_account_operating_unit that should be preserved instead, could you please point me to it? I'm happy to replay the exact history once I know the expected source. Thanks. |
Migration of stock_account_operating_unit from Odoo 15.0 to 18.0.