Skip to content
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

[18.0][MIG] product_status: Migration to 18.0 #1796

Open
wants to merge 16 commits into
base: 18.0
Choose a base branch
from

Conversation

natuan9
Copy link

@natuan9 natuan9 commented Dec 3, 2024

Copy link
Contributor

@sebalix sebalix left a comment

Choose a reason for hiding this comment

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

LG, one remark

@classmethod
def setUpClass(cls):
super().setUpClass()
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))

As base class TestProductCommon now inherits from BaseCommon, you don't need to disable the tracking.

@natuan9 natuan9 force-pushed the 18.0-mig-product_status branch from 9aa1449 to 9912949 Compare December 11, 2024 08:29
@@ -13,7 +13,7 @@ class TestProductStatusCase(TestProductCommon):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
cls.env = cls.env(context=dict(cls.env.context))
Copy link
Contributor

Choose a reason for hiding this comment

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

That means you can remove this whole line ;)

@sebalix
Copy link
Contributor

sebalix commented Dec 24, 2024

/ocabot migration product_status

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Dec 24, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Dec 24, 2024
25 tasks
@natuan9 natuan9 force-pushed the 18.0-mig-product_status branch 2 times, most recently from bda785d to 8314dec Compare December 25, 2024 03:27
@natuan9 natuan9 force-pushed the 18.0-mig-product_status branch from 8314dec to 6eb32fb Compare December 25, 2024 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants