server-ux icon indicating copy to clipboard operation
server-ux copied to clipboard

[17.0][MIG] base_optional_quick_create: Migration to 17.0

Open jaydeep32 opened this issue 1 year ago • 11 comments

In Odoo17, Odoo has removed these 2 methods, _patch_method and _revert_method. According to their description here in PR 110370. They think this is only used in test cases and needs a proper use case.

So in a new update, they have removed these methods and inside test cases, they now use patch from unittest.mock. In this module, I guess we can not use that since it will confuse people since this patch method is coming from a unit test.

So, as a solution, I added again these 2 methods in the module itself.

jaydeep32 avatar Feb 05 '24 18:02 jaydeep32

Hi @jaydeep32 runbot not working

desdelinux avatar Apr 03 '24 16:04 desdelinux

/ocabot migration base_optional_quick_create

gurneyalex avatar Apr 05 '24 09:04 gurneyalex

@desdelinux could be pelase guide me how can I make runbot running. Because I am unable to understand why it is not running.

jaydeep32 avatar Apr 05 '24 13:04 jaydeep32

@desdelinux could be pelase guide me how can I make runbot running. Because I am unable to understand why it is not running.

@jaydeep32 Force your last push to try to regenerate the runbot again

desdelinux avatar Apr 05 '24 14:04 desdelinux

Hi @lmignon

Can we merge this?

suniagajose avatar Apr 11 '24 01:04 suniagajose

/ocabot migrate base_optional_quick_create

lmignon avatar Apr 11 '24 15:04 lmignon

Hi @lmignon. Your command failed:

Invalid command: migrate.

Ocabot commands

  • ocabot merge major|minor|patch|nobump
  • ocabot rebase
  • ocabot migration {MODULE_NAME}

More information

OCA-git-bot avatar Apr 11 '24 15:04 OCA-git-bot

/ocabot migration base_optional_quick_create

lmignon avatar Apr 11 '24 15:04 lmignon

@lmignon

/ocabot migration base_optional_quick_create

apparently, it didn't work

cc @desdelinux

suniagajose avatar Apr 15 '24 18:04 suniagajose

@lmignon

can you ty again, please?

thanks

suniagajose avatar Apr 23 '24 16:04 suniagajose

/ocabot migration base_optional_quick_create

lmignon avatar May 10 '24 06:05 lmignon

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

OCA-git-bot avatar May 22 '24 11:05 OCA-git-bot

This is ready @lmignon Please merged

desdelinux avatar May 23 '24 14:05 desdelinux

/ocabot merge nobump

gurneyalex avatar May 30 '24 15:05 gurneyalex

This PR looks fantastic, let's merge it! Prepared branch 17.0-ocabot-merge-pr-819-by-gurneyalex-bump-nobump, awaiting test results.

OCA-git-bot avatar May 30 '24 15:05 OCA-git-bot

@gurneyalex The merge process could not be finalized, because command oca-gen-addon-readme --if-source-changed --org-name OCA --repo-name server-ux --branch 17.0 --addons-dir /tmp/tmp0iij0pru --commit failed with output:

Both .md and .rst found for DESCRIPTION. Please remove one of /tmp/tmp0iij0pru/base_optional_quick_create/readme/DESCRIPTION.rst or /tmp/tmp0iij0pru/base_optional_quick_create/readme/DESCRIPTION.md.

OCA-git-bot avatar May 30 '24 15:05 OCA-git-bot

@jaydeep32 can you remove the readme/*.rst files? This should allow merging.

gurneyalex avatar May 31 '24 06:05 gurneyalex

/ocabot merge nobump

gurneyalex avatar Jun 28 '24 09:06 gurneyalex

This PR looks fantastic, let's merge it! Prepared branch 17.0-ocabot-merge-pr-819-by-gurneyalex-bump-nobump, awaiting test results.

OCA-git-bot avatar Jun 28 '24 09:06 OCA-git-bot

@gurneyalex The merge process could not be finalized, because command oca-gen-addon-readme --if-source-changed --org-name OCA --repo-name server-ux --branch 17.0 --addons-dir /tmp/tmptl_oc038 --commit failed with output:

Both .md and .rst found for DESCRIPTION. Please remove one of /tmp/tmptl_oc038/base_optional_quick_create/readme/DESCRIPTION.rst or /tmp/tmptl_oc038/base_optional_quick_create/readme/DESCRIPTION.md.

OCA-git-bot avatar Jun 28 '24 09:06 OCA-git-bot

hi @jaydeep32

you have a message here, it's a small fix to set as ready to merge...

can you do it? please...

regards

suniagajose avatar Jul 01 '24 21:07 suniagajose

Hello @gurneyalex I have removed these files. Sorry for the delay. I did not realize there was a message for me here.

jaydeep32 avatar Jul 10 '24 14:07 jaydeep32

/ocabot merge nobump

gurneyalex avatar Jul 19 '24 10:07 gurneyalex

On my way to merge this fine PR! Prepared branch 17.0-ocabot-merge-pr-819-by-gurneyalex-bump-nobump, awaiting test results.

OCA-git-bot avatar Jul 19 '24 10:07 OCA-git-bot

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

OCA-git-bot avatar Jul 19 '24 10:07 OCA-git-bot